public class DynamicBooleanProperty extends PropertyWrapper<java.lang.Boolean>
Use APIs in DynamicPropertyFactory
to create instance of this class.
defaultValue, prop
Constructor and Description |
---|
DynamicBooleanProperty(java.lang.String propName,
boolean defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Get the current value from the underlying DynamicProperty
|
java.lang.Boolean |
getValue()
Get current typed value of the property.
|
addCallback, addValidator, getChangedTimestamp, getDefaultValue, getDynamicProperty, getName, propertyChanged, propertyChanged, registerSubClassWithNoCallback, removeAllCallbacks, toString, validate
public DynamicBooleanProperty(java.lang.String propName, boolean defaultValue)
public boolean get()
public java.lang.Boolean getValue()
PropertyWrapper
getValue
in interface Property<java.lang.Boolean>
getValue
in class PropertyWrapper<java.lang.Boolean>