|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.dialog.DialogFactory
Factory and interface of the dialog component. Also provides the graphics control component. For different types of dialogs or graphics, different factories may be used.
Constructor Summary | |
DialogFactory()
|
Method Summary | |
abstract GraphicsControl |
createGraphicsControl()
Creates an instance of a graphics control object. |
abstract String |
getDialogComponent()
Returns a short description of the dialog component, e.g. |
abstract String |
getGraphicsComponent()
Returns a short description of the used graphics component, e.g. |
static DialogFactory |
getInstance()
Returns the factory. |
static void |
setFactory(DialogFactory factory)
Sets the factory and initializes the component |
abstract void |
showAboutDialog()
Displays the about dialog. |
abstract void |
showAlgorithmDialog()
Displays the algorithm selection dialog. |
abstract void |
showOptionsDialog()
Displays the options dialog. |
abstract void |
showStatisticsDialog(Statistics statistics)
Displays an instance of the statistics dialog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DialogFactory()
Method Detail |
public static final void setFactory(DialogFactory factory)
factory
- the factorypublic static final DialogFactory getInstance()
public abstract GraphicsControl createGraphicsControl()
public abstract String getDialogComponent()
public abstract String getGraphicsComponent()
public abstract void showOptionsDialog()
public abstract void showStatisticsDialog(Statistics statistics)
statistics
- the statistics (data for the dialog)public abstract void showAlgorithmDialog()
public abstract void showAboutDialog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |