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

Constructor Index

 o DialogResult(boolean, Object)
Construct a dialog result

Method Index

 o ok()
Is the result valid? It is valid if the users pressed the ok button
 o result()
Return the actul result of the dialog.
 o toString()
Convert to String

Constructors

 o 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

Methods

 o 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
 o 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.
 o toString
  public String toString()
Convert to String
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index