public static class Sequencer.SequencerEvent extends Object implements Comparable<Sequencer.SequencerEvent>
| Modifier and Type | Field and Description |
|---|---|
Sequencer.SequencedAction |
action
The sequenced action
|
boolean |
failed
Whether the event failed to fire
|
boolean |
fired
Whether the event has already been fired.
|
long |
timestamp
The time at which the sequenced action should happen
|
| Constructor and Description |
|---|
SequencerEvent(long timestamp,
Sequencer.SequencedAction action)
Create a new sequencer event that occurs at a specific time.
|
SequencerEvent(Timecode tc,
Sequencer.SequencedAction action)
Create a new sequencer event that occurs at a specific time.
|
public Sequencer.SequencedAction action
public long timestamp
public boolean fired
public boolean failed
public SequencerEvent(long timestamp, Sequencer.SequencedAction action)
timestamp - The time the sequencer event should occur.action - The action that should happen at the given time.public SequencerEvent(Timecode tc, Sequencer.SequencedAction action)
tc - The time the sequencer event should occur.action - The action that should happen at the given time.public int compareTo(Sequencer.SequencerEvent event)
compareTo in interface Comparable<Sequencer.SequencerEvent>Comparable.compareTo(java.lang.Object)public String toString()
toString in class ObjectObject.toString()