All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class corejava.IntTextField

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.TextComponent
                   |
                   +----java.awt.TextField
                           |
                           +----corejava.IntTextField

public class IntTextField
extends TextField
implements TextListener

Constructor Index

 o IntTextField(int, int)
Creates the text field

Method Index

 o getValue()
Get the integer data value
 o textValueChanged(TextEvent)

Constructors

 o IntTextField
 public IntTextField(int defval,
                     int size)
Creates the text field

Parameters:
defval - an integer default,
size - the size of the text field

Methods

 o textValueChanged
 public void textValueChanged(TextEvent evt)
 o getValue
 public int getValue()
Get the integer data value

Returns:
the integer data value

All Packages  Class Hierarchy  This Package  Previous  Next  Index