algoanim.util
Class CodeGroupDisplayOptions

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

public class CodeGroupDisplayOptions
extends DisplayOptions

This is a workaround for the DisplayOptions associated with a code group. Code groups follow other display options rules than the other Primitives.

Author:
Stephan Mehlhase, Jens Pfau

Constructor Summary
CodeGroupDisplayOptions(Timing offsetTiming, Timing durationTiming)
          Creates a new CodeGroupDisplayOptions object based on the parameters passed in
 
Method Summary
 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

CodeGroupDisplayOptions

public CodeGroupDisplayOptions(Timing offsetTiming,
                               Timing durationTiming)
Creates a new CodeGroupDisplayOptions object based on the parameters passed in

Parameters:
offsetTiming - defines the offset Timing to apply to the code group creation.
durationTiming - defines the duration Timing to apply to the code group creation.
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.