Package com.luciad.multidimensional
Class TLcdDimensionAxis.Builder<T>
java.lang.Object
com.luciad.multidimensional.TLcdDimensionAxis.Builder<T>
- Enclosing class:
TLcdDimensionAxis<T>
Builder for dimension axes.
- Since:
- 2015.0
-
Method Summary
Modifier and TypeMethodDescriptionall
(TLcdDimensionAxis<T> aDimensionAxis) Sets all parameters on the builder based on the given axis.build()
Builds the dimension axis with the set parameters.displayName
(String aDisplayName) Sets the display name of the dimension axis.positive
(boolean aPositive) Sets the direction of axis.unit
(ILcdISO19103UnitOfMeasure aUnit) Sets the unit of this axis.
-
Method Details
-
type
-
displayName
Sets the display name of the dimension axis. If no display name is set, a default display name is set.- Parameters:
aDisplayName
- the display name- Returns:
this
-
unit
Sets the unit of this axis. Calling this method is optional but recommended. SeegetUnit
for more information.- Parameters:
aUnit
- the unit of this axis (optional)- Returns:
this
-
positive
Sets the direction of axis. Default value is true which indicates that this axis is increasing (height, alt.) If false is provided, it means that this axis is decreasing (depth etc.)- Parameters:
aPositive
- axis increasing/decreasing- Returns:
this
-
all
Sets all parameters on the builder based on the given axis.
This is useful for example to create a new axis that has almost all properties equal to another axis.
- Parameters:
aDimensionAxis
- the axis to copy- Returns:
this
-
build
Builds the dimension axis with the set parameters.- Returns:
- the created dimension axis.
-