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
-
IntTextField(int, int)
- Creates the text field
-
getValue()
- Get the integer data value
-
textValueChanged(TextEvent)
-
IntTextField
public IntTextField(int defval,
int size)
- Creates the text field
- Parameters:
- defval - an integer default,
- size - the size of the text field
textValueChanged
public void textValueChanged(TextEvent evt)
getValue
public int getValue()
- Get the integer data value
- Returns:
- the integer data value
All Packages Class Hierarchy This Package Previous Next Index