|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kirk.gui.dialog.InputRetriever
This class retrieves the value inputted in an InputDialog
.
You retrieve the String
with
InputRetriever.getInputValue(Frame owner, String message, int columns)
.
InputDialog
Field Summary | |
protected java.lang.String |
value
The value retrieved from the InputDialog . |
Constructor Summary | |
protected |
InputRetriever(java.awt.Frame owner,
java.lang.String message,
int width,
int height,
int columns)
Constructs a new InputRetriever . |
Method Summary | |
protected java.lang.String |
getInputValue()
Returns the value retrieved from the InputDialog . |
static java.lang.String |
getInputValue(java.awt.Frame owner,
java.lang.String message,
int width,
int height,
int columns)
Creates an InputRetriever and retrieves its value. |
void |
setInputValue(java.lang.Object value)
Sets the input value to the passed value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String value
InputDialog
.
Constructor Detail |
protected InputRetriever(java.awt.Frame owner, java.lang.String message, int width, int height, int columns)
InputRetriever
.
Method Detail |
public void setInputValue(java.lang.Object value)
InputDialog
that was constructed by this class should
use this method.
setInputValue
in interface InputAcceptor
value
- The value from the InputDialog
.protected java.lang.String getInputValue()
InputDialog
.
InputDialog
.public static java.lang.String getInputValue(java.awt.Frame owner, java.lang.String message, int width, int height, int columns)
InputRetriever
and retrieves its value.
owner
- The Frame
a Dialog
has to be popped up
on.message
- The message to be displayed on the popup.columns
- The amount of characters that have to fit in the input field.
String
that contains the contents of the input field.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |