public interface IBehaviorCollection extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>
Represents collection of behavior effects.
Modifier and Type | Method and Description |
---|---|
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
System.Collections.Generic.ICollection`1 contains a specific value. |
IBehavior |
get_Item(int index)
Returns 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
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)
Returns a behavior at the specified index.
|
IBehavior get_Item(int index)
Returns a behavior at the specified index.
index
- Index of a behavior to return.void set_Item(int index, IBehavior value)
Returns a behavior at the specified index.
index
- Index of a behavior to return.int getCount()
Returns the number of behaviors in a collection.
Read-only int
.
void add(IBehavior item)
Add new behavior to a collection.
item
- Behavior to add.int indexOf(IBehavior item)
Determines the index of a specific item in the System.Collections.Generic.IList`1
.
item
- The object to locate in the System.Collections.Generic.IList`1
.item
if found in the list; otherwise, -1.void insert(int index, IBehavior item)
Inserts new behavior to a collection at the specified index.
index
- Index where new behavior should be inserted.item
- Behavior to insert.boolean remove(IBehavior item)
Removes specified behavior from a collection.
item
- Behavior to remove.void removeAt(int index)
Removes behavior from a collection at the specified index.
index
- Index of a behavior to remove.void clear()
Removes all behaviors from a collection.
boolean contains(IBehavior item)
Determines whether the System.Collections.Generic.ICollection`1
contains a specific value.
item
- The object to locate in the System.Collections.Generic.ICollection`1
.item
is found in the System.Collections.Generic.ICollection`1
; otherwise, false.