com.aspose.slides.pptx.animation
Class SequenceEx

java.lang.Object
  extended by com.aspose.slides.pptx.animation.SequenceEx
All Implemented Interfaces:
java.lang.Iterable<EffectEx>

public class SequenceEx
extends java.lang.Object
implements java.lang.Iterable<EffectEx>

Collection of animation effects.


Method Summary
 EffectEx addEffect(ShapeEx shape, EffectTypeEx effectType, EffectSubtypeEx subtype, EffectTriggerTypeEx triggerType)
          Add new animation effect at the end of a sequence.
 void clear()
          Removes all animation effects from a collection.
 EffectEx get(int index)
          Returns the animation effect at the specified index.
 int getCount(ShapeEx shape)
          Returns the number of animation effects attached to the specified shape.
 java.util.ArrayList<EffectEx> getEffectsByShape(ShapeEx shape)
          Returns array of all effects which attached to the specified shape.
 java.util.ArrayList<EffectEx> getEffectsByShapeId(int shapeId)
          Returns array of effects by specify shape id.
 ShapeEx getTriggerShape()
          Returns the shape target for the INTERACTIVE sequence.
 java.util.Iterator<EffectEx> iterator()
          Returns an iterator for the entire collection.
 void remove(EffectEx item)
          Removes specified animation effect from a collection.
 void removeAt(int index)
          Removes an animation effect from a collection at the specified index.
 void removeByShape(ShapeEx shape)
          Removes all effect which attached to the specified shape.
 void setTriggerShape(ShapeEx value)
          Sets the shape target for the INTERACTIVE sequence.
 int size()
          Returns the number of animation effects in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Returns the number of animation effects in a collection.


remove

public void remove(EffectEx item)
Removes specified animation effect from a collection.


removeAt

public void removeAt(int index)
Removes an animation effect from a collection at the specified index.


clear

public void clear()
Removes all animation effects from a collection.


get

public EffectEx get(int index)
Returns the animation effect at the specified index.


iterator

public java.util.Iterator<EffectEx> iterator()
Returns an iterator for the entire collection.

Specified by:
iterator in interface java.lang.Iterable<EffectEx>

getTriggerShape

public ShapeEx getTriggerShape()
Returns the shape target for the INTERACTIVE sequence. Returns null in case the sequence is not INTERACTIVE.


setTriggerShape

public void setTriggerShape(ShapeEx value)
Sets the shape target for the INTERACTIVE sequence.


removeByShape

public void removeByShape(ShapeEx shape)
Removes all effect which attached to the specified shape.


getEffectsByShape

public java.util.ArrayList<EffectEx> getEffectsByShape(ShapeEx shape)
Returns array of all effects which attached to the specified shape.


getEffectsByShapeId

public java.util.ArrayList<EffectEx> getEffectsByShapeId(int shapeId)
Returns array of effects by specify shape id.


getCount

public int getCount(ShapeEx shape)
Returns the number of animation effects attached to the specified shape.


addEffect

public EffectEx addEffect(ShapeEx shape,
                          EffectTypeEx effectType,
                          EffectSubtypeEx subtype,
                          EffectTriggerTypeEx triggerType)
Add new animation effect at the end of a sequence.