T
- The type of the valuespublic static interface TLcdExpressionFactory.AttributeValueProvider<T>
Modifier and Type | Method and Description |
---|---|
T |
getValue(Object aDomainObject,
Object aGeometry)
Retrieves a value for the domain object for this attribute.
|
default T |
getValue(Object aDomainObject,
Object aGeometry,
int aIndex)
Retrieves a value for a point on an
ILcdPolyline geometry of the domain object for this attribute. |
T getValue(Object aDomainObject, Object aGeometry)
aDomainObject
- A domain objectaGeometry
- The geometry for the domain object, as specified by the style target provider.default T getValue(Object aDomainObject, Object aGeometry, int aIndex)
ILcdPolyline
geometry of the domain object for this attribute.
This is used when the styling of an ILcdPolyline
depends on a different attribute value per vertex
of the line. For example timestamps on each point of the line that are used to determine the visibility.
By default this method will delegate to getValue(Object, Object)
and ignore the index parameter.
This method will only be called for ILcdPolyline
geometry.aDomainObject
- the domain objectaGeometry
- The geometry for the domain object, as specified by the style target provider.aIndex
- The point index on the lineTLspParameterizedLineStyle