algoanim.util
Class ArrayDisplayOptions

java.lang.Object
  extended by algoanim.util.DisplayOptions
      extended by algoanim.util.ArrayDisplayOptions

public class ArrayDisplayOptions
extends DisplayOptions

This is a workaround for the DisplayOptions associated with an array. Arrays follow other display options rules than the other Primitives.

Author:
Stephan Mehlhase, Jens Pfau

Constructor Summary
ArrayDisplayOptions(Timing offsetTiming, Timing durationTiming, boolean isCascaded)
          Creates a new instance of the ArrayDisplayOptions.
 
Method Summary
 boolean getCascaded()
          Returns whether the creation of the array is showed cascaded.
 Timing getDuration()
          Returns the duration Timing.
 Timing getOffset()
          Returns the offset Timing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayDisplayOptions

public ArrayDisplayOptions(Timing offsetTiming,
                           Timing durationTiming,
                           boolean isCascaded)
Creates a new instance of the ArrayDisplayOptions.

Parameters:
offsetTiming - defines the offset Timing to apply to the array creation.
durationTiming - defines the duration Timing to apply to the array creation.
isCascaded - defines whether the array creation is animated by showing one element after the other instead of all at once.
Method Detail

getOffset

public Timing getOffset()
Returns the offset Timing.

Returns:
the offset Timing.

getDuration

public Timing getDuration()
Returns the duration Timing.

Returns:
the duration Timing.

getCascaded

public boolean getCascaded()
Returns whether the creation of the array is showed cascaded.

Returns:
whether the creation of the array is showed cascaded.