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 ISlideShowTransitionpublic final void setSound(IAudio value)
Returns or sets the embedded audio data.
Read/write IAudio.
setSound in interface ISlideShowTransitionpublic final int getSoundMode()
Set or returns sound mode for slide transition.
Read/write TransitionSoundMode.
getSoundMode in interface ISlideShowTransitionpublic final void setSoundMode(int value)
Set or returns sound mode for slide transition.
Read/write TransitionSoundMode.
setSoundMode in interface ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic final ITransitionValueBase getValue()
Slide show transition value.
Read-only ITransitionValueBase.
getValue in interface ISlideShowTransitionpublic final int getType()
Type of transition.
Read/write TransitionType.
getType in interface ISlideShowTransitionpublic final void setType(int value)
Type of transition.
Read/write TransitionType.
setType in interface ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionpublic 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 ISlideShowTransitionPptxException - 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 ISlideShowTransitionPptxException - 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.Objectobj - 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.Objectpublic final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.