Interface OptionsDialogContent

All Known Implementing Classes:
OptionsContentWizardStepAdapter

public interface OptionsDialogContent
Interface for classes that wish to provide content in an options dialog.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the apply button is pressed.
    void
    Invoked when the cancel button is pressed.
    Gets the panel to be shown in the dialog.
    void
    ok()
    Invoked when ok button is pressed.
    void
    Invoked when this OptionsDialogContent is selected.
  • Method Details

    • selected

      void selected()
      Invoked when this OptionsDialogContent is selected.
    • ok

      void ok() throws InvalidStateException
      Invoked when ok button is pressed.
      Throws:
      InvalidStateException - if the action taken fails.
    • apply

      void apply() throws InvalidStateException
      Invoked when the apply button is pressed.
      Throws:
      InvalidStateException - if the apply fails.
    • cancel

      void cancel()
      Invoked when the cancel button is pressed.
    • getPanel

      JPanel getPanel()
      Gets the panel to be shown in the dialog.
      Returns:
      the panel to be shown in the dialog.