com.metamatrix.toolbox.event
Class UserPreferencesEvent
java.lang.Object
java.util.EventObject
com.metamatrix.toolbox.event.UserPreferencesEvent
- All Implemented Interfaces:
- java.io.Serializable
public class UserPreferencesEvent
- extends java.util.EventObject
This event is fired whenever a user Preferences are changed.
Listeners can obtain the current preference values from from
CurrentConfiguration(ApplicationConstants.SOME_FILTER_CONSTANT)
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
UserPreferencesEvent(java.lang.Object source,
java.util.Properties newPreferences,
java.util.Properties oldPreferences)
|
Method Summary |
java.util.Properties |
getChanges()
Return a Properties object containing only the set of properties that have either
changed or have been newly created. |
java.util.Properties |
getNewPreferences()
Return a Properties object containing the new set of preferences. |
java.util.Properties |
getOldPreferences()
Return a Properties object containing the preferences BEFORE this event occurred. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserPreferencesEvent
public UserPreferencesEvent(java.lang.Object source,
java.util.Properties newPreferences,
java.util.Properties oldPreferences)
getNewPreferences
public java.util.Properties getNewPreferences()
- Return a Properties object containing the new set of preferences.
getOldPreferences
public java.util.Properties getOldPreferences()
- Return a Properties object containing the preferences BEFORE this event occurred.
getChanges
public java.util.Properties getChanges()
- Return a Properties object containing only the set of properties that have either
changed or have been newly created.
Copyright © 2009. All Rights Reserved.