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