Package repast.simphony.ui.plugin.editor
Interface OptionsDialogContent
- All Known Implementing Classes:
OptionsContentWizardStepAdapter
public interface OptionsDialogContent
Interface for classes that wish to provide content in an options dialog.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply()Invoked when the apply button is pressed.voidcancel()Invoked when the cancel button is pressed.getPanel()Gets the panel to be shown in the dialog.voidok()Invoked when ok button is pressed.voidselected()Invoked when this OptionsDialogContent is selected.
-
Method Details
-
selected
void selected()Invoked when this OptionsDialogContent is selected. -
ok
Invoked when ok button is pressed.- Throws:
InvalidStateException- if the action taken fails.
-
apply
Invoked when the apply button is pressed.- Throws:
InvalidStateException- if the apply fails.
-
cancel
void cancel()Invoked when the cancel button is pressed. -
getPanel
JPanel getPanel()Gets the panel to be shown in the dialog.- Returns:
- the panel to be shown in the dialog.
-