|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object waba.ui.Control waba.ui.Label net.thestump.ghronos.ui.state.StateLabel net.thestump.ghronos.ui.state.BoggleStateLabel
Provides custom labeling for the Boggle timing style
Field Summary | |
static byte |
ID
Storable/factory id |
Fields inherited from class net.thestump.ghronos.ui.state.StateLabel |
mediator, msg, PREFIX, stateLabel |
Fields inherited from class waba.ui.Label |
align, commonVGap |
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 | |
BoggleStateLabel()
|
Method Summary | |
byte |
getID()
|
superwaba.ext.xplat.io.Storable |
getInstance()
|
void |
setActiveGameState(TimingStyle timingStyle)
Controls the status of a game in progress |
void |
setEndGameState(boolean topClockOutOfTime)
Controls the status of the end of a game |
void |
setStartGameState()
Controls the status of the beginning of a game |
Methods inherited from class net.thestump.ghronos.ui.state.StateLabel |
calculateMove, instance, loadState, saveState, setPauseState |
Methods inherited from class waba.ui.Label |
canScroll, getPreferredHeight, getPreferredWidth, getText, onBoundsChanged, onColorsChanged, onFontChanged, onPaint, scroll, set3d, setInvert, setText |
Methods inherited from class waba.ui.Control |
addTimer, contains, createGraphics, getAbsoluteRect, getBackColor, getFont, getFontMetrics, getForeColor, getNext, getParent, getParentWindow, getPos, getRect, getSize, isDisplayed, isEnabled, isVisible, onEvent, onWindowPaintFinished, postEvent, removeTimer, repaint, repaintNow, requestFocus, setBackColor, setBackForeColors, setEnabled, 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 BoggleStateLabel()
Method Detail |
public void setEndGameState(boolean topClockOutOfTime)
StateLabel
setEndGameState
in class StateLabel
topClockOutOfTime
- true if the top clock is all zeros, false otherwisepublic void setActiveGameState(TimingStyle timingStyle)
StateLabel
setActiveGameState
in class StateLabel
timingStyle
- The currently used timing stylepublic void setStartGameState()
StateLabel
setStartGameState
in class StateLabel
public byte getID()
getID
in interface superwaba.ext.xplat.io.Storable
getID
in class StateLabel
public superwaba.ext.xplat.io.Storable getInstance()
getInstance
in interface superwaba.ext.xplat.io.Storable
getInstance
in class StateLabel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |