public static enum ContourDataSource.Dimension extends Enum<ContourDataSource.Dimension>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Enum Constant and Description |
|---|
DISTANCE
Distance axis.
|
TIME
Time axis.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.opentrafficsim.draw.graphs.ContourDataSource.Axis |
getAxis(ContourDataSource<?> dataPool)
Returns the
Axis object. |
static ContourDataSource.Dimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContourDataSource.Dimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContourDataSource.Dimension DISTANCE
public static final ContourDataSource.Dimension TIME
public static ContourDataSource.Dimension[] values()
for (ContourDataSource.Dimension c : ContourDataSource.Dimension.values()) System.out.println(c);
public static ContourDataSource.Dimension valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected abstract org.opentrafficsim.draw.graphs.ContourDataSource.Axis getAxis(ContourDataSource<?> dataPool)
Axis object.dataPool - ContourDataSource<?>; data poolCopyright © 2014–2019 Delft University of Technology. All rights reserved.