|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.thestump.ghronos.timing.TimingStyle net.thestump.ghronos.timing.delay.DelayStyle net.thestump.ghronos.timing.delay.Delay
Provides a delay timing style. Colons flash for the specified delay. Time decreases one second, every second thereafter.
Field Summary | |
static byte |
ID
Timing style/Storable ID |
static java.lang.String |
NAME
Name of this timing style |
Fields inherited from class net.thestump.ghronos.timing.delay.DelayStyle |
delay |
Fields inherited from class net.thestump.ghronos.timing.TimingStyle |
appliedToBottomClock, appliedToTopClock, toStart, toStop |
Constructor Summary | |
Delay()
|
Method Summary | |
void |
execute(Clock topClock,
Clock bottomClock)
Applies the timing style to the appropriate clocks on a clock switch |
java.lang.String |
getDescription()
Gets a description of this timing style which is used to display information about the timing style in a help dialog |
byte |
getID()
|
superwaba.ext.xplat.io.Storable |
getInstance()
|
void |
onRegister(Clock topClock,
Clock bottomClock)
Called when this TimingStyle is registered with the Mediator. |
void |
onUnRegister(Clock topClock,
Clock bottomClock)
Called when this TimingStyle is unregistered with the Mediator (when another TimingStyle is registered). |
java.lang.String |
toString()
|
Methods inherited from class net.thestump.ghronos.timing.delay.DelayStyle |
getDelay, loadState, saveState, setDelay |
Methods inherited from class net.thestump.ghronos.timing.TimingStyle |
applyTo, evaluate, isAppliedTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final byte ID
public static final java.lang.String NAME
Constructor Detail |
public Delay()
Method Detail |
public void onUnRegister(Clock topClock, Clock bottomClock)
TimingStyle
onUnRegister
in class TimingStyle
topClock
- bottomClock
- public void onRegister(Clock topClock, Clock bottomClock)
TimingStyle
onRegister
in class TimingStyle
topClock
- bottomClock
- public void execute(Clock topClock, Clock bottomClock)
TimingStyle
execute
in class DelayStyle
public java.lang.String toString()
public byte getID()
getID
in interface superwaba.ext.xplat.io.Storable
getID
in class DelayStyle
public superwaba.ext.xplat.io.Storable getInstance()
getInstance
in interface superwaba.ext.xplat.io.Storable
getInstance
in class DelayStyle
public java.lang.String getDescription()
TimingStyle
getDescription
in class TimingStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |