Module jEdit

Class OptionGroupPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener, OptionPane

public class OptionGroupPane extends AbstractOptionPane implements TreeSelectionListener
An option pane for displaying groups of options. There is code here which was taken from OptionsDialog, but this class is a component which can be embedded in other Dialogs. Shows a JTree on the left, and an option pane on the right, with a splitter between.
Author:
ezust
See Also:
  • Constructor Details

    • OptionGroupPane

      public OptionGroupPane(OptionGroup group)
  • Method Details

    • getTitle

      public String getTitle()
    • valueChanged

      public void valueChanged(TreeSelectionEvent evt)
      Specified by:
      valueChanged in interface TreeSelectionListener
    • _init

      protected void _init()
      Description copied from class: AbstractOptionPane
      This method should create and arrange the components of the option pane and initialize the option data displayed to the user. This method is called when the option pane is first displayed, and is not called again for the lifetime of the object.
      Overrides:
      _init in class AbstractOptionPane
    • _save

      protected void _save()
      Description copied from class: AbstractOptionPane
      Called when the options dialog's "ok" button is clicked. This should save any properties being edited in this option pane.
      Overrides:
      _save in class AbstractOptionPane