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