Package eu.webtoolkit.jwt.chart
Enum CustomFlag
- java.lang.Object
-
- java.lang.Enum<CustomFlag>
-
- eu.webtoolkit.jwt.chart.CustomFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CustomFlag>
public enum CustomFlag extends java.lang.Enum<CustomFlag>
Enumeration that indicates an aspect of the look.These flags are used to keep track of which aspects of the look that are overridden from the values provided by the chart palette, using one of the methods in this class.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BrushA custom brush is set.LabelColorA custom label color is set.MarkerBrushA custom marker brush is set.MarkerPenA custom marker pen is set.PenA custom pen is set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the numerical representation of this enum.static CustomFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Pen
public static final CustomFlag Pen
A custom pen is set.
-
Brush
public static final CustomFlag Brush
A custom brush is set.
-
MarkerPen
public static final CustomFlag MarkerPen
A custom marker pen is set.
-
MarkerBrush
public static final CustomFlag MarkerBrush
A custom marker brush is set.
-
LabelColor
public static final CustomFlag LabelColor
A custom label color is set.
-
-
Method Detail
-
values
public static CustomFlag[] 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 (CustomFlag c : CustomFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomFlag 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.
-
-