T
- The argument type of the generic callback.U
- The return type of the generic callback.public class GenericDataPointBinding<T,U> extends DataPointBinding
DataPointBinding
DATA_POINT_BINDING_NAME
Constructor and Description |
---|
GenericDataPointBinding(Function<T,U> valueSelector)
Creates an instance of the
GenericDataPointBinding class with specified delegate used
to retrieve the bound value. |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(Object instance)
Gets the value of the member which value is bound.
|
setPropertyChangeListener
public GenericDataPointBinding(Function<T,U> valueSelector)
GenericDataPointBinding
class with specified delegate used
to retrieve the bound value.valueSelector
- generic delegate used to retrieve the bound value.public Object getValue(Object instance)
DataPointBinding
getValue
in class DataPointBinding
instance
- holds the instance of the object that has its member bound.