org.eclipse.rwt.service
Class SettingStoreEvent
java.lang.Object
java.util.EventObject
org.eclipse.rwt.service.SettingStoreEvent
-
All Implemented Interfaces:
-
Serializable
- public final class SettingStoreEvent
- extends
EventObject
A SettingStoreEvent holds information regarding the change
of a single attribute inside the setting store. The change can be
one of the following:
Note: Clients are responsible for using the
getAttributeName()
method, to check if the
changed attribute is of interest to them.
-
Since:
- 1.1
-
See Also:
-
Serialized Form
SettingStoreEvent
public SettingStoreEvent(
ISettingStore source,
String attribute,
String oldValue,
String newValue)
getAttributeName
public
String getAttributeName()
- Returns the name of the changed attribute.
-
-
Returns:
- a String; never
null
getNewValue
public
String getNewValue()
- Return the new value of the attribute
-
-
Returns:
- a String; may be
null
if the attribute has been
removed from the store
getOldValue
public
String getOldValue()
- Returns the previous value of the attribute.
-
-
Returns:
- a String; may be
null
if the attribute did not
exist previously
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.