BehaviorCollection
BehaviorCollection class
Represents collection of behavior effects.
add
| Name | Description |
|---|
| add (MotionEffect) | Add new behavior to a collection. |
Parameters:
add
| Name | Description |
|---|
| add (ColorEffect) | Add new behavior to a collection. |
Parameters:
add
| Name | Description |
|---|
| add (ScaleEffect) | Add new behavior to a collection. |
Parameters:
add
| Name | Description |
|---|
| add (FilterEffect) | Add new behavior to a collection. |
Parameters:
add
| Name | Description |
|---|
| add (CommandEffect) | Add new behavior to a collection. |
Parameters:
add
| Name | Description |
|---|
| add (SetEffect) | Add new behavior to a collection. |
Parameters:
| Name | Type | Description |
|---|
| item | SetEffect | Behavior to add. |
add
| Name | Description |
|---|
| add (Behavior) | Add new behavior to a collection. |
Parameters:
| Name | Type | Description |
|---|
| item | Behavior | Behavior to add. |
add
Parameters:
clear
| Name | Description |
|---|
| clear () | Removes all behaviors from a collection. |
contains
| Name | Description |
|---|
| contains (MotionEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | MotionEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (ColorEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | ColorEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (ScaleEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | ScaleEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (FilterEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | FilterEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (CommandEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | CommandEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (SetEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | SetEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (Behavior) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | Behavior | The object to locate in the IGenericCollection. |
Returns:
boolean
contains
| Name | Description |
|---|
| contains (RotationEffect) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|
| item | RotationEffect | The object to locate in the IGenericCollection. |
Returns:
boolean
copyTo
| Name | Description |
|---|
| copyTo (com.aspose.slides.IBehavior[], int) | Copies the elements of the IGenericCollection to an Array, starting at a particular Array index. |
Parameters:
| Name | Type | Description |
|---|
| array | com.aspose.slides.IBehavior[] | The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing. |
| arrayIndex | int | The zero-based index in array at which copying begins. |
Error
| Error | Condition |
|---|
| com.aspose.ms.System.ArgumentException | The number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array. |
getCount
| Name | Description |
|---|
| getCount () | Returns the number of behaviors in a collection. Read-only int. |
Returns:
int
get_Item
| Name | Description |
|---|
| get_Item (int) | Returns a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
Returns:
MotionEffect, ColorEffect, ScaleEffect, FilterEffect, CommandEffect, SetEffect, Behavior, RotationEffect
indexOf
| Name | Description |
|---|
| indexOf (MotionEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | MotionEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (ColorEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | ColorEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (ScaleEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | ScaleEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (FilterEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | FilterEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (CommandEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | CommandEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (SetEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | SetEffect | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (Behavior) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | Behavior | The object to locate in the List. |
Returns:
int
indexOf
| Name | Description |
|---|
| indexOf (RotationEffect) | Determines the index of a specific item in the List. |
Parameters:
| Name | Type | Description |
|---|
| item | RotationEffect | The object to locate in the List. |
Returns:
int
insert
| Name | Description |
|---|
| insert (int, MotionEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | MotionEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, ColorEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | ColorEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, ScaleEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | ScaleEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, FilterEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | FilterEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, CommandEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | CommandEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, SetEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | SetEffect | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, Behavior) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | Behavior | Behavior to insert. |
insert
| Name | Description |
|---|
| insert (int, RotationEffect) | Inserts new behavior to a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index where new behavior should be inserted. |
| item | RotationEffect | Behavior to insert. |
isReadOnly
| Name | Description |
|---|
| isReadOnly () | Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean. |
Returns:
boolean
iterator
| Name | Description |
|---|
| iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
| Name | Description |
|---|
| iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
remove
| Name | Description |
|---|
| remove (MotionEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
remove
| Name | Description |
|---|
| remove (ColorEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
remove
| Name | Description |
|---|
| remove (ScaleEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
remove
| Name | Description |
|---|
| remove (FilterEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
remove
| Name | Description |
|---|
| remove (CommandEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
remove
| Name | Description |
|---|
| remove (SetEffect) | Removes specified behavior from a collection. |
Parameters:
| Name | Type | Description |
|---|
| item | SetEffect | Behavior to remove. |
Returns:
boolean
remove
| Name | Description |
|---|
| remove (Behavior) | Removes specified behavior from a collection. |
Parameters:
| Name | Type | Description |
|---|
| item | Behavior | Behavior to remove. |
Returns:
boolean
remove
| Name | Description |
|---|
| remove (RotationEffect) | Removes specified behavior from a collection. |
Parameters:
Returns:
boolean
removeAt
| Name | Description |
|---|
| removeAt (int) | Removes behavior from a collection at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to remove. |
set_Item
| Name | Description |
|---|
| set_Item (int, MotionEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, ColorEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, ScaleEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, FilterEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, CommandEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, SetEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, Behavior) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |
set_Item
| Name | Description |
|---|
| set_Item (int, RotationEffect) | Sets a behavior at the specified index. |
Parameters:
| Name | Type | Description |
|---|
| index | int | Index of a behavior to return. |