Class PPrefsGeneral

All Implemented Interfaces:
PreferencesPage, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PPrefsGeneral extends JPanel implements PreferencesPage, ActionListener
Version:
%version: 8 % %date_modified: Tue Oct 16 19:00:11 2001 %
Author:
kapono
See Also:
  • Constructor Details

    • PPrefsGeneral

      public PPrefsGeneral()
  • Method Details

    • displayDefaults

      public void displayDefaults()
      Called to indicate the implementing UI should read the values out of the global data store and re-apply them to the UI.
      Specified by:
      displayDefaults in interface PreferencesPage
    • storePrefs

      public void storePrefs()
      Called to indicate the implementing UI should save any modified properties out to the global data store.
      Specified by:
      storePrefs in interface PreferencesPage
    • getHelpID

      public String getHelpID()
      Description copied from interface: PreferencesPage
      Returns the help ID for this preferences page
      Specified by:
      getHelpID in interface PreferencesPage
      Returns:
      the helpID for this page
    • validatePage

      public boolean validatePage()
      Called before storePrefs() to allow the page an opportunity to validate itself. Return false if any property is not set correctly.
      Specified by:
      validatePage in interface PreferencesPage
      Returns:
      true if the page is valid and the properties contained within can be saved; false otherwise
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener