BehaviorPropertyCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IBehaviorPropertyCollection

public class BehaviorPropertyCollection implements IBehaviorPropertyCollection

Represents timing properties for the effect behavior.

Methods

Method Description
size() Returns the number of properties stored in the collection.
isReadOnly() Gets a value indicating whether the IGenericCollection is read-only.
add(IBehaviorProperty item) Adds a new property to the collection.
add(String propertyValue) Adds a new property to the collection.
indexOf(IBehaviorProperty item) Determines the index of a specific item in the List.
indexOf(String propertyValue) Determines the index of a specific item by property value in the List.
insert(int index, IBehaviorProperty item) Inserts a new property to the collection at the specified index.
insert(int index, String propertyValue) Inserts a new property (with the specified property value) to the collection at the specified index.
copyTo(IBehaviorProperty[] array, int arrayIndex) Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.
remove(IBehaviorProperty item) Removes specified property from the collection.
remove(String propertyValue) Removes specified property from the collection.
removeAt(int index) Removes property at the specified index.
clear() Removes all properties from the collection.
contains(IBehaviorProperty item) Determines whether the IGenericCollection contains a specific value.
contains(String propertyValue) Determines whether the IGenericCollection contains a specific value.
get_Item(int index) Returns a property at the specified index.
set_Item(int index, IBehaviorProperty value) Sets a property at the specified index.
iterator() Returns an enumerator that iterates through the collection.
indexOfItem(IBehaviorProperty item)
insertItem(int index, IBehaviorProperty item)
addItem(IBehaviorProperty item)
containsItem(IBehaviorProperty item)
copyToTArray(IBehaviorProperty[] array, int arrayIndex)
removeItem(IBehaviorProperty item)
iteratorJava() Returns a java iterator for the entire collection.

size()

public final int size()

Returns the number of properties stored in the collection. Read-only int.

Returns: int

isReadOnly()

public final boolean isReadOnly()

Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean - true if the IGenericCollection is read-only; otherwise, false.

add(IBehaviorProperty item)

public final void add(IBehaviorProperty item)

Adds a new property to the collection.

Parameters:

Parameter Type Description
item IBehaviorProperty Property to add.

add(String propertyValue)

public final void add(String propertyValue)

Adds a new property to the collection.

Parameters:

Parameter Type Description
propertyValue java.lang.String Value of the property to add.

indexOf(IBehaviorProperty item)

public final int indexOf(IBehaviorProperty item)

Determines the index of a specific item in the List.

Parameters:

Parameter Type Description
item IBehaviorProperty The object to locate in the List.

Returns: int - The index of item if found in the list; otherwise, -1.

indexOf(String propertyValue)

public final int indexOf(String propertyValue)

Determines the index of a specific item by property value in the List.

Parameters:

Parameter Type Description
propertyValue java.lang.String value of the property

Returns: int - The index of the property with the specified value

insert(int index, IBehaviorProperty item)

public final void insert(int index, IBehaviorProperty item)

Inserts a new property to the collection at the specified index.

Parameters:

Parameter Type Description
index int Index where a new property should be inserted.
item IBehaviorProperty Property to add.

insert(int index, String propertyValue)

public final void insert(int index, String propertyValue)

Inserts a new property (with the specified property value) to the collection at the specified index.

Parameters:

Parameter Type Description
index int Index where a new property should be inserted.
propertyValue java.lang.String Value of the property to add.

copyTo(IBehaviorProperty[] array, int arrayIndex)

public final void copyTo(IBehaviorProperty[] array, int arrayIndex)

Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

Parameter Type Description
array IBehaviorProperty[] The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndex int The zero-based index in array at which copying begins.

remove(IBehaviorProperty item)

public final boolean remove(IBehaviorProperty item)

Removes specified property from the collection.

Parameters:

Parameter Type Description
item IBehaviorProperty Property to remove.

Returns: boolean

remove(String propertyValue)

public final boolean remove(String propertyValue)

Removes specified property from the collection.

Parameters:

Parameter Type Description
propertyValue java.lang.String Value of the property to remove.

Returns: boolean

removeAt(int index)

public final void removeAt(int index)

Removes property at the specified index.

Parameters:

Parameter Type Description
index int Index of the property which should be deleted.

clear()

public final void clear()

Removes all properties from the collection.

contains(IBehaviorProperty item)

public final boolean contains(IBehaviorProperty item)

Determines whether the IGenericCollection contains a specific value.

Parameters:

Parameter Type Description
item IBehaviorProperty The property to locate in the IGenericCollection.

Returns: boolean - true if item is found in the IGenericCollection; otherwise, false.

contains(String propertyValue)

public final boolean contains(String propertyValue)

Determines whether the IGenericCollection contains a specific value.

Parameters:

Parameter Type Description
propertyValue java.lang.String Value of the property to locate in the IGenericCollection.

Returns: boolean - true if propertyValue is found in the IGenericCollection; otherwise, false.

get_Item(int index)

public final IBehaviorProperty get_Item(int index)

Returns a property at the specified index.

Parameters:

Parameter Type Description
index int Index of a property to return.

Returns: IBehaviorProperty - Animation behavior property.

set_Item(int index, IBehaviorProperty value)

public final void set_Item(int index, IBehaviorProperty value)

Sets a property at the specified index.

Parameters:

Parameter Type Description
index int Index of a property to return.
value IBehaviorProperty

iterator()

public final System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IBehaviorProperty> - A IGenericEnumerator that can be used to iterate through the collection.

indexOfItem(IBehaviorProperty item)

public int indexOfItem(IBehaviorProperty item)

Parameters:

Parameter Type Description
item IBehaviorProperty

Returns: int

insertItem(int index, IBehaviorProperty item)

public void insertItem(int index, IBehaviorProperty item)

Parameters:

Parameter Type Description
index int
item IBehaviorProperty

addItem(IBehaviorProperty item)

public void addItem(IBehaviorProperty item)

Parameters:

Parameter Type Description
item IBehaviorProperty

containsItem(IBehaviorProperty item)

public boolean containsItem(IBehaviorProperty item)

Parameters:

Parameter Type Description
item IBehaviorProperty

Returns: boolean

copyToTArray(IBehaviorProperty[] array, int arrayIndex)

public void copyToTArray(IBehaviorProperty[] array, int arrayIndex)

Parameters:

Parameter Type Description
array IBehaviorProperty[]
arrayIndex int

removeItem(IBehaviorProperty item)

public boolean removeItem(IBehaviorProperty item)

Parameters:

Parameter Type Description
item IBehaviorProperty

Returns: boolean

iteratorJava()

public final System.Collections.Generic.IGenericEnumerator<IBehaviorProperty> iteratorJava()

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IBehaviorProperty> - An java.util.Iterator for the entire collection.