fdda.dialog
Interface Dialog

All Known Implementing Classes:
AlgorithmDialog, OptionsDialog, StatisticsDialog

public interface Dialog

Generic interface for dialogs.

Author:
Jörg Rüdenauer

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

updateObject

public void updateObject(Object data)
Updates the dialog with the given data (changes displayed values)

Parameters:
data - the data

getData

public Object getData()
Returns the currently selected or entered data

Returns:
the data

disableCommand

public void disableCommand(int command)
                    throws NoSuchCommandException
Disables the execution of a command (e.g. disables a button)

Parameters:
command - the command ID
Throws:
NoSuchCommandException - if no such command is supported by the dialog

enableCommand

public void enableCommand(int command)
                   throws NoSuchCommandException
Enables the execution of a command (e.g. enables a button)

Parameters:
command - the command ID
Throws:
NoSuchCommandException - if no such command is supported by the dialog


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