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