Enum Class CurveType
- All Implemented Interfaces:
Serializable
,Comparable<CurveType>
,Constable
Chart value marker curve types.
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA spline chart where data points are connected with smoothed curves.Centered stepped chart: data points are displayed in the center of each step.A stepped line chart where data points are displayed at the end of each step.A stepped line chart where data points are displayed at the start of each step.A line chart with straight line segments connecting data points. -
Method Summary
Modifier and TypeMethodDescriptionstatic CurveType
Determines a curve type by its name.toString()
static CurveType
Returns the enum constant of this class with the specified name.static CurveType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STEPPED_START
A stepped line chart where data points are displayed at the start of each step. -
STRAIGHT
A line chart with straight line segments connecting data points. -
SMOOTH
A spline chart where data points are connected with smoothed curves. -
STEPPED_END
A stepped line chart where data points are displayed at the end of each step. -
STEPPED_CENETR
Centered stepped chart: data points are displayed in the center of each step.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
-
fromName
Determines a curve type by its name.- Parameters:
name
- Curve type name- Returns:
- Curve type for the specified name or
null
if there is no curve type for the specified name
-