net.cscott.sdr.calls
Class TimedAction
java.lang.Object
net.cscott.sdr.calls.Timed<TimedAction>
net.cscott.sdr.calls.TimedAction
- All Implemented Interfaces:
- Comparable<TimedAction>
public class TimedAction
- extends Timed<TimedAction>
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. |
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.
TimedAction
public TimedAction(Action action,
Fraction time,
boolean isAbsolute)
makeAbsolute
public TimedAction makeAbsolute(Timed<?> reference)
- Description copied from class:
Timed
- Given a reference, make this
Timed
absolute. Returns
this
if the Timed
is already absolute. A null
reference should be treated as one with an absolute time of zero.
- Specified by:
makeAbsolute
in class Timed<TimedAction>
- Parameters:
reference
- The previous Timed
(must be absolute)
Copyright © 2006-2009 C. Scott Ananian