net.cscott.sdr.calls
Class TimedAction
java.lang.Object
net.cscott.sdr.calls.TimedAction
public class TimedAction
- extends Object
A TimedAction
combines an Action
with a timestamp
indicating notionally when that particular action should occur, although
the exact timing and duration depends on the action: some actions may
begin at the specified time, with others (for example) may be centered
on the time given. The timestamp may be absolute or relative.
- Version:
- $Id: TimedAction.java,v 1.1 2006-10-26 18:33:19 cananian Exp $
- Author:
- C. Scott Ananian
Field Summary |
Action |
action
The dancer action called for at the given time. |
boolean |
isAbsolute
Whether times are absolute, or relative to the previous
TimedAction . |
Fraction |
time
If isAbsolute is true, then the
absolute time at which this formation should appear. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
public final Action action
- The dancer action called for at the given time.
time
public final Fraction time
- If
isAbsolute
is true, then the
absolute time at which this formation should appear. Otherwise, the
relative amount of time after the previous TimedAction
at which this formation should appear.
isAbsolute
public final boolean isAbsolute
- Whether times are absolute, or relative to the previous
TimedAction
.
TimedAction
public TimedAction(Action action,
Fraction time,
boolean isAbsolute)
Copyright (c) 2006 C. Scott Ananian