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