|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.BehaviorCollection
public class BehaviorCollection
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. |
void |
copyTo(IBehavior[] array,
int arrayIndex)
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array , starting at a particular T:System.Array index. |
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 |
isReadOnly()
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only. |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehavior> |
iterator()
Returns an enumerator that iterates through the collection. |
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 class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getCount()
Returns the number of behaviors in a collection.
Read-only int
.
getCount
in interface IBehaviorCollection
public boolean isReadOnly()
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1
is read-only.
Read-only boolean
.
T:System.Collections.Generic.ICollection`1
is read-only; otherwise, false.public void add(IBehavior item)
Add new behavior to a collection.
add
in interface IBehaviorCollection
item
- Behavior to add.public int indexOf(IBehavior item)
Determines the index of a specific item in the T:System.Collections.Generic.IList`1
.
indexOf
in interface IBehaviorCollection
item
- The object to locate in the T:System.Collections.Generic.IList`1
.
item
if found in the list; otherwise, -1.public void insert(int index, IBehavior item)
Inserts new behavior to a collection at the specified index.
insert
in interface IBehaviorCollection
index
- Index where new behavior should be inserted.item
- Behavior to insert.public void copyTo(IBehavior[] array, int arrayIndex)
Copies the elements of the T:System.Collections.Generic.ICollection`1
to an T:System.Array
, starting at a particular T:System.Array
index.
array
- The one-dimensional T:System.Array
that is the destination of the elements copied from T:System.Collections.Generic.ICollection`1
. The T:System.Array
must have zero-based indexing.arrayIndex
- The zero-based index in array
at which copying begins.
T:System.ArgumentNullException
- array
is null.
T:System.ArgumentOutOfRangeException
- arrayIndex
is less than 0.
T:System.ArgumentException
- The number of elements in the source T:System.Collections.Generic.ICollection`1
is greater than the available space from arrayIndex
to the end of the destination array
.public boolean remove(IBehavior item)
Removes specified behavior from a collection.
remove
in interface IBehaviorCollection
item
- Behavior to remove.public void removeAt(int index)
Removes behavior from a collection at the specified index.
removeAt
in interface IBehaviorCollection
index
- Index of a behavior to remove.public void clear()
Removes all behaviors from a collection.
clear
in interface IBehaviorCollection
public boolean contains(IBehavior item)
Determines whether the T:System.Collections.Generic.ICollection`1
contains a specific value.
contains
in interface IBehaviorCollection
item
- The object to locate in the T:System.Collections.Generic.ICollection`1
.
item
is found in the T:System.Collections.Generic.ICollection`1
; otherwise, false.public IBehavior get_Item(int index)
Retirns a behavior at the specified index.
get_Item
in interface IBehaviorCollection
index
- Index of a behavior to return.
public void set_Item(int index, IBehavior value)
Retirns a behavior at the specified index.
set_Item
in interface IBehaviorCollection
index
- Index of a behavior to return.public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehavior> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehavior>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IBehavior>
iterator
in interface java.lang.Iterable<IBehavior>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |