Class NotifiableSmartPropertyBoolean
Defines a smart property class which can hold boolean value and accepts IPropertyChangeListener to notify when new value is set
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class NotifiableSmartPropertyBoolean extends SmartPropertyBoolean
Constructors
NotifiableSmartPropertyBoolean(IPropertyChangeListener listener)
Creates a new instance of NotifiableSmartProperty class
Declaration
public NotifiableSmartPropertyBoolean(IPropertyChangeListener listener)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyChangeListener | listener | The listener change listener for this property |
NotifiableSmartPropertyBoolean(IPropertyChangeListener listener, boolean defaultValue)
Creates a new instance of SmartProperty class
Declaration
public NotifiableSmartPropertyBoolean(IPropertyChangeListener listener, boolean defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyChangeListener | listener | The listener change listener for this property |
| boolean | defaultValue | The default value to set |
Methods
onPropertyChanged(boolean oldValue, boolean newValue)
Called when property value is changed
Declaration
protected void onPropertyChanged(boolean oldValue, boolean newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | oldValue | |
| boolean | newValue |