org.apache.log4j.chainsaw.prefs
Interface SettingsListener
- All Superinterfaces:
- java.util.EventListener
- All Known Subinterfaces:
- Profileable
- All Known Implementing Classes:
- ApplicationPreferenceModel, LogPanel, LogUI
- public interface SettingsListener
- extends java.util.EventListener
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.
- Author:
- Paul Smith
loadSettings
public void loadSettings(LoadSettingsEvent event)
- 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
public void saveSettings(SaveSettingsEvent event)
Copyright 2000-2003 Apache Software Foundation.