|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the methods needed by the
PreferenceDialog to be able to display and work on the settings.
| Method Summary | |
void |
applyChanges()
After an user has made changes in the PreferencesDialog this method is called to make the values the application can retrieve by calling getValue valid. |
void |
cancelChanges()
Cancels all changes made since the last call to applyChanges(). |
void |
flush()
Saves the preferences-file. |
AttributeList |
getAttributeList()
Returns the AttributeList holding the preference settings. |
PreferenceEvent[] |
getChangedPreferences()
Returns an array of PreferencesEvents. |
AttributeSet |
getDefaultAttributeSet(java.lang.String name)
Returns the top level set with the given name from the default list. |
boolean |
isRestorable()
Indicates whether this preference instance is restorable. |
| Method Detail |
public void applyChanges()
getValue valid.
public void cancelChanges()
applyChanges().
public void flush()
throws java.io.IOException
preferences.xml and it is located in the
user.dir.
java.io.IOException - if the preference-file could not be saved.public AttributeList getAttributeList()
AttributeList holding the preference settings.
AttributeList holding the preference settings.public AttributeSet getDefaultAttributeSet(java.lang.String name)
name - the name of the set to retrieve.
AttributeSet; null otherwise.public PreferenceEvent[] getChangedPreferences()
PreferencesEvents. Every listed entry
reflects a change made to the preferences.
PreferencesEvents reflecting the changes
made to the preferences.public boolean isRestorable()
true, if this preference instance is restorable.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||