|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.aplu.util.InputDialog
public class InputDialog
Modal input dialog.
If the user enters a value with wrong type, the dialog will reappear.
All methods run in the Event Dispatch Thread (EDT).
Constructor Summary | |
---|---|
InputDialog()
Construct dialog with default title and prompt. |
|
InputDialog(java.lang.String title,
java.lang.String prompt)
Construct dialog with given title and prompt. |
Method Summary | |
---|---|
java.lang.Boolean |
getBoolean()
Show the dialog to get a boolean. |
java.lang.Double |
getDouble()
Show the dialog to get a double value. |
java.lang.Integer |
getInt()
Show the dialog to get an integer value. |
java.lang.Long |
getLong()
Show the dialog to get a long value. |
java.lang.String |
getString()
Show the dialog to get a string value. |
boolean |
readBoolean()
Show the dialog to read a boolean. |
double |
readDouble()
Show the dialog to read a double value. |
int |
readInt()
Show the dialog to read an integer value. |
long |
readLong()
Show the dialog to read a long value. |
java.lang.String |
readString()
Show the dialog to get a string value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputDialog()
public InputDialog(java.lang.String title, java.lang.String prompt)
Method Detail |
---|
public java.lang.String getString()
readString()
public java.lang.String readString()
getString()
public java.lang.Integer getInt()
public int readInt()
public java.lang.Double getDouble()
public double readDouble()
public java.lang.Long getLong()
public long readLong()
public java.lang.Boolean getBoolean()
public boolean readBoolean()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |