|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object waba.ui.Control waba.ui.Container waba.ui.Window waba.ui.MainWindow net.thestump.ghronos.Ghronos
The main application window
Field Summary |
Fields inherited from class waba.ui.MainWindow |
defaultFont |
Fields inherited from class waba.ui.Window |
beepIfOut, borderStyle, canDrag, eraseBackgroundNow, flicker, HIDE_STATE, highResPrepared, imgCovered, lastSwappedContainer, mainSwapContainer, menubar, needsPaint, NO_BORDER, RECT_BORDER, ROUND_BORDER, TAB_BORDER, TAB_ONLY_BORDER, title, titleFont, topMost, VK_BOTTOM, VK_HIDE, VK_SHOW, VK_TOP, zStack |
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 | |
Ghronos()
|
Method Summary | |
byte |
getID()
|
superwaba.ext.xplat.io.Storable |
getInstance()
|
void |
loadState(superwaba.ext.xplat.io.DataStream ds)
|
void |
onEvent(waba.ui.Event event)
|
void |
onExit()
|
void |
onStart()
|
void |
saveState(superwaba.ext.xplat.io.DataStream ds)
|
void |
setClocks(Clock tClock,
Clock bClock)
If a call to Mediator.replaceClock is made, the Mediator must make this callback to change clock references in the MainWindow for saving on exit |
void |
setState(StateLabel lbl)
If a call to Mediator.replaceState is made, the Mediator must make this callback to change clock references in the MainWindow for saving on exit |
Methods inherited from class waba.ui.MainWindow |
_onTimerTick, _runThreads, addThread, addTimer, appEnding, appStarting, exit, getCommandLine, getFontMetrics, getMainWindow, killThreads, removeThread, removeTimer |
Methods inherited from class waba.ui.Window |
_doPaint, _doPaint, _postEvent, damageRect, destroyZStack, dontSaveBehind, getClientRect, getClientRect, getFocus, getOffScreen, getPreferredHeight, getPreferredWidth, getTopMost, isTopMost, isVisible, loadBehind, makeUnmovable, onClickedOutside, onPopup, onUnpop, paintTitle, popupBlockingModal, popupMenuBar, popupModal, postPopup, postUnpop, pumpEvents, saveBehind, setBorderStyle, setDoubleBuffer, setFocus, setMenuBar, setStatePosition, setTitle, setTitleFont, swap, swapFocus, unpop, updateScreen, validate |
Methods inherited from class waba.ui.Container |
add, add, add, broadcastEvent, findChild, getChildren, onAdd, onColorsChanged, onPaint, onRemove, paintChildren, remove, setEnabled |
Methods inherited from class waba.ui.Control |
addTimer, contains, createGraphics, getAbsoluteRect, getBackColor, getFont, getForeColor, getNext, getParent, getParentWindow, getPos, getRect, getSize, isDisplayed, isEnabled, onBoundsChanged, onFontChanged, onWindowPaintFinished, postEvent, 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 |
Constructor Detail |
public Ghronos()
Method Detail |
public void onStart()
public void onEvent(waba.ui.Event event)
public void onExit()
public void setClocks(Clock tClock, Clock bClock)
tClock
- The top clockbClock
- The bottom clockpublic void setState(StateLabel lbl)
lbl
- The state labelpublic byte getID()
getID
in interface superwaba.ext.xplat.io.Storable
public superwaba.ext.xplat.io.Storable getInstance()
getInstance
in interface superwaba.ext.xplat.io.Storable
public void saveState(superwaba.ext.xplat.io.DataStream ds)
saveState
in interface superwaba.ext.xplat.io.Storable
public void loadState(superwaba.ext.xplat.io.DataStream ds)
loadState
in interface superwaba.ext.xplat.io.Storable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |