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