public abstract class SimpleValueNFProperty<T,U> extends AbstractNFProperty<T,U>
INFProperty.Target
Modifier and Type | Field and Description |
---|---|
protected IInternalAccess |
comp
The component.
|
protected T |
value
The current value.
|
metainfo
Constructor and Description |
---|
SimpleValueNFProperty(IInternalAccess comp,
NFPropertyMetaInfo mi)
Create a new property.
|
Modifier and Type | Method and Description |
---|---|
IInternalAccess |
getComponent()
Get the component.
|
IFuture<T> |
getValue(U unit)
Get the value.
|
abstract T |
measureValue()
Measure the value.
|
void |
setValue(T value)
Set the value.
|
createProperty, dispose, getMetaInfo, getName, getValue, readNFProperties
protected T value
protected IInternalAccess comp
public SimpleValueNFProperty(IInternalAccess comp, NFPropertyMetaInfo mi)
public IFuture<T> getValue(U unit)
unit
- Unit of the returned value.public void setValue(T value)
value
- The value to set.public abstract T measureValue()
public IInternalAccess getComponent()