Class TLcdDimension.Builder<T>

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

public static final class TLcdDimension.Builder<T> extends Object
Builder for dimension axis values.
Since:
2015.0
  • Method Details

    • axis

      public TLcdDimension.Builder<T> axis(TLcdDimensionAxis<T> aAxis)
      Sets the axis of the dimension data range.
      Parameters:
      aAxis - the display name
      Returns:
      this
    • addInterval

      public TLcdDimension.Builder<T> addInterval(TLcdDimensionInterval<T> aInterval)
      Adds an interval in which data can be available. This method also calculates the union of all intervals passed, resulting in the union of values.
      Parameters:
      aInterval - an interval in which data can be available for this axis.
      Returns:
      this
    • all

      public TLcdDimension.Builder<T> all(ILcdDimension<T> aDimension)

      Sets all parameters on the builder based on the given axis values.

      This is useful for example to create a new axis values instance that has almost all properties equal to another axis.

      Parameters:
      aDimension - the axis values instance to copy
      Returns:
      this
    • build

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