Class OptionsPanelV2

All Implemented Interfaces:
OptionsPanel, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
ConfigTooltipPanel, ProxySettingsOptionsPanel

public abstract class OptionsPanelV2 extends JPanel implements OptionsPanel
TODO Purpose of
See Also:
  • Constructor Details

    • OptionsPanelV2

      public OptionsPanelV2()
  • Method Details

    • getName

      public abstract String getName()
      Get the name for this options panel. It will be visible in its tab.
      Overrides:
      getName in class Component
    • getIcon

      public abstract Icon getIcon()
      Get the icon associated to this options panel. It will be visible in its tab

      Return null if there is no icon associated to it

    • init

      public abstract void init()
      Notifies this panel that the OptionsDialog has been (re-)opened
      Specified by:
      init in interface OptionsPanel
    • validateInput

      public abstract String validateInput()
      Specified by:
      validateInput in interface OptionsPanel
      Returns:
      an error message if a field is not valid; otherwise, null
    • okPressed

      public abstract void okPressed()
      Notifies this panel that it should commit its entries to the system
      Specified by:
      okPressed in interface OptionsPanel