|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.dialog.OptionsDialogControl
Controls the option dialog
Constructor Summary | |
OptionsDialogControl(Dialog dialog)
Constructor. |
Method Summary | |
boolean |
canClose(boolean closedByOK)
Returns whether the dialog can be closed. |
void |
executeCommand(int command)
Executes a command (e.g. the user pressed a button). |
String |
getErrors()
If the dialog can't be closed because data is not valid, this method returns an error message for the user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OptionsDialogControl(Dialog dialog)
dialog
- the options dialogMethod Detail |
public void executeCommand(int command) throws NoSuchCommandException
DialogControl
executeCommand
in interface DialogControl
command
- the command ID
NoSuchCommandException
- if no such command is supported by this
dialog controlpublic boolean canClose(boolean closedByOK)
DialogControl
canClose
in interface DialogControl
closedByOK
- whether the user closed the dialog with a confirming
choice
public String getErrors()
DialogControl
getErrors
in interface DialogControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |