|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--waba.ui.Control | +--waba.ui.Label | +--wabadma.ui.NumericLabel
A waba label control extended with methods to get and set int values. No attempt to validate the values is (yet) done.
Fields inherited from class waba.ui.Label |
CENTER, LEFT, RIGHT |
Fields inherited from class waba.ui.Control |
height, next, parent, prev, width, x, y |
Constructor Summary | |
NumericLabel(int i)
construct a new NumericLabel with an int |
Method Summary | |
int |
getInt()
get the int value of the control. |
void |
setInt(int i)
set the control to the value of an int. |
Methods inherited from class waba.ui.Label |
getText, onPaint, setText |
Methods inherited from class waba.ui.Control |
addTimer, contains, createGraphics, getFontMetrics, getNext, getParent, getRect, onEvent, postEvent, removeTimer, repaint, setRect |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NumericLabel(int i)
Method Detail |
public int getInt()
public void setInt(int i)
i
- value to set control to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |