com.aspose.slides
Interface IBehaviorCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IBehavior>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>, java.lang.Iterable<IBehavior>
All Known Implementing Classes:
BehaviorCollection

public interface IBehaviorCollection
extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>

Represents collection of behavior effects.


Method Summary
 void add(IBehavior item)
           Add new behavior to a collection.
 void clear()
           Removes all behaviors from a collection.
 boolean contains(IBehavior item)
           Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.
 IBehavior get_Item(int index)
           Retirns a behavior at the specified index.
 int getCount()
           Returns the number of behaviors in a collection.
 int indexOf(IBehavior item)
           Determines the index of a specific item in the T:System.Collections.Generic.IList`1.
 void insert(int index, IBehavior item)
           Inserts new behavior to a collection at the specified index.
 boolean remove(IBehavior item)
           Removes specified behavior from a collection.
 void removeAt(int index)
           Removes behavior from a collection at the specified index.
 void set_Item(int index, IBehavior value)
           Retirns a behavior at the specified index.
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

IBehavior get_Item(int index)

Retirns a behavior at the specified index.

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

set_Item

void set_Item(int index,
              IBehavior value)

Retirns a behavior at the specified index.

Parameters:
index - Index of a behavior to return.

getCount

int getCount()

Returns the number of behaviors in a collection. Read-only int.


add

void add(IBehavior item)

Add new behavior to a collection.

Parameters:
item - Behavior to add.

indexOf

int indexOf(IBehavior item)

Determines the index of a specific item in the T:System.Collections.Generic.IList`1.

Parameters:
item - The object to locate in the T:System.Collections.Generic.IList`1.
Returns:
The index of item if found in the list; otherwise, -1.

insert

void insert(int index,
            IBehavior item)

Inserts new behavior to a collection at the specified index.

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

remove

boolean remove(IBehavior item)

Removes specified behavior from a collection.

Parameters:
item - Behavior to remove.

removeAt

void removeAt(int index)

Removes behavior from a collection at the specified index.

Parameters:
index - Index of a behavior to remove.

clear

void clear()

Removes all behaviors from a collection.


contains

boolean contains(IBehavior item)

Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.

Parameters:
itemThe - object to locate in the T:System.Collections.Generic.ICollection`1.
Returns:
true if item is found in the T:System.Collections.Generic.ICollection`1; otherwise, false.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.