Class misc.textfield
public class textfield extends TextField {}
This is an extension of java.awt.TextField with some added
functionalities.
Field Index:
- boolean init
- This indicates whether the textfield has been initialized or
not. That is it
- indicates whether the user has pressed return at least once or not.
This
- is useful when we have more than one textfield in an application
applet.
- int val
- This holds the parsed int value that was entered by the user.
Method Index:
- void setVal( int value )
- This sets the val in to value.
- int getValue()
- void initialize()
- This initializes the textfield.
- void uninitialize()
- This uninitializes the textfield. Used when the user enters
a wrong entry.
- boolean is_initialized()
- This checks whether the textfield is initialized.
algebra Package / misc
Package / Making of the project
/ Project Home Page / My
Home Page