SequenceCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISequenceCollection

public class SequenceCollection implements ISequenceCollection

Represents collection of interactive sequences.

Methods

Method Description
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:

Parameter Type Description
shapeTrigger IShape

Returns: ISequence

remove(ISequence item)

public final void remove(ISequence item)

Removes specified sequence from a collection.

Parameters:

Parameter Type Description
item ISequence Sequence to remove.

removeAt(int index)

public final void removeAt(int index)

Removes sequence at the specified index.

Parameters:

Parameter Type Description
index int Index 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:

Parameter Type Description
index int Index 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.