Interface PreferenceSetting

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addGui​(PreferenceTabbedPane gui)
      Add the GUI elements to the dialog.
      boolean isExpert()
      Called to know if the preferences tab has only to be displayed in expert mode.
      boolean ok()
      Called when OK is pressed to save the setting in the preferences file.
    • Method Detail

      • addGui

        void addGui​(PreferenceTabbedPane gui)
        Add the GUI elements to the dialog. The elements should be initialized after the current preferences.
        Parameters:
        gui - the preferences tab pane
      • ok

        boolean ok()
        Called when OK is pressed to save the setting in the preferences file. Return true when restart is required.
        Returns:
        true if restart is required
      • isExpert

        boolean isExpert()
        Called to know if the preferences tab has only to be displayed in expert mode.
        Returns:
        true if the tab has only to be displayed in expert mode, false otherwise.