|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.dialog.StatisticsDialogControl
Controls the statistics dialog.
Field Summary | |
static int |
COMMAND_REFRESH
Command: refresh the statistics. |
Constructor Summary | |
StatisticsDialogControl(Dialog dialog,
Statistics statistics)
Constructor |
Method Summary | |
boolean |
canClose(boolean closedByOK)
Always returns true. |
void |
executeCommand(int command)
Executes a command (e.g. the user pressed a button). |
String |
getErrors()
Returns null (no errors ever). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COMMAND_REFRESH
Constructor Detail |
public StatisticsDialogControl(Dialog dialog, Statistics statistics)
dialog
- the dialogstatistics
- the statisticsMethod 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)
canClose
in interface DialogControl
closedByOK
- whether the user closed the dialog with a confirming
choice
DialogControl.canClose(boolean)
public String getErrors()
getErrors
in interface DialogControl
DialogControl.getErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |