com.aspose.slides
Class BehaviorsEx

java.lang.Object
  extended by com.aspose.slides.BehaviorsEx
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public class BehaviorsEx
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable

Represents collection of behavior effects.


Method Summary
 int add(BehaviorEx item)
           Add new behavior to a collection.
 void clear()
           Removes all behaviors from a collection.
 BehaviorEx get_Item(int index)
           Retirns a behavior at the specified index.
 int getCount()
           Returns the number of behaviors in a collection.
 void insert(int index, BehaviorEx item)
           Inserts new behavior to a collection at the specified index.
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an iterator for the entire collection.
 void remove(BehaviorEx item)
           Removes specified behavior from a collection.
 void removeAt(int index)
           Removes behavior from a collection at the specified index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()

Returns the number of behaviors in a collection.


add

public int add(BehaviorEx item)

Add new behavior to a collection.

Parameters:
item - Behavior to add.
Returns:
Index of a new behavior in a collection.

insert

public void insert(int index,
                   BehaviorEx item)

Inserts new behavior to a collection at the specified index.

Parameters:
index - Index where new behavior should be inserted.
item - Behavior to insert.

remove

public void remove(BehaviorEx item)

Removes specified behavior from a collection.

Parameters:
item - Behavior to remove.

removeAt

public void removeAt(int index)

Removes behavior from a collection at the specified index.

Parameters:
index - Index of a behavior to remove.

clear

public void clear()

Removes all behaviors from a collection.


get_Item

public BehaviorEx get_Item(int index)

Retirns a behavior at the specified index.

Parameters:
index - Index of a behavior to return.
Returns:
Animation begavior.

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an iterator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable
Returns:
Iterator.