public class BehaviorPropertyCollection extends java.lang.Object implements IBehaviorPropertyCollection
Represents timing properties for the effect behavior.
Modifier and Type | Method and Description |
---|---|
void |
add(IBehaviorProperty item)
Adds a new property to the collection.
|
void |
add(java.lang.String propertyValue)
Adds a new property to the collection.
|
void |
addItem(IBehaviorProperty item) |
void |
clear()
Removes all properties from the collection.
|
boolean |
contains(IBehaviorProperty item)
Determines whether the
IGenericCollection contains a specific value. |
boolean |
contains(java.lang.String propertyValue)
Determines whether the
IGenericCollection contains a specific value. |
boolean |
containsItem(IBehaviorProperty item) |
void |
copyTo(IBehaviorProperty[] array,
int arrayIndex)
|
void |
copyToTArray(IBehaviorProperty[] array,
int arrayIndex) |
IBehaviorProperty |
get_Item(int index)
Returns a property at the specified index.
|
int |
indexOf(IBehaviorProperty item)
Determines the index of a specific item in the
List . |
int |
indexOf(java.lang.String propertyValue)
Determines the index of a specific item by property value in the
List . |
int |
indexOfItem(IBehaviorProperty item) |
void |
insert(int index,
IBehaviorProperty item)
Inserts a new property to the collection at the specified index.
|
void |
insert(int index,
java.lang.String propertyValue)
Inserts a new property (with the specified property value) to the collection at the specified index.
|
void |
insertItem(int index,
IBehaviorProperty item) |
boolean |
isReadOnly()
Gets a value indicating whether the
IGenericCollection is read-only. |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> |
iteratorJava()
Returns a java iterator for the entire collection.
|
boolean |
remove(IBehaviorProperty item)
Removes specified property from the collection.
|
boolean |
remove(java.lang.String propertyValue)
Removes specified property from the collection.
|
void |
removeAt(int index)
Removes property at the specified index.
|
boolean |
removeItem(IBehaviorProperty item) |
void |
set_Item(int index,
IBehaviorProperty value)
Sets a property at the specified index.
|
int |
size()
Returns the number of properties stored in the collection.
|
public final int size()
Returns the number of properties stored in the collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public final boolean isReadOnly()
Gets a value indicating whether the IGenericCollection
is read-only.
Read-only boolean
.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
IGenericCollection
is read-only; otherwise, false.public final void add(IBehaviorProperty item)
Adds a new property to the collection.
item
- Property to add.public final void add(java.lang.String propertyValue)
Adds a new property to the collection.
add
in interface IBehaviorPropertyCollection
propertyValue
- Value of the property to add.public final int indexOf(IBehaviorProperty item)
Determines the index of a specific item in the List
.
item
- The object to locate in the List
.public final int indexOf(java.lang.String propertyValue)
Determines the index of a specific item by property value in the List
.
indexOf
in interface IBehaviorPropertyCollection
propertyValue
- value of the propertypublic final void insert(int index, IBehaviorProperty item)
Inserts a new property to the collection at the specified index.
index
- Index where a new property should be inserted.item
- Property to add.public final void insert(int index, java.lang.String propertyValue)
Inserts a new property (with the specified property value) to the collection at the specified index.
insert
in interface IBehaviorPropertyCollection
index
- Index where a new property should be inserted.propertyValue
- Value of the property to add.public final void copyTo(IBehaviorProperty[] array, int arrayIndex)
Copies the elements of the IGenericCollection
to an Array
, starting at a particular Array
index.
array
- The one-dimensional Array
that is the destination of the elements copied from IGenericCollection
. The Array
must have zero-based indexing.arrayIndex
- The zero-based index in array at which copying begins.com.aspose.ms.System.ArgumentNullException
- array is null.com.aspose.ms.System.ArgumentOutOfRangeException
- arrayIndex is less than 0.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.public final boolean remove(IBehaviorProperty item)
Removes specified property from the collection.
item
- Property to remove.public final boolean remove(java.lang.String propertyValue)
Removes specified property from the collection.
remove
in interface IBehaviorPropertyCollection
propertyValue
- Value of the property to remove.boolean
public final void removeAt(int index)
Removes property at the specified index.
removeAt
in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
index
- Index of the property which should be deleted.public final void clear()
Removes all properties from the collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public final boolean contains(IBehaviorProperty item)
Determines whether the IGenericCollection
contains a specific value.
item
- The property to locate in the IGenericCollection
.IGenericCollection
; otherwise, false.public final boolean contains(java.lang.String propertyValue)
Determines whether the IGenericCollection
contains a specific value.
contains
in interface IBehaviorPropertyCollection
propertyValue
- Value of the property to locate in the IGenericCollection
.IGenericCollection
; otherwise, false.public final IBehaviorProperty get_Item(int index)
Returns a property at the specified index.
get_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
index
- Index of a property to return.public final void set_Item(int index, IBehaviorProperty value)
Sets a property at the specified index.
set_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
index
- Index of a property to return.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IBehaviorProperty>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IBehaviorProperty>
iterator
in interface java.lang.Iterable<IBehaviorProperty>
IGenericEnumerator
that can be used to iterate through the collection.public int indexOfItem(IBehaviorProperty item)
indexOfItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
public void insertItem(int index, IBehaviorProperty item)
insertItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<IBehaviorProperty>
public void addItem(IBehaviorProperty item)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public boolean containsItem(IBehaviorProperty item)
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public void copyToTArray(IBehaviorProperty[] array, int arrayIndex)
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public boolean removeItem(IBehaviorProperty item)
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IBehaviorProperty>
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iteratorJava()
Returns a java iterator for the entire collection.
Iterator
for the entire collection.