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 TypeMethodDescriptionvoid
apply()
Invoked when the apply button is pressed.void
cancel()
Invoked when the cancel button is pressed.getPanel()
Gets the panel to be shown in the dialog.void
ok()
Invoked when ok button is pressed.void
selected()
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.
-