Package com.globalmentor.util.prefs
Interface Preferencesable
- All Known Subinterfaces:
ResourceSelector<R>
public interface Preferencesable
Indicates that an object can store and retrieve preferences.
- Author:
- Garret Wilson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPreferences
(Preferences preferences) Sets the preferences to be used for this panel.
-
Method Details
-
getPreferences
- 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 deniesRuntimePermission("preferences")
.
-
setPreferences
Sets the preferences to be used for this panel.- Parameters:
preferences
- The preferences that should be used for this panel, ornull
if the default preferences for this class should be used
-