Class DecreaseClock

  extended bywaba.ui.Control
      extended bywaba.ui.Container
          extended bynet.thestump.ghronos.ui.clock.Clock
              extended bynet.thestump.ghronos.ui.clock.DecreaseClock
All Implemented Interfaces:
Direct Known Subclasses:
DelayClock, ModalClock

public class DecreaseClock
extends Clock

A clock whose time ticks down

Christopher C. Stump

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
Method Summary
 byte getID()
protected  void tick()
          Ticks the clock.
Methods inherited from class net.thestump.ghronos.ui.clock.Clock
addTimer, equals, getName, getTime, isOutOfTime, loadState, onEvent, onStart, pause, saveState, 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
unique ID for this clock

See Also:
Constant Field Values
Constructor Detail


public DecreaseClock()
Method Detail


public byte getID()
Specified by:
getID in interface
getID in class Clock


public getInstance()
Specified by:
getInstance in interface
getInstance in class Clock


protected void tick()
Description copied from class: Clock
Ticks the clock. Does nothing by default. Subclass must override.

tick in class Clock

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