public class ObservableSmartPropertyDouble extends SmartPropertyDouble
Modifier and Type | Class and Description |
---|---|
static interface |
ObservableSmartPropertyDouble.IPropertyChangeListener
Defines the interface for
SmartPropertyDouble listener |
Constructor and Description |
---|
ObservableSmartPropertyDouble(ObservableSmartPropertyDouble.IPropertyChangeListener listener)
Creates a new instance of
ObservableSmartPropertyDouble class |
ObservableSmartPropertyDouble(ObservableSmartPropertyDouble.IPropertyChangeListener listener,
double defaultValue)
Creates a new instance of
ObservableSmartPropertyDouble class |
Modifier and Type | Method and Description |
---|---|
protected void |
onPropertyChanged(double oldValue,
double newValue)
Called when property value is changed
|
equals, getValue, hashCode, setStrongValue, setWeakValue, toString
public ObservableSmartPropertyDouble(ObservableSmartPropertyDouble.IPropertyChangeListener listener, double defaultValue)
ObservableSmartPropertyDouble
classlistener
- The listener change listener for this propertydefaultValue
- The default value to setpublic ObservableSmartPropertyDouble(ObservableSmartPropertyDouble.IPropertyChangeListener listener)
ObservableSmartPropertyDouble
classlistener
- The listener change listener for this propertyprotected void onPropertyChanged(double oldValue, double newValue)
onPropertyChanged
in class SmartPropertyDouble
oldValue
- The old valuenewValue
- The new value