Package org.esa.snap.core.param
Class ParamChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.esa.snap.core.param.ParamChangeEvent
-
- All Implemented Interfaces:
Serializable
public class ParamChangeEvent extends EventObject
AParamChangeEvent
occurs when the value of parameter has changed.- Version:
- $Revision$ $Date$
- See Also:
Parameter
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ParamChangeEvent(Object source, Parameter parameter, Object oldValue)
Constructs a new event for the given source, parameter and the parameter's old value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getOldValue()
Returns the parameter's old value.Parameter
getParameter()
Returns the parameter whose value changed.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ParamChangeEvent
public ParamChangeEvent(Object source, Parameter parameter, Object oldValue)
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
-
-