net.thestump.ghronos.ui.state
Class CanadianBYStateLabel

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

public class CanadianBYStateLabel
extends StateLabel

Provides custom labeling for the Canadian Byo-Yomi 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
CanadianBYStateLabel()
           
 
Method Summary
 byte getID()
           
 superwaba.ext.xplat.io.Storable getInstance()
           
 void setActiveGameState(TimingStyle timingStyle)
          Controls the status of a game in progress
 
Methods inherited from class net.thestump.ghronos.ui.state.StateLabel
calculateMove, instance, loadState, saveState, setEndGameState, setPauseState, setStartGameState
 
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

CanadianBYStateLabel

public CanadianBYStateLabel()
Method Detail

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

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.