public final class TLcdDimensionAxis<T> extends Object
This class represents a dimension axis. An axis can for example be a time axis or a vertical axis along which
data can be present. This class can be created using the builder pattern. See newBuilder()
and
TLcdDimensionAxis.Builder
.
Modifier and Type | Class and Description |
---|---|
static class |
TLcdDimensionAxis.Builder<T>
Builder for dimension axes.
|
Modifier and Type | Field and Description |
---|---|
static TLcdDimensionAxis<Date> |
TIME_AXIS
Constant for an axis representing absolute times.
|
Modifier and Type | Method and Description |
---|---|
TLcdDimensionAxis.Builder<T> |
asBuilder()
Returns the given
TLcdDimensionAxis as a builder. |
boolean |
equals(Object aObject) |
String |
getDisplayName()
Returns a display name for this axis.
|
Class<T> |
getType()
Returns the type of values along this axis.
|
ILcdISO19103UnitOfMeasure |
getUnit()
Returns the unit of the values along this axis.
|
int |
hashCode() |
boolean |
isPositive()
Returns true if the axis represents measures like height, altitude etc.
|
static <T> TLcdDimensionAxis.Builder<T> |
newBuilder()
Returns a new builder using which a
TLcdDimensionAxis can
be constructed. |
String |
toString() |
public static final TLcdDimensionAxis<Date> TIME_AXIS
Constant for an axis representing absolute times.
It can for example by used by multidimensional models
where the information
varies with time (realtime models), e.g. a model containing recorded positions of aircrafts.
This axis assumes that the times are expressed as Date
s.
public Class<T> getType()
Date.class
.public ILcdISO19103UnitOfMeasure getUnit()
null
.
It is however encouraged to return a non-null
unit, for example to combine UI elements for different
axes with a compatible or equal unit.null
.public String getDisplayName()
public boolean isPositive()
public static <T> TLcdDimensionAxis.Builder<T> newBuilder()
TLcdDimensionAxis
can
be constructed.public TLcdDimensionAxis.Builder<T> asBuilder()
TLcdDimensionAxis
as a builder. This
builder instance can be modify and used to create a new TLcdDimensionAxis
.TLcdDimensionAxis
as a builder.