wabadma.ui
Class NumericEdit

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Edit
              |
              +--wabadma.ui.NumericEdit

public class NumericEdit
extends waba.ui.Edit

A waba edit control extended with methods to get and set int values. No attempt to validate the values is (yet) done.

Version:
0.1, 2000 Nov 07
Author:
David M. Archer

Fields inherited from class waba.ui.Control
height, next, parent, prev, width, x, y
 
Constructor Summary
NumericEdit()
           
 
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.Edit
getText, onEvent, onPaint, setText
 
Methods inherited from class waba.ui.Control
addTimer, contains, createGraphics, getFontMetrics, getNext, getParent, getRect, postEvent, removeTimer, repaint, setRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericEdit

public NumericEdit()
Method Detail

getInt

public int getInt()
get the int value of the control.

setInt

public void setInt(int i)
set the control to the value of an int.
Parameters:
i - value to set control to