public class SimpleDialogHandler
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
SimpleDialogHandler() |
Modifier and Type | Method and Description |
---|---|
void |
makeErrorDialog(java.lang.String message)
Show an error dialog.
|
java.lang.Double |
makeInputDialog(NumberField.DoubleField field)
Show an input dialog that gets a double within a certain range.
|
java.lang.Integer |
makeInputDialog(NumberField.IntegerField field)
Show an input dialog that gets an integer within a certain range.
|
void |
makeMessageDialog(java.lang.Object message)
Show a message dialog.
|
void |
makeMessageDialog(java.lang.String msg)
Show a message dialog.
|
java.lang.String |
makeThreeChoicesDialog(java.lang.Object message)
Show a dialog that gives the user one of three choices to make.
|
java.lang.String |
makeThreeChoicesDialog(java.lang.String msg)
Show a dialog that gives the user one of three choices to make.
|
java.lang.String |
makeTwoChoicesDialog(java.lang.Object message)
Show a dialog that gives the user one of two choices to make.
|
java.lang.String |
makeTwoChoicesDialog(java.lang.String msg)
Show a dialog that gives the user one of two choices to make.
|
void |
makeWarningDialog(java.lang.String message)
Show a warning dialog.
|
private static final long serialVersionUID
public void makeErrorDialog(java.lang.String message)
message
- The message on the dialog.public java.lang.Double makeInputDialog(NumberField.DoubleField field)
field
- The double input field.public java.lang.Integer makeInputDialog(NumberField.IntegerField field)
field
- The integer input field.public void makeMessageDialog(java.lang.Object message)
message
- The message on the dialog.public void makeMessageDialog(java.lang.String msg)
msg
- The message on the dialog.public java.lang.String makeThreeChoicesDialog(java.lang.Object message)
message
- The message on the dialog.public java.lang.String makeThreeChoicesDialog(java.lang.String msg)
msg
- The message on the dialog.public java.lang.String makeTwoChoicesDialog(java.lang.Object message)
message
- The message on the dialog.public java.lang.String makeTwoChoicesDialog(java.lang.String msg)
msg
- The message on the dialog.public void makeWarningDialog(java.lang.String message)
message
- The message on the dialog.