Package org.apache.log4j.chainsaw.prefs
Interface SettingsListener
- All Superinterfaces:
EventListener
- All Known Subinterfaces:
Profileable
- All Known Implementing Classes:
ApplicationPreferenceModelSaver
,ChainsawTabbedPane
,LogPanel
,LogUI
,MRUFileListPreferenceSaver
,ReceiversPanel
Components, or objects, that are interested in being notified when
Settings are loaded or being saved, can implement this interface.
'Settings' are Chainsaw wide preferences, and are not specific to a particular tab identifer etc. See the correspoing ProfileListener and related classes for a discussion on profile specific events etc.
The implementing class can use this event notification opportunity to load setting information stored previously, or to request that setting information be stored.
NOTE: This contract does _*NOT*_ dictate that the Thread invoking these methods will be the Swing's Event dispatching event, it could be any arbitary thread. Having said that, it COULD be the Swing's Event dispatching event, but this contract makes no guarantee.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
loadSettings
(LoadSettingsEvent event) When a request to load Settings has been requested, this method will be invoked by the SettingsManager.void
saveSettings
(SaveSettingsEvent event)
-
Method Details
-
loadSettings
When a request to load Settings has been requested, this method will be invoked by the SettingsManager. The implementing component can query the event for settings, and modify it's internal state based on these settings.- Parameters:
event
-
-
saveSettings
-