fdda.dialog.java2d
Class Java2DFactory

java.lang.Object
  |
  +--fdda.dialog.DialogFactory
        |
        +--fdda.dialog.java2d.Java2DFactory

public class Java2DFactory
extends DialogFactory

Factory for the java2d and swing components.

Author:
Jörg Rüdenauer

Constructor Summary
Java2DFactory()
           
 
Method Summary
 GraphicsControl createGraphicsControl()
          Creates an instance of a graphics control object.
 String getDialogComponent()
          Returns "swing".
 String getGraphicsComponent()
          Returns "java2d".
 void showAboutDialog()
          Displays the about dialog.
 void showAlgorithmDialog()
          Displays the algorithm selection dialog.
 void showOptionsDialog()
          Displays the options dialog.
 void showStatisticsDialog(Statistics statistics)
          Displays an instance of the statistics dialog.
 
Methods inherited from class fdda.dialog.DialogFactory
getInstance, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java2DFactory

public Java2DFactory()
Method Detail

createGraphicsControl

public GraphicsControl createGraphicsControl()
Description copied from class: DialogFactory
Creates an instance of a graphics control object.

Specified by:
createGraphicsControl in class DialogFactory
Returns:
graphics control

getDialogComponent

public String getDialogComponent()
Returns "swing".

Specified by:
getDialogComponent in class DialogFactory
Returns:
description
See Also:
DialogFactory.getDialogComponent()

getGraphicsComponent

public String getGraphicsComponent()
Returns "java2d".

Specified by:
getGraphicsComponent in class DialogFactory
Returns:
description
See Also:
DialogFactory.getGraphicsComponent()

showOptionsDialog

public void showOptionsDialog()
Description copied from class: DialogFactory
Displays the options dialog.

Specified by:
showOptionsDialog in class DialogFactory

showStatisticsDialog

public void showStatisticsDialog(Statistics statistics)
Description copied from class: DialogFactory
Displays an instance of the statistics dialog.

Specified by:
showStatisticsDialog in class DialogFactory
Parameters:
statistics - the statistics (data for the dialog)

showAlgorithmDialog

public void showAlgorithmDialog()
Description copied from class: DialogFactory
Displays the algorithm selection dialog.

Specified by:
showAlgorithmDialog in class DialogFactory

showAboutDialog

public void showAboutDialog()
Description copied from class: DialogFactory
Displays the about dialog.

Specified by:
showAboutDialog in class DialogFactory


API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.