Package org.eclipse.rap.rwt.service
Class SettingStoreEvent
java.lang.Object
java.util.EventObject
org.eclipse.rap.rwt.service.SettingStoreEvent
- All Implemented Interfaces:
- Serializable
An event that contains the details of a single attribute change in the setting store. The change
 can be one of the following:
 
- an attribute was added (in this case the old value is null)
- and attribute was modified
- an attribute was removed (in this case the new value is null)
getAttributeName() method
 to check if the changed attribute is of interest to them.
 - Since:
- 2.0
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionSettingStoreEvent(SettingStore source, String attributeName, String oldValue, String newValue) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the changed attribute.Return the value of the attribute after the change.Returns the value of the attribute before the change.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
SettingStoreEventpublic SettingStoreEvent(SettingStore source, String attributeName, String oldValue, String newValue) 
 
- 
- 
Method Details- 
getAttributeNameReturns the name of the changed attribute.- Returns:
- the attribute name, never null
 
- 
getNewValueReturn the value of the attribute after the change.- Returns:
- the new attribute value, may be nullif the attribute has been removed
 
- 
getOldValueReturns the value of the attribute before the change.- Returns:
- the previous attribute value, may be nullif the attribute has been added
 
 
-