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 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 property options.name.label.
      Returns:
      DOCUMENT ME!
    • getCategory

      String getCategory()
    • getOptionName

      String getOptionName()
    • init

      void init​(JComponent options)
      This method is called every time this option pane is displayed. The AbstractOptionPane class uses this to create the option pane's GUI only when needed.
    • save

      void save​(JComponent options)
      Called when the options dialog's "ok" button is clicked. This should save any properties being edited in this option pane.