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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply()
Invoked when the apply button is pressed.void
cancel()
Invoked when the cancel button is pressed.JPanel
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 Detail
-
selected
void selected()
Invoked when this OptionsDialogContent is selected.
-
ok
void ok() throws InvalidStateException
Invoked when ok button is pressed.- Throws:
InvalidStateException
- if the action taken fails.
-
apply
void apply() throws InvalidStateException
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.
-
-