Package eu.webtoolkit.jwt.chart
Enum MarkerType
- java.lang.Object
-
- java.lang.Enum<MarkerType>
-
- eu.webtoolkit.jwt.chart.MarkerType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MarkerType>
public enum MarkerType extends java.lang.Enum<MarkerType>
Enumeration that specifies a type of point marker.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AsteriskMark points using an asterisk (*).CircleMark points using a circle.CrossMark points using a cross (+).CustomMark points using a custom marker.DiamondMark points using a diamond.InvertedTriangleMark points using an inverted (upside-down) triangle.NoneDo not draw point markers.SquareMark points using a square.StarMark points using a star.TriangleMark points using a triangle.XCrossMark points using a cross (x).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the numerical representation of this enum.static MarkerTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MarkerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final MarkerType None
Do not draw point markers.
-
Square
public static final MarkerType Square
Mark points using a square.
-
Circle
public static final MarkerType Circle
Mark points using a circle.
-
Cross
public static final MarkerType Cross
Mark points using a cross (+).
-
XCross
public static final MarkerType XCross
Mark points using a cross (x).
-
Triangle
public static final MarkerType Triangle
Mark points using a triangle.
-
Custom
public static final MarkerType Custom
Mark points using a custom marker.
-
Star
public static final MarkerType Star
Mark points using a star.
-
InvertedTriangle
public static final MarkerType InvertedTriangle
Mark points using an inverted (upside-down) triangle.
-
Asterisk
public static final MarkerType Asterisk
Mark points using an asterisk (*).
-
Diamond
public static final MarkerType Diamond
Mark points using a diamond.
-
-
Method Detail
-
values
public static MarkerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MarkerType c : MarkerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkerType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
Returns the numerical representation of this enum.
-
-