net.thestump.ghronos.ui.state
Class BoggleStateLabel

java.lang.Object
  extended bywaba.ui.Control
      extended bywaba.ui.Label
          extended bynet.thestump.ghronos.ui.state.StateLabel
              extended bynet.thestump.ghronos.ui.state.BoggleStateLabel
All Implemented Interfaces:
waba.fx.ISurface, superwaba.ext.xplat.io.Storable

public class BoggleStateLabel
extends StateLabel

Provides custom labeling for the Boggle timing style

Author:
Christopher C. Stump

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

ID

public static final byte ID
Storable/factory id

See Also:
Constant Field Values
Constructor Detail

BoggleStateLabel

public BoggleStateLabel()
Method Detail

setEndGameState

public void setEndGameState(boolean topClockOutOfTime)
Description copied from class: StateLabel
Controls the status of the end of a game

Overrides:
setEndGameState in class StateLabel
Parameters:
topClockOutOfTime - true if the top clock is all zeros, false otherwise

setActiveGameState

public void setActiveGameState(TimingStyle timingStyle)
Description copied from class: StateLabel
Controls the status of a game in progress

Overrides:
setActiveGameState in class StateLabel
Parameters:
timingStyle - The currently used timing style

setStartGameState

public void setStartGameState()
Description copied from class: StateLabel
Controls the status of the beginning of a game

Overrides:
setStartGameState in class StateLabel

getID

public byte getID()
Specified by:
getID in interface superwaba.ext.xplat.io.Storable
Overrides:
getID in class StateLabel

getInstance

public superwaba.ext.xplat.io.Storable getInstance()
Specified by:
getInstance in interface superwaba.ext.xplat.io.Storable
Overrides:
getInstance in class StateLabel


Copyright © 2004 Christopher C. Stump. All Rights Reserved.