Class WSOptionChangedEvent
java.lang.Object
ro.sync.exml.workspace.api.options.WSOptionChangedEvent
Represents an event which indicates that the value of an option
has been changed.
-
Constructor Summary
ConstructorsConstructorDescriptionWSOptionChangedEvent
(String optionKey, Object oldValue, Object newValue) The constructor of the option changed event.WSOptionChangedEvent
(String optionKey, String oldValue, String newValue) The constructor of the option changed event. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The value may not be a plain String, use the "getNewValueObject" insteadDeprecated.The value may not be a plain String, use the "getOldValueObject" instead
-
Constructor Details
-
WSOptionChangedEvent
The constructor of the option changed event.- Parameters:
optionKey
- The identification key of the option whose value modification generated this event.oldValue
- The old value of the option.newValue
- The new value of the option. When the entire set of Oxygen preferences is reset by the end user, the reported old value will be equal to the new value as the global reset no longer retains the state of the value before the reset...
-
WSOptionChangedEvent
The constructor of the option changed event.- Parameters:
optionKey
- The identification key of the option whose value modification generated this event.oldValue
- The old value of the option.newValue
- The new value of the option. When the entire set of Oxygen preferences is reset by the end user, the reported old value will be equal to the new value as the global reset no longer retains the state of the value before the reset...
-
-
Method Details
-
getOptionKey
- Returns:
- Returns the identification key of the option associated with this event.
-
getOldValue
Deprecated.The value may not be a plain String, use the "getOldValueObject" instead- Returns:
- Returns the old value of the option associated with this event.
-
getOldValueObject
- Returns:
- Returns the old value of the option associated with this event.
- Since:
- 21.1
-
getNewValue
Deprecated.The value may not be a plain String, use the "getNewValueObject" instead- Returns:
- Returns the new value of the option associated with this event.
-
getNewValueObject
- Returns:
- Returns the new value of the option associated with this event.
- Since:
- 21.1
-