All Packages Class Hierarchy This Package Previous Next Index
Class semper.tinguin2.EditField
java.lang.Object
|
+----netscape.application.View
|
+----netscape.application.ContainerView
|
+----semper.tinguin2.EditField
- public class EditField
- extends ContainerView
- implements Target, Result
Creates an EditField within a View for use with a FreeDialog.
- Version:
- 0.1
- Author:
- Christian Haag
- See Also:
- FreeDialog
-
EditField(String, String)
- Creates an EditField.
-
EditField(String, String, boolean)
- Creates an EditField.
-
EditField(String, String, boolean, boolean)
- Creates an EditField.
-
getEditValue()
-
-
getResult()
- Implementation of the Result Interface.
-
getTextField()
-
-
inputIsEmpty()
-
-
isMustInput()
-
-
performCommand(String, Object)
- Implementation of the Target Interface.
EditField
public EditField(String text,
String edit)
- Creates an EditField.
- Parameters:
- text - The text at the left side of the editable
field.
- edit - The text displayed by the editable field.
EditField
public EditField(String text,
String edit,
boolean isPassword)
- Creates an EditField.
- Parameters:
- text - The text at the left side of the editable
field.
- edit - The text displayed by the editable field.
- mustInput - The dialog only ends if the user enters something
EditField
public EditField(String text,
String edit,
boolean isPassword,
boolean mustInput)
- Creates an EditField.
- Parameters:
- text - The text at the left side of the editable
field.
- edit - The text displayed by the editable field.
- mustInput - The dialog only ends if the user enters something
- isPassword - The input is hidden. Only * are shown instead.
isMustInput
public boolean isMustInput()
- Returns:
- true if the EditField is a must input field
inputIsEmpty
public boolean inputIsEmpty()
- Returns:
- true if the nothing is input
getTextField
public String getTextField()
- Returns:
- The value of the text before the edit field
getEditValue
public String getEditValue()
- Returns:
- The value of the editable text
getResult
public Hashtable getResult()
- Implementation of the Result Interface.
performCommand
public void performCommand(String command,
Object data)
- Implementation of the Target Interface. You should never
call this method.
All Packages Class Hierarchy This Package Previous Next Index