|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PreferencesSettable
An interface that is implemented by components that can save their settings to user preferences.
| Method Summary | |
|---|---|
void |
savePreferences(java.util.prefs.Preferences prefs)
Save the current settings to the user Preferences at the given node name. |
void |
setDefaults()
Set the default values. |
void |
showError(java.lang.String errorMessage)
Show an error message (in case the current settings are invalid). |
| Method Detail |
|---|
void setDefaults()
void savePreferences(java.util.prefs.Preferences prefs)
throws com.xinapse.util.InvalidArgumentException
prefs - the java.util.prefs.Preferences to which the current settings
will be saved.
InvalidArgumentException - if the current settings are invalid and cannot be
saved to the preferences.void showError(java.lang.String errorMessage)
errorMessage - the message to show.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||