com.aspose.slides
Class SlideShowTransition

java.lang.Object
  extended by com.aspose.slides.SlideShowTransition
All Implemented Interfaces:
ISlideShowTransition

public class SlideShowTransition
extends java.lang.Object
implements ISlideShowTransition

Represents slide show transition.


Method Summary
 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.
 boolean getBuiltInSound()
          Deprecated. 
 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 setBuiltInSound(boolean value)
          Deprecated. 
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSound

public IAudio getSound()

Returns or sets the embedded audio data. Read/write IAudio.

Specified by:
getSound in interface ISlideShowTransition

setSound

public void setSound(IAudio value)

Returns or sets the embedded audio data. Read/write IAudio.

Specified by:
setSound in interface ISlideShowTransition

getSoundMode

public int getSoundMode()

Set or returns sound mode for slide transition. Read/write TransitionSoundMode.

Specified by:
getSoundMode in interface ISlideShowTransition

setSoundMode

public void setSoundMode(int value)

Set or returns sound mode for slide transition. Read/write TransitionSoundMode.

Specified by:
setSoundMode in interface ISlideShowTransition

getBuiltInSound

@Deprecated
public boolean getBuiltInSound()
Deprecated. 

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.


setBuiltInSound

@Deprecated
public void setBuiltInSound(boolean value)
Deprecated. 

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.


getSoundLoop

public boolean getSoundLoop()

This attribute specifies if the sound will loop until the next sound event occurs in slideshow. Read/write boolean.

Specified by:
getSoundLoop in interface ISlideShowTransition

setSoundLoop

public void setSoundLoop(boolean value)

This attribute specifies if the sound will loop until the next sound event occurs in slideshow. Read/write boolean.

Specified by:
setSoundLoop in interface ISlideShowTransition

getAdvanceOnClick

public 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.

Specified by:
getAdvanceOnClick in interface ISlideShowTransition

setAdvanceOnClick

public 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.

Specified by:
setAdvanceOnClick in interface ISlideShowTransition

getAdvanceAfterTime

public 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.

Specified by:
getAdvanceAfterTime in interface ISlideShowTransition

setAdvanceAfterTime

public 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.

Specified by:
setAdvanceAfterTime in interface ISlideShowTransition

getSpeed

public int getSpeed()

Specifies the transition speed that is to be used when transitioning from the current slide to the next. Read/write TransitionSpeed.

Specified by:
getSpeed in interface ISlideShowTransition

setSpeed

public 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.

Specified by:
setSpeed in interface ISlideShowTransition

getValue

public ITransitionValueBase getValue()

Slide show transition value. Read-only ITransitionValueBase.

Specified by:
getValue in interface ISlideShowTransition

getType

public int getType()

Type of transition. Read/write TransitionType.

Specified by:
getType in interface ISlideShowTransition

setType

public void setType(int value)

Type of transition. Read/write TransitionType.

Specified by:
setType in interface ISlideShowTransition

getSoundIsBuiltIn

public 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.

Specified by:
getSoundIsBuiltIn in interface ISlideShowTransition

setSoundIsBuiltIn

public 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.

Specified by:
setSoundIsBuiltIn in interface ISlideShowTransition

getSoundName

public java.lang.String getSoundName()

Specifies a human readable name for the sound of the transition. The Sound property must be assigned to get or set the sound name. Read-write String.

Specified by:
getSoundName in interface ISlideShowTransition
Throws:
PptxException - When Sound property is not assigned.


This name appears in the PowerPoint user interface when configuring the transition sound manually.


setSoundName

public void setSoundName(java.lang.String value)

Specifies a human readable name for the sound of the transition. The Sound property must be assigned to get or set the sound name. Read-write String.

Specified by:
setSoundName in interface ISlideShowTransition
Throws:
PptxException - When Sound property is not assigned.


This name appears in the PowerPoint user interface when configuring the transition sound manually.


equals

public boolean equals(java.lang.Object obj)

Determines whether the two SlideShowTransition instances are equal. Read/write boolean.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The SlideShowTransition to compare with the current SlideShowTransition.
Returns:
<b>true</b> if the specified SlideShowTransition is equal to the current SlideShowTransition; otherwise, <b>false</b>.

hashCode

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.

Overrides:
hashCode in class java.lang.Object
Returns:
23454


Overriden to make compiler happy. Always returns constant because object is mutable.


getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.