com.aspose.slides.pptx.animation
Class AnimBehaviorsEx

java.lang.Object
  extended by com.aspose.slides.pptx.animation.AnimBehaviorsEx

public class AnimBehaviorsEx
extends java.lang.Object

Collection of animation behaviors.


Method Summary
 int add(AnimBehaviorEx item)
          Adds new animation behavior at the end of the collection.
 void clear()
          Removes all of the animation behaviors from the collection.
 AnimBehaviorEx get(int index)
          Returns the animation behavior at the specified position in the collection.
 void insert(int index, AnimBehaviorEx item)
          Inserts the animation behavior at the specified position in the collection.
 java.util.Iterator iterator()
          Returns an iterator over the animation behaviors in the collection.
 void remove(AnimBehaviorEx item)
          Removes the first occurrence of the animation behavior in the collection.
 void removeAt(int index)
          Removes the animation behavior at the specified position in the collection.
 int size()
          Returns the number of animation behaviors in the 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 behaviors in the collection.


add

public int add(AnimBehaviorEx item)
Adds new animation behavior at the end of the collection.

Parameters:
item - the animation behavior to be added at the end of the collection.
Returns:
The index at which the animation behavior has been added.

insert

public void insert(int index,
                   AnimBehaviorEx item)
Inserts the animation behavior at the specified position in the collection.

Parameters:
index - index at which the animation behavior is to be inserted.
item - animation behavior to be inserted.

remove

public void remove(AnimBehaviorEx item)
Removes the first occurrence of the animation behavior in the collection. If the collection does not contain the animation behavior, it is unchanged.

Parameters:
item - animation behavior to be removed from the collection, if present.

removeAt

public void removeAt(int index)
Removes the animation behavior at the specified position in the collection.

Parameters:
index - the index of the animation behavior to be removed.

clear

public void clear()
Removes all of the animation behaviors from the collection.


get

public AnimBehaviorEx get(int index)
Returns the animation behavior at the specified position in the collection.

Parameters:
index - index of animation behavior to return.
Returns:
animation behavior at the specified index.

iterator

public java.util.Iterator iterator()
Returns an iterator over the animation behaviors in the collection.

Returns:
an iterator over the animation behaviors in the collection.