Class OptionsPane

All Implemented Interfaces:
ActionListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

@PublicApi public class OptionsPane extends JDialog implements ActionListener, WindowListener
Displays plugin parameter tabbed panes.
See Also:
  • Constructor Details

    • OptionsPane

      public OptionsPane(String key, String title, ParameterPanelHandler parameterPanel, ActionListener okActionListener) throws PluginException
      Creates an options pane: plugin parameter panel with "Display", "OK", "Cancel" buttons. The "OK", "Cancel" buttons are handled internally, 'displayActionListener' handles the "Display" button. A shared, hidden frame will be set as the owner of the dialog.
      Parameters:
      key - is the plugin key
      title - is the plugin title (usually menu string)
      parameterPanel - is the plugin parameter panel
      okActionListener - is the event handler of the "Display" button with action command "plugin_"+key, no "Display" button is put if set to null
      Throws:
      PluginException
    • OptionsPane

      public OptionsPane(Dialog owner, String key, String title, ParameterPanelHandler parameterPanel, ActionListener okActionListener) throws PluginException
      Creates an options pane: plugin parameter panel with "Display", "OK", "Cancel" buttons. The "OK", "Cancel" buttons are handled internally, 'displayActionListener' handles the "Display" button.
      Parameters:
      owner - the non-null Dialog from which the dialog is displayed
      key - is the plugin key
      title - is the plugin title (usually menu string)
      parameterPanel - is the plugin parameter panel
      okActionListener - is the event handler of the "Display" button with action command "plugin_"+key, no "Display" button is put if set to null
      Throws:
      PluginException
    • OptionsPane

      public OptionsPane(Frame owner, String key, String title, ParameterPanelHandler parameterPanel, ActionListener okActionListener) throws PluginException
      Creates an options pane: plugin parameter panel with "Display", "OK", "Cancel" buttons. The "OK", "Cancel" buttons are handled internally, 'displayActionListener' handles the "Display" button.
      Parameters:
      owner - the Frame from which the dialog is displayed
      key - is the plugin key
      title - is the plugin title (usually menu string)
      parameterPanel - is the plugin parameter panel
      okActionListener - is the event handler of the "Display" button with action command "plugin_"+key, no "Display" button is put if set to null
      Throws:
      PluginException
  • Method Details