public class NotifiableSmartPropertyLong extends SmartPropertyLong
IPropertyChangeListener
to notify when new value is setConstructor and Description |
---|
NotifiableSmartPropertyLong(IPropertyChangeListener listener)
Creates a new instance of
NotifiableSmartPropertyLong class |
NotifiableSmartPropertyLong(IPropertyChangeListener listener,
long defaultValue)
Creates a new instance of
NotifiableSmartPropertyLong 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 NotifiableSmartPropertyLong(IPropertyChangeListener listener, long defaultValue)
NotifiableSmartPropertyLong
classlistener
- The listener change listener for this propertydefaultValue
- The default value to setpublic NotifiableSmartPropertyLong(IPropertyChangeListener listener)
NotifiableSmartPropertyLong
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