|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Generic interface for classes that control dialogs.
| 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. |
| Method Detail |
public void executeCommand(int command)
throws NoSuchCommandException
command - the command ID
NoSuchCommandException - if no such command is supported by this
dialog controlpublic boolean canClose(boolean closedByOK)
closedByOK - whether the user closed the dialog with a confirming
choice
public String getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||