Enum Class MarkerType
- All Implemented Interfaces:
Serializable
,Comparable<MarkerType>
,Constable
Marker 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 ConstantDescriptionMarkers are displayed as squares on the chart and on the legend.Markers are displayed as dots on the chart and on the legend.Markers are displayed as crosses on the chart and on the legend.Markers are displayed as diamonds on the chart and on the legend.Markers are displayed as stars on the chart and on the legend.Markers are displayed as triangles on the chart and on the legend.Markers are displayed as wyes on the chart and on the legend. -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkerType
Determines a marker type by its name.toString()
Gets the JavaScript parameter name for the marker type.static MarkerType
Returns the enum constant of this class with the specified name.static MarkerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CIRCLE
Markers are displayed as dots on the chart and on the legend. -
TRIANGLE
Markers are displayed as triangles on the chart and on the legend. -
BOX
Markers are displayed as squares on the chart and on the legend. -
STAR
Markers are displayed as stars on the chart and on the legend. -
CROSS
Markers are displayed as crosses on the chart and on the legend. -
DIAMOND
Markers are displayed as diamonds on the chart and on the legend. -
WYE
Markers are displayed as wyes on the chart and on the legend.
-
-
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
Gets the JavaScript parameter name for the marker type.- Overrides:
toString
in classEnum<MarkerType>
- Returns:
- JavaScript parameter name corresponding to the marker type
-
fromName
Determines a marker type by its name.- Parameters:
name
- Marker type name- Returns:
- Marker type for the specified name or
null
, if there is no marker type for the specified name
-