Class TLcdDimensionAxis.Builder<T>

java.lang.Object
com.luciad.multidimensional.TLcdDimensionAxis.Builder<T>
Enclosing class:
TLcdDimensionAxis<T>

public static final class TLcdDimensionAxis.Builder<T> extends Object
Builder for dimension axes.
Since:
2015.0
  • Method Details Link icon

    • type Link icon

      public TLcdDimensionAxis.Builder<T> type(Class<T> aType)
    • displayName Link icon

      public TLcdDimensionAxis.Builder<T> displayName(String aDisplayName)
      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 Link icon

      Sets the unit of this axis. Calling this method is optional but recommended. See getUnit for more information.
      Parameters:
      aUnit - the unit of this axis (optional)
      Returns:
      this
    • positive Link icon

      public TLcdDimensionAxis.Builder<T> positive(boolean aPositive)
      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 Link icon

      public TLcdDimensionAxis.Builder<T> all(TLcdDimensionAxis<T> aDimensionAxis)

      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 Link icon

      public TLcdDimensionAxis<T> build()
      Builds the dimension axis with the set parameters.
      Returns:
      the created dimension axis.