Package org.opentrafficsim.draw.graphs
Enum GraphType
- All Implemented Interfaces:
Serializable,Comparable<GraphType>,java.lang.constant.Constable
public enum GraphType extends Enum<GraphType>
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCELERATION_CONTOURContour plot: acceleration.DELAY_CONTOURContour plot: delay.DENSITY_CONTOURContour plot: density.FLOW_CONTOURContour plot: flow.FUNDAMENTAL_DIAGRAMFundamental diagram.OTHERAny other graph.SPEED_CONTOURContour plot: speed.TRAJECTORYTrajectory. -
Method Summary
-
Enum Constant Details
-
TRAJECTORY
Trajectory. -
SPEED_CONTOUR
Contour plot: speed. -
ACCELERATION_CONTOUR
Contour plot: acceleration. -
DENSITY_CONTOUR
Contour plot: density. -
FLOW_CONTOUR
Contour plot: flow. -
DELAY_CONTOUR
Contour plot: delay. -
FUNDAMENTAL_DIAGRAM
Fundamental diagram. -
OTHER
Any other graph.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-