BehaviorCollection

BehaviorCollection class

Represents collection of behavior effects.

add

NameDescription
add (ScaleEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemScaleEffectBehavior to add.

Returns: void


add

NameDescription
add (ColorEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemColorEffectBehavior to add.

Returns: void


add

NameDescription
add (PropertyEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemPropertyEffectBehavior to add.

Returns: void


add

NameDescription
add (SetEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemSetEffectBehavior to add.

Returns: void


add

NameDescription
add (RotationEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemRotationEffectBehavior to add.

Returns: void


add

NameDescription
add (Behavior)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemBehaviorBehavior to add.

Returns: void


add

NameDescription
add (MotionEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemMotionEffectBehavior to add.

Returns: void


add

NameDescription
add (CommandEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemCommandEffectBehavior to add.

Returns: void


add

NameDescription
add (FilterEffect)Add new behavior to a collection.

Parameters:

NameTypeDescription
itemFilterEffectBehavior to add.

Returns: void


clear

NameDescription
clear ()Removes all behaviors from a collection.

Returns: void


contains

NameDescription
contains (ScaleEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemScaleEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (ColorEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemColorEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (PropertyEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemPropertyEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (SetEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemSetEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (RotationEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemRotationEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (Behavior)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemBehaviorThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (MotionEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemMotionEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (CommandEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemCommandEffectThe object to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (FilterEffect)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemFilterEffectThe object to locate in the IGenericCollection.

Returns: boolean


copyTo

NameDescription
copyTo (com.aspose.slides.IBehavior[], int)Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

NameTypeDescription
arraycom.aspose.slides.IBehavior[]The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

Returns: void

Exception

ErrorCondition
com.aspose.ms.System.ArgumentExceptionThe number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.

getCount

NameDescription
getCount ()Returns the number of behaviors in a collection. Read-only int.

Returns: int


get_Item

NameDescription
get_Item (int)Returns a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: ScaleEffect, ColorEffect, PropertyEffect, SetEffect, RotationEffect, Behavior, MotionEffect, CommandEffect, FilterEffect


indexOf

NameDescription
indexOf (ScaleEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemScaleEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (ColorEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemColorEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (PropertyEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemPropertyEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (SetEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemSetEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (RotationEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemRotationEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (Behavior)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemBehaviorThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (MotionEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemMotionEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (CommandEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemCommandEffectThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (FilterEffect)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemFilterEffectThe object to locate in the List.

Returns: int


insert

NameDescription
insert (int, ScaleEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemScaleEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, ColorEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemColorEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, PropertyEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemPropertyEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, SetEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemSetEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, RotationEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemRotationEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, Behavior)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemBehaviorBehavior to insert.

Returns: void


insert

NameDescription
insert (int, MotionEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemMotionEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, CommandEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemCommandEffectBehavior to insert.

Returns: void


insert

NameDescription
insert (int, FilterEffect)Inserts new behavior to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where new behavior should be inserted.
itemFilterEffectBehavior to insert.

Returns: void


isReadOnly

NameDescription
isReadOnly ()Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (ScaleEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemScaleEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (ColorEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemColorEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (PropertyEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemPropertyEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (SetEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemSetEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (RotationEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemRotationEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (Behavior)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemBehaviorBehavior to remove.

Returns: boolean


remove

NameDescription
remove (MotionEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemMotionEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (CommandEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemCommandEffectBehavior to remove.

Returns: boolean


remove

NameDescription
remove (FilterEffect)Removes specified behavior from a collection.

Parameters:

NameTypeDescription
itemFilterEffectBehavior to remove.

Returns: boolean


removeAt

NameDescription
removeAt (int)Removes behavior from a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to remove.

Returns: void


set_Item

NameDescription
set_Item (int, ScaleEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, ColorEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, PropertyEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, SetEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, RotationEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, Behavior)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, MotionEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, CommandEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void


set_Item

NameDescription
set_Item (int, FilterEffect)Sets a behavior at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a behavior to return.

Returns: void