Package de.sciss.app
Interface PreferenceNodeSync
-
- All Known Implementing Classes:
AudioFileFormatPane,DynamicPrefChangeManager
public interface PreferenceNodeSyncObjects implementing this interface state that they will store their (and their children's) serialized representation in privately named entries in a given preference node
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetPreferences(java.util.prefs.Preferences prefs)Enables Preferences synchronization.
-
-
-
Method Detail
-
setPreferences
void setPreferences(java.util.prefs.Preferences prefs)
Enables Preferences synchronization. This method is not thread safe and must be called from the event thread. When a preference change is received, the GUI is updated and dispatches an event to registered listeners. Likewise, if the user adjusts the GUI value, the preference will be updated. The same is true, if you call one of the value changing methods.- Parameters:
prefs- the preferences node in which the values are stored, or null to disable prefs sync.
-
-