Interface Preferencesable

All Known Subinterfaces:
ResourceSelector<R>

public interface Preferencesable
Indicates that an object can store and retrieve preferences.
Author:
Garret Wilson
  • Method Details

    • getPreferences

      Preferences getPreferences() throws SecurityException
      Returns:
      The preferences that should be used for this object, or the default preferences for this class if no preferences are specifically set.
      Throws:
      SecurityException - Thrown if a security manager is present and it denies RuntimePermission("preferences").
    • setPreferences

      void setPreferences(Preferences preferences)
      Sets the preferences to be used for this panel.
      Parameters:
      preferences - The preferences that should be used for this panel, or null if the default preferences for this class should be used