com.aspose.slides
Class SequenceEx

java.lang.Object
  extended by com.aspose.slides.SequenceEx
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public class SequenceEx
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable

Represent sequence (collection of effects).


Method Summary
 EffectEx addEffect(ShapeEx shape, int effectType, int subtype, int triggerType)
           Add new effect to the end of sequence.
 void clear()
           Removes all effects from a collection.
 EffectEx get_Item(int index)
           Returns an effect at the specified index.
 int getCount()
           Returns the number of effects in a sequense.
 int getCount(ShapeEx shape)
           Returns count effects by specify shape.
 com.aspose.ms.System.Collections.ArrayList getEffectsByShape(ShapeEx shape)
           Returns array of effects by specify shape.
 com.aspose.ms.System.Collections.ArrayList getEffectsByShapeId(long shapeId)
           Returns array of effects by specify shape id.
 ShapeEx getTriggerShape()
           Returns or set shape target for INTERACTIVE sequence.
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an iterator for a collection.
 void remove(EffectEx item)
           Removes specified effect from a collection.
 void removeAt(int index)
           Removes an effect from a collection.
 void removeByShape(ShapeEx shape)
           Remove effect by specify shape.
 void setTriggerShape(ShapeEx value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()

Returns the number of effects in a sequense.


remove

public void remove(EffectEx item)

Removes specified effect from a collection.

Parameters:
item - Effect to remove.

removeAt

public void removeAt(int index)

Removes an effect from a collection.

Parameters:
index -

clear

public void clear()

Removes all effects from a collection.


get_Item

public EffectEx get_Item(int index)

Returns an effect at the specified index.

Parameters:
index -
Returns:

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an iterator for a collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable
Returns:

getTriggerShape

public ShapeEx getTriggerShape()

Returns or set shape target for INTERACTIVE sequence. If sequence is not interactive then returns null. Read/write ShapeEx.


setTriggerShape

public void setTriggerShape(ShapeEx value)

removeByShape

public void removeByShape(ShapeEx shape)

Remove effect by specify shape.


getEffectsByShape

public com.aspose.ms.System.Collections.ArrayList getEffectsByShape(ShapeEx shape)

Returns array of effects by specify shape.


getEffectsByShapeId

public com.aspose.ms.System.Collections.ArrayList getEffectsByShapeId(long shapeId)

Returns array of effects by specify shape id.


getCount

public int getCount(ShapeEx shape)

Returns count effects by specify shape.


addEffect

public EffectEx addEffect(ShapeEx shape,
                          int effectType,
                          int subtype,
                          int triggerType)

Add new effect to the end of sequence.