ITiming
public interface ITiming
Represents animation timing.
Methods
| Method | Description | 
|---|---|
| getAccelerate() | Describes the percentage of duration accelerate behavior effect. | 
| setAccelerate(float value) | Describes the percentage of duration accelerate behavior effect. | 
| getDecelerate() | Describes the percentage of duration decelerate behavior effect. | 
| setDecelerate(float value) | Describes the percentage of duration decelerate behavior effect. | 
| getAutoReverse() | Describes whether to automatically play the animation in reverse after playing it in the forward direction. | 
| setAutoReverse(boolean value) | Describes whether to automatically play the animation in reverse after playing it in the forward direction. | 
| getDuration() | Describes the duration of animation effect. | 
| setDuration(float value) | Describes the duration of animation effect. | 
| getRepeatCount() | Describes the number of times the effect should repeat. | 
| setRepeatCount(float value) | Describes the number of times the effect should repeat. | 
| getRepeatUntilEndSlide() | This attribute specifies if the effect will repeat until the end of the slide. | 
| setRepeatUntilEndSlide(boolean value) | This attribute specifies if the effect will repeat until the end of the slide. | 
| getRepeatUntilNextClick() | This attribute specifies if the effect will repeat until the next click. | 
| setRepeatUntilNextClick(boolean value) | This attribute specifies if the effect will repeat until the next click. | 
| getRepeatDuration() | Describes the number of times the effect should repeat. | 
| setRepeatDuration(float value) | Describes the number of times the effect should repeat. | 
| getRestart() | Specifies if a effect is to restart after complete. | 
| setRestart(int value) | Specifies if a effect is to restart after complete. | 
| getSpeed() | Specifies the percentage by which to speed up (or slow down) the timing. | 
| setSpeed(float value) | Specifies the percentage by which to speed up (or slow down) the timing. | 
| getTriggerDelayTime() | Describes delay time after trigger. | 
| setTriggerDelayTime(float value) | Describes delay time after trigger. | 
| getTriggerType() | Describes trigger type. | 
| setTriggerType(int value) | Describes trigger type. | 
| getRewind() | This attribute specifies if the effect will rewind when done playing. | 
| setRewind(boolean value) | This attribute specifies if the effect will rewind when done playing. | 
getAccelerate()
public abstract float getAccelerate()
Describes the percentage of duration accelerate behavior effect. Read/write float.
Returns: float
setAccelerate(float value)
public abstract void setAccelerate(float value)
Describes the percentage of duration accelerate behavior effect. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getDecelerate()
public abstract float getDecelerate()
Describes the percentage of duration decelerate behavior effect. Read/write float.
Returns: float
setDecelerate(float value)
public abstract void setDecelerate(float value)
Describes the percentage of duration decelerate behavior effect. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getAutoReverse()
public abstract boolean getAutoReverse()
Describes whether to automatically play the animation in reverse after playing it in the forward direction. Read/write boolean.
Returns: boolean
setAutoReverse(boolean value)
public abstract void setAutoReverse(boolean value)
Describes whether to automatically play the animation in reverse after playing it in the forward direction. Read/write boolean.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | boolean | 
getDuration()
public abstract float getDuration()
Describes the duration of animation effect. Read/write float.
Returns: float
setDuration(float value)
public abstract void setDuration(float value)
Describes the duration of animation effect. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getRepeatCount()
public abstract float getRepeatCount()
Describes the number of times the effect should repeat. Read/write float.
Returns: float
setRepeatCount(float value)
public abstract void setRepeatCount(float value)
Describes the number of times the effect should repeat. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getRepeatUntilEndSlide()
public abstract boolean getRepeatUntilEndSlide()
This attribute specifies if the effect will repeat until the end of the slide. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until End of Slide" effect.getTiming().setRepeatUntilEndSlide(true); } finally { if (presentation != null) presentation.dispose(); }
Returns: boolean
setRepeatUntilEndSlide(boolean value)
public abstract void setRepeatUntilEndSlide(boolean value)
This attribute specifies if the effect will repeat until the end of the slide. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until End of Slide" effect.getTiming().setRepeatUntilEndSlide(true); } finally { if (presentation != null) presentation.dispose(); }
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | boolean | 
getRepeatUntilNextClick()
public abstract boolean getRepeatUntilNextClick()
This attribute specifies if the effect will repeat until the next click. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until Next Click" effect.getTiming().setRepeatUntilNextClick(true); } finally { if (presentation != null) presentation.dispose(); }
Returns: boolean
setRepeatUntilNextClick(boolean value)
public abstract void setRepeatUntilNextClick(boolean value)
This attribute specifies if the effect will repeat until the next click. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until Next Click" effect.getTiming().setRepeatUntilNextClick(true); } finally { if (presentation != null) presentation.dispose(); }
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | boolean | 
getRepeatDuration()
public abstract float getRepeatDuration()
Describes the number of times the effect should repeat. Read/write float.
Returns: float
setRepeatDuration(float value)
public abstract void setRepeatDuration(float value)
Describes the number of times the effect should repeat. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getRestart()
public abstract int getRestart()
Specifies if a effect is to restart after complete. Read/write EffectRestartType.
Returns: int
setRestart(int value)
public abstract void setRestart(int value)
Specifies if a effect is to restart after complete. Read/write EffectRestartType.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
getSpeed()
public abstract float getSpeed()
Specifies the percentage by which to speed up (or slow down) the timing. Read/write float.
Returns: float
setSpeed(float value)
public abstract void setSpeed(float value)
Specifies the percentage by which to speed up (or slow down) the timing. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getTriggerDelayTime()
public abstract float getTriggerDelayTime()
Describes delay time after trigger. Read/write float.
Returns: float
setTriggerDelayTime(float value)
public abstract void setTriggerDelayTime(float value)
Describes delay time after trigger. Read/write float.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | float | 
getTriggerType()
public abstract int getTriggerType()
Describes trigger type. Read/write EffectTriggerType.
Returns: int
setTriggerType(int value)
public abstract void setTriggerType(int value)
Describes trigger type. Read/write EffectTriggerType.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
getRewind()
public abstract boolean getRewind()
This attribute specifies if the effect will rewind when done playing. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Turn the effect Timing/Rewind on. effect.getTiming().setRewind(true); } finally { if (presentation != null) presentation.dispose(); }
Returns: boolean
setRewind(boolean value)
public abstract void setRewind(boolean value)
This attribute specifies if the effect will rewind when done playing. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Turn the effect Timing/Rewind on. effect.getTiming().setRewind(true); } finally { if (presentation != null) presentation.dispose(); }
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | boolean |