Package org.graffiti.options
Interface OptionPane
- All Known Implementing Classes:
AbstractOptionPane,AddonsOptionsPane,ButtonOverlayView,IPKGraffitiView,LoadSaveOptionsPane,OverviewOptionPane,ParameterOptionPane,ShortcutsOptionPane,ToolBarOptionPane
public interface OptionPane
The interface all option panes must implement. The name of an option
pane is returned by the
getName() method. the label displayed in
the option pane's tab is obtained from the
options.name.label property.
Note that in most cases, it is easier to extend
AbstractOptionPane.
- Version:
- $Revision: 1.4 $
- Author:
- flierl
-
Method Summary
Modifier and Type Method Description StringgetCategory()StringgetName()Returns the internal name of this option pane.JComponentgetOptionDialogComponent()Returns the component, that should be displayed for this option pane.StringgetOptionName()voidinit(JComponent options)This method is called every time this option pane is displayed.voidsave(JComponent options)Called when the options dialog's "ok" button is clicked.
-
Method Details
-
getOptionDialogComponent
JComponent getOptionDialogComponent()Returns the component, that should be displayed for this option pane.- Returns:
- DOCUMENT ME!
-
getName
String getName()Returns the internal name of this option pane. The option pane's label is set to the value of the propertyoptions.name.label.- Returns:
- DOCUMENT ME!
-
getCategory
String getCategory() -
getOptionName
String getOptionName() -
init
This method is called every time this option pane is displayed. TheAbstractOptionPaneclass uses this to create the option pane's GUI only when needed. -
save
Called when the options dialog's "ok" button is clicked. This should save any properties being edited in this option pane.
-