public class SlideShowTransition extends java.lang.Object implements ISlideShowTransition
Represents slide show transition.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the two SlideShowTransition instances are equal.
|
long |
getAdvanceAfterTime()
Specifies the time, in milliseconds, after which the transition should start.
|
boolean |
getAdvanceOnClick()
Specifies whether a mouse click will advance the slide or not.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IAudio |
getSound()
Returns or sets the embedded audio data.
|
boolean |
getSoundIsBuiltIn()
Specifies whether or not this sound is a built-in sound.
|
boolean |
getSoundLoop()
This attribute specifies if the sound will loop until the next sound event occurs in
slideshow.
|
int |
getSoundMode()
Set or returns sound mode for slide transition.
|
java.lang.String |
getSoundName()
Specifies a human readable name for the sound of the transition.
|
int |
getSpeed()
Specifies the transition speed that is to be used when transitioning from the current slide
to the next.
|
int |
getType()
Type of transition.
|
ITransitionValueBase |
getValue()
Slide show transition value.
|
int |
hashCode()
Serves as a hash function for a particular type, suitable for use
in hashing algorithms and data structures like a hash table.
|
void |
setAdvanceAfterTime(long value)
Specifies the time, in milliseconds, after which the transition should start.
|
void |
setAdvanceOnClick(boolean value)
Specifies whether a mouse click will advance the slide or not.
|
void |
setSound(IAudio value)
Returns or sets the embedded audio data.
|
void |
setSoundIsBuiltIn(boolean value)
Specifies whether or not this sound is a built-in sound.
|
void |
setSoundLoop(boolean value)
This attribute specifies if the sound will loop until the next sound event occurs in
slideshow.
|
void |
setSoundMode(int value)
Set or returns sound mode for slide transition.
|
void |
setSoundName(java.lang.String value)
Specifies a human readable name for the sound of the transition.
|
void |
setSpeed(int value)
Specifies the transition speed that is to be used when transitioning from the current slide
to the next.
|
void |
setType(int value)
Type of transition.
|
public final IAudio getSound()
Returns or sets the embedded audio data.
Read/write IAudio
.
getSound
in interface ISlideShowTransition
public final void setSound(IAudio value)
Returns or sets the embedded audio data.
Read/write IAudio
.
setSound
in interface ISlideShowTransition
public final int getSoundMode()
Set or returns sound mode for slide transition.
Read/write TransitionSoundMode
.
getSoundMode
in interface ISlideShowTransition
public final void setSoundMode(int value)
Set or returns sound mode for slide transition.
Read/write TransitionSoundMode
.
setSoundMode
in interface ISlideShowTransition
public final boolean getSoundLoop()
This attribute specifies if the sound will loop until the next sound event occurs in
slideshow.
Read/write boolean
.
getSoundLoop
in interface ISlideShowTransition
public final void setSoundLoop(boolean value)
This attribute specifies if the sound will loop until the next sound event occurs in
slideshow.
Read/write boolean
.
setSoundLoop
in interface ISlideShowTransition
public final boolean getAdvanceOnClick()
Specifies whether a mouse click will advance the slide or not. If this attribute is not
specified then a value of true is assumed.
Read/write boolean
.
getAdvanceOnClick
in interface ISlideShowTransition
public final void setAdvanceOnClick(boolean value)
Specifies whether a mouse click will advance the slide or not. If this attribute is not
specified then a value of true is assumed.
Read/write boolean
.
setAdvanceOnClick
in interface ISlideShowTransition
public final long getAdvanceAfterTime()
Specifies the time, in milliseconds, after which the transition should start. This setting
may be used in conjunction with the advClick attribute. If this attribute is not specified
then it is assumed that no auto-advance will occur.
Read/write long
.
getAdvanceAfterTime
in interface ISlideShowTransition
public final void setAdvanceAfterTime(long value)
Specifies the time, in milliseconds, after which the transition should start. This setting
may be used in conjunction with the advClick attribute. If this attribute is not specified
then it is assumed that no auto-advance will occur.
Read/write long
.
setAdvanceAfterTime
in interface ISlideShowTransition
public final int getSpeed()
Specifies the transition speed that is to be used when transitioning from the current slide
to the next.
Read/write TransitionSpeed
.
getSpeed
in interface ISlideShowTransition
public final void setSpeed(int value)
Specifies the transition speed that is to be used when transitioning from the current slide
to the next.
Read/write TransitionSpeed
.
setSpeed
in interface ISlideShowTransition
public final ITransitionValueBase getValue()
Slide show transition value.
Read-only ITransitionValueBase
.
getValue
in interface ISlideShowTransition
public final int getType()
Type of transition.
Read/write TransitionType
.
getType
in interface ISlideShowTransition
public final void setType(int value)
Type of transition.
Read/write TransitionType
.
setType
in interface ISlideShowTransition
public final boolean getSoundIsBuiltIn()
Specifies whether or not this sound is a built-in sound. If this attribute is set to true then
the generating application is alerted to check the name attribute specified for this sound
in it's list of built-in sounds and can then surface a custom name or UI as needed.
Read-write boolean
.
getSoundIsBuiltIn
in interface ISlideShowTransition
public final void setSoundIsBuiltIn(boolean value)
Specifies whether or not this sound is a built-in sound. If this attribute is set to true then
the generating application is alerted to check the name attribute specified for this sound
in it's list of built-in sounds and can then surface a custom name or UI as needed.
Read-write boolean
.
setSoundIsBuiltIn
in interface ISlideShowTransition
public final java.lang.String getSoundName()
Specifies a human readable name for the sound of the transition. The Sound
(getSound()
/setSound(IAudio)
) property must be assigned to get or set the sound name.
Read-write String
.
getSoundName
in interface ISlideShowTransition
PptxException
- When Sound
(getSound()
/setSound(IAudio)
) property is not assigned.
public final void setSoundName(java.lang.String value)
Specifies a human readable name for the sound of the transition. The Sound
(getSound()
/setSound(IAudio)
) property must be assigned to get or set the sound name.
Read-write String
.
setSoundName
in interface ISlideShowTransition
PptxException
- When Sound
(getSound()
/setSound(IAudio)
) property is not assigned.
public boolean equals(java.lang.Object obj)
Determines whether the two SlideShowTransition instances are equal.
Read/write boolean
.
equals
in class java.lang.Object
obj
- The SlideShowTransition to compare with the current SlideShowTransition.<b>true</b>
if the specified SlideShowTransition is equal to the current SlideShowTransition; otherwise, <b>false</b>
.public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
hashCode
in class java.lang.Object
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.