public abstract class SimpleValueNFProperty<T,U> extends AbstractNFProperty<T,U>
INFProperty.Target
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
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()
Copyright © 2013. All Rights Reserved.