wheelsunh.users
Class IntInputBox

java.lang.Object
  extended by wheelsunh.etc.AbstractGraphic
      extended by wheelsunh.users.AbstractShape
          extended by wheelsunh.users.Shape
              extended by wheelsunh.users.RectangularShape
                  extended by wheelsunh.users.Rectangle
                      extended by wheelsunh.users.InputBox
                          extended by wheelsunh.users.IntInputBox
All Implemented Interfaces:
AdvancedColorable, Colorable, CustomGraphic, Locatable, Rotatable, Sizeable

public class IntInputBox
extends InputBox

Subclass of InputBox which only accepts integers


Field Summary
 
Fields inherited from class wheelsunh.users.InputBox
_text, DEFAULT_BORDER_WIDTH, DEFAULT_WIDTH
 
Fields inherited from class wheelsunh.users.Shape
_c, _dp, _shape, DEFAULT_COLOR
 
Fields inherited from class wheelsunh.users.AbstractShape
_rot
 
Constructor Summary
IntInputBox()
           
 
Method Summary
protected  void parse(java.lang.String s)
          Parses input.
 
Methods inherited from class wheelsunh.users.InputBox
actualPaint, getBounds, hide, setBorderWidth, setColor, setFillColor, setLocation, setRotation, setSize, setText, setWidth, show
 
Methods inherited from class wheelsunh.users.RectangularShape
getFillColor, getFrameColor, getFrameThickness, getHeight, getLocation, getSize, getWidth, getXLocation, getYLocation, setFrameColor, setFrameThickness, setLocation, setSize
 
Methods inherited from class wheelsunh.users.Shape
contains, getColor, getRotation, paint
 
Methods inherited from class wheelsunh.users.AbstractShape
boundsIntersects, center, distance, getCenter, getCenterX, getCenterY, getIntersection, intersects, intersects, setCenter
 
Methods inherited from class wheelsunh.etc.AbstractGraphic
mouseClicked, mouseDragged, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wheelsunh.Colorable
getColor
 

Constructor Detail

IntInputBox

public IntInputBox()
Method Detail

parse

protected void parse(java.lang.String s)
Parses input. Only accepts integers.

Specified by:
parse in class InputBox