com.aspose.slides
Class Sequence

java.lang.Object
  extended by com.aspose.slides.Sequence
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IEffect>, com.aspose.ms.System.Collections.IEnumerable<IEffect>, ISequence, java.lang.Iterable<IEffect>

public final class Sequence
extends java.lang.Object
implements ISequence

Represent sequence (collection of effects).


Method Summary
 IEffect addEffect(IChart chart, int type, int index, int effectType, int subtype, int triggerType)
           Adds the new chart animation effect for category or series to the end of sequence.
 IEffect addEffect(IChart chart, int type, int seriesIndex, int categoriesIndex, int effectType, int subtype, int triggerType)
           Adds the new chart animation effect for elements in category or series to the end of sequence.
 IEffect addEffect(IShape shape, int effectType, int subtype, int triggerType)
           Add new effect to the end of sequence.
 void clear()
           Removes all effects from a collection.
 IEffect get_Item(int index)
           Returns an effect at the specified index.
 int getCount()
           Returns the number of effects in a sequense.
 int getCount(IShape shape)
           Returns count of effects for the specified shape.
 IEffect[] getEffectsByShape(IShape shape)
           Returns array of effects by specify shape.
 IShape getTriggerShape()
           Returns or set shape target for INTERACTIVE sequence.
 com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IEffect> iterator()
           
 void remove(IEffect item)
           Removes specified effect from a collection.
 void removeAt(int index)
           Removes an effect from a collection.
 void removeByShape(IShape shape)
           Remove effect by specify shape.
 void setTriggerShape(IShape value)
           Returns or set shape target for INTERACTIVE sequence.
 
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. Read-only int.

Specified by:
getCount in interface ISequence

remove

public void remove(IEffect item)

Removes specified effect from a collection.

Specified by:
remove in interface ISequence
Parameters:
item - Effect to remove.

removeAt

public void removeAt(int index)

Removes an effect from a collection.

Specified by:
removeAt in interface ISequence
Parameters:
index -

clear

public void clear()

Removes all effects from a collection.

Specified by:
clear in interface ISequence

get_Item

public IEffect get_Item(int index)

Returns an effect at the specified index.

Specified by:
get_Item in interface ISequence
Parameters:
index -
Returns:

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IEffect> iterator()
Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IEffect>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<IEffect>
Specified by:
iterator in interface java.lang.Iterable<IEffect>

getTriggerShape

public IShape getTriggerShape()

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

Specified by:
getTriggerShape in interface ISequence

setTriggerShape

public void setTriggerShape(IShape value)

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

Specified by:
setTriggerShape in interface ISequence

removeByShape

public void removeByShape(IShape shape)

Remove effect by specify shape.

Specified by:
removeByShape in interface ISequence

getEffectsByShape

public IEffect[] getEffectsByShape(IShape shape)

Returns array of effects by specify shape.

Specified by:
getEffectsByShape in interface ISequence

getCount

public int getCount(IShape shape)

Returns count of effects for the specified shape.

Specified by:
getCount in interface ISequence

addEffect

public IEffect addEffect(IShape shape,
                         int effectType,
                         int subtype,
                         int triggerType)

Add new effect to the end of sequence.

Specified by:
addEffect in interface ISequence
effectType - EffectType
subtype - EffectSubtype
triggerType - EffectTriggerType

addEffect

public final IEffect addEffect(IChart chart,
                               int type,
                               int index,
                               int effectType,
                               int subtype,
                               int triggerType)

Adds the new chart animation effect for category or series to the end of sequence.

Specified by:
addEffect in interface ISequence
type - EffectChartMajorGroupingType
effectType - EffectType
subtype - EffectSubtype
triggerType - EffectTriggerType

addEffect

public final IEffect addEffect(IChart chart,
                               int type,
                               int seriesIndex,
                               int categoriesIndex,
                               int effectType,
                               int subtype,
                               int triggerType)

Adds the new chart animation effect for elements in category or series to the end of sequence.

Specified by:
addEffect in interface ISequence
type - EffectChartMinorGroupingType
effectType - EffectType
subtype - EffectSubtype
triggerType - EffectTriggerType


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.