Package org.esa.snap.core.param
Class ParamChangeEvent
java.lang.Object
java.util.EventObject
org.esa.snap.core.param.ParamChangeEvent
- All Implemented Interfaces:
Serializable
A
ParamChangeEvent
occurs when the value of parameter has changed.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionParamChangeEvent
(Object source, Parameter parameter, Object oldValue) Constructs a new event for the given source, parameter and the parameter's old value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the parameter's old value.Returns the parameter whose value changed.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ParamChangeEvent
Constructs a new event for the given source, parameter and the parameter's old value.- Parameters:
source
- the source which fired this eventparameter
- the parameter whose value changedoldValue
- the parameter's old value
-
-
Method Details
-
getParameter
Returns the parameter whose value changed. -
getOldValue
Returns the parameter's old value.
-