|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic interface for dialogs.
Method Summary | |
void |
disableCommand(int command)
Disables the execution of a command (e.g. disables a button) |
void |
enableCommand(int command)
Enables the execution of a command (e.g. enables a button) |
Object |
getData()
Returns the currently selected or entered data |
void |
updateObject(Object data)
Updates the dialog with the given data (changes displayed values) |
Method Detail |
public void updateObject(Object data)
data
- the datapublic Object getData()
public void disableCommand(int command) throws NoSuchCommandException
command
- the command ID
NoSuchCommandException
- if no such command is supported by the
dialogpublic void enableCommand(int command) throws NoSuchCommandException
command
- the command ID
NoSuchCommandException
- if no such command is supported by the
dialog
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |