SequenceCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISequenceCollection

public class SequenceCollection implements ISequenceCollection

Represents collection of interactive sequences.

Methods

MethodDescription
getCount()Returns the number of elements in a collection Read-only int.
add(IShape shapeTrigger)Add new interactive sequence.
remove(ISequence item)Removes specified sequence from a collection.
removeAt(int index)Removes sequence at the specified index.
clear()Removes all sequences from a collection.
get_Item(int index)Returns a sequense at the specified index.
iterator()Returns an enumerator that iterates through the collection.
iteratorJava()Returns a java iterator for the entire collection.

getCount()

public final int getCount()

Returns the number of elements in a collection Read-only int.

Returns: int

add(IShape shapeTrigger)

public final ISequence add(IShape shapeTrigger)

Add new interactive sequence. Read/write Sequence.

Parameters:

ParameterTypeDescription
shapeTriggerIShape

Returns: ISequence

remove(ISequence item)

public final void remove(ISequence item)

Removes specified sequence from a collection.

Parameters:

ParameterTypeDescription
itemISequenceSequence to remove.

removeAt(int index)

public final void removeAt(int index)

Removes sequence at the specified index.

Parameters:

ParameterTypeDescription
indexintIndex of a sequence that should be deleted.

clear()

public final void clear()

Removes all sequences from a collection.

get_Item(int index)

public final ISequence get_Item(int index)

Returns a sequense at the specified index.

Parameters:

ParameterTypeDescription
indexintIndex of element.

Returns: ISequence - The ISequence object.

iterator()

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

Returns an enumerator that iterates through the collection.

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

iteratorJava()

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

Returns a java iterator for the entire collection.

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