|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwaba.ui.Control
waba.ui.Container
net.thestump.ghronos.ui.clock.Clock
net.thestump.ghronos.ui.clock.DecreaseClock
net.thestump.ghronos.ui.clock.DelayClock
A clock with flashable colons for Delay style timing.
| Field Summary | |
static byte |
ID
unique ID for this clock |
| Fields inherited from class net.thestump.ghronos.ui.clock.Clock |
digits, HR1, HR2, leftColon, mediator, MIN1, MIN2, myName, paused, rightColon, SEC1, SEC2 |
| Fields inherited from class waba.ui.Container |
BORDER_LOWERED, BORDER_NONE, BORDER_RAISED, BORDER_SIMPLE, children, lastH, lastW, lastX, lastY, parentWindow, tail |
| Fields inherited from class waba.ui.Control |
AFTER, appId, asContainer, asWindow, backColor, backDis, BEFORE, BOTTOM, CENTER, enabled, FILL, FIT, fm, fmH, focusLess, font, foreColor, foreDis, height, LEFT, parent, PREFERRED, RANGE, RIGHT, SAME, TOP, visible, width, x, x2, y, y2 |
| Constructor Summary | |
DelayClock()
|
|
| Method Summary | |
int |
getFlash()
Gets the flash time set for this clock |
byte |
getID()
|
superwaba.ext.xplat.io.Storable |
getInstance()
|
void |
loadState(superwaba.ext.xplat.io.DataStream ds)
|
void |
saveState(superwaba.ext.xplat.io.DataStream ds)
|
void |
start(int flash)
|
protected void |
tick()
Ticks the clock. |
| Methods inherited from class net.thestump.ghronos.ui.clock.Clock |
addTimer, equals, getName, getTime, isOutOfTime, onEvent, onStart, pause, setAdjust, setName, setTime, start, stop |
| Methods inherited from class waba.ui.Container |
add, add, add, broadcastEvent, findChild, getChildren, getClientRect, getClientRect, onAdd, onColorsChanged, onPaint, onRemove, paintChildren, remove, setBorderStyle, setEnabled |
| Methods inherited from class waba.ui.Control |
contains, createGraphics, getAbsoluteRect, getBackColor, getFont, getFontMetrics, getForeColor, getNext, getParent, getParentWindow, getPos, getPreferredHeight, getPreferredWidth, getRect, getSize, isDisplayed, isEnabled, isVisible, onBoundsChanged, onFontChanged, onWindowPaintFinished, postEvent, removeTimer, repaint, repaintNow, requestFocus, setBackColor, setBackForeColors, setFocusLess, setFont, setForeColor, setRect, setRect, setRect, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte ID
| Constructor Detail |
public DelayClock()
| Method Detail |
public int getFlash()
public void start(int flash)
flash - if greater than 0, then flash colons for the first
flash seconds before starting to decrement time.
If flash is less than or equal to 0, then don't
flash colonspublic byte getID()
getID in interface superwaba.ext.xplat.io.StorablegetID in class DecreaseClockpublic superwaba.ext.xplat.io.Storable getInstance()
getInstance in interface superwaba.ext.xplat.io.StorablegetInstance in class DecreaseClockpublic void saveState(superwaba.ext.xplat.io.DataStream ds)
saveState in interface superwaba.ext.xplat.io.StorablesaveState in class Clockpublic void loadState(superwaba.ext.xplat.io.DataStream ds)
loadState in interface superwaba.ext.xplat.io.StorableloadState in class Clockprotected void tick()
Clock
tick in class DecreaseClock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||