com.aspose.slides
Class BehaviorProperties

java.lang.Object
  extended by com.aspose.slides.BehaviorProperties
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<java.lang.Integer>, com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>, com.aspose.ms.System.Collections.IEnumerable<java.lang.Integer>, IBehaviorProperties, java.lang.Iterable<java.lang.Integer>

public class BehaviorProperties
extends java.lang.Object
implements IBehaviorProperties

Represents timing properties for the effect behavior.


Method Summary
 void addItem(java.lang.Integer item)
           Adds a new property to the collection.
 void clear()
           Removes all properties from the collection.
 boolean containsItem(java.lang.Integer item)
           Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.
 void copyToTArray(java.lang.Integer[] 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.
 java.lang.Integer get_Item(int index)
           Returns a property at the specified index.
 com.aspose.ms.System.Collections.IEnumerable getAsIEnumerable()
           
 int indexOfItem(java.lang.Integer item)
           Determines the index of a specific item in the T:System.Collections.Generic.IList`1.
 void insertItem(int index, java.lang.Integer item)
           Inserts a new property to the 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<java.lang.Integer> iterator()
           Returns an enumerator that iterates through the collection.
 void removeAt(int index)
           Removes property at the specified index.
 boolean removeItem(java.lang.Integer item)
           Removes specified property from the collection.
 void set_Item(int index, java.lang.Integer value)
           
 int size()
           Returns the number of properties stored in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()

Returns the number of properties stored in the collection.

Specified by:
size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>

isReadOnly

public boolean isReadOnly()

Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only.

Specified by:
isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>
Returns:
true if the T:System.Collections.Generic.ICollection`1 is read-only; otherwise, false.

addItem

public void addItem(java.lang.Integer item)

Adds a new property to the collection.

Specified by:
addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>
Parameters:
item - Property to add.

indexOfItem

public int indexOfItem(java.lang.Integer item)

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

Specified by:
indexOfItem in interface com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>
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.

insertItem

public void insertItem(int index,
                       java.lang.Integer item)

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

Specified by:
insertItem in interface com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>
Parameters:
index - Index where a new property should be inserted.
item - Property to add.

copyToTArray

public void copyToTArray(java.lang.Integer[] 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.

Specified by:
copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>
Parameters:
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.
Throws:
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.

removeItem

public boolean removeItem(java.lang.Integer item)

Removes specified property from the collection.

Specified by:
removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>
Parameters:
item - Property to remove.

removeAt

public void removeAt(int index)

Removes property at the specified index.

Specified by:
removeAt in interface com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>
Parameters:
index - Index of the property which should be deleted.

clear

public void clear()

Removes all properties from the collection.

Specified by:
clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>

containsItem

public boolean containsItem(java.lang.Integer item)

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

Specified by:
containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.Integer>
Parameters:
item - The 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.

get_Item

public java.lang.Integer get_Item(int index)

Returns a property at the specified index.

Specified by:
get_Item in interface com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>
Parameters:
index - Index of a property to return.
Returns:
Animation behavior property.

set_Item

public void set_Item(int index,
                     java.lang.Integer value)
Specified by:
set_Item in interface com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer>

getAsIEnumerable

public com.aspose.ms.System.Collections.IEnumerable getAsIEnumerable()

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<java.lang.Integer> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<java.lang.Integer>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<java.lang.Integer>
Specified by:
iterator in interface java.lang.Iterable<java.lang.Integer>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.