Class semper.tinguin.DialogResult
All Packages Class Hierarchy This Package Previous Next Index
Class semper.tinguin.DialogResult
java.lang.Object
|
+----semper.tinguin.DialogResult
- public class DialogResult
- extends Object
This class represents a result of a dialog, namely the form dialogs
and the option dialogs.
- Version:
- 0.4
- Author:
- Tobias Himstedt
- See Also:
- evalForm, selectObject, formMessage
-
DialogResult(boolean, Object)
- Construct a dialog result
-
ok()
- Is the result valid? It is valid if the users
pressed the ok button
-
result()
- Return the actul result of the dialog.
-
toString()
- Convert to String
DialogResult
public DialogResult(boolean ok,
Object result)
- Construct a dialog result
- Parameters:
- ok - - Is the result valid, meaning: Did the
user selected the ok button?
- result - - Represents the actual dialog
result
ok
public final boolean ok()
- Is the result valid? It is valid if the users
pressed the ok button
- Returns:
- True if the user pressed ok, false
otherwise
result
public final Object result()
- Return the actul result of the dialog. This can
be a single object or a Hashtable, depending
on the dialog.
toString
public String toString()
- Convert to String
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index