Package org.wicketstuff.gchart
Enum ColumnRole
- java.lang.Object
-
- java.lang.Enum<ColumnRole>
-
- org.wicketstuff.gchart.ColumnRole
-
- All Implemented Interfaces:
Serializable,Comparable<ColumnRole>
public enum ColumnRole extends Enum<ColumnRole>
Roles of columns in chart. Use inColumnDeclaration. See Column Roles.- Author:
- Dieter Tremel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATIONANNOTATIONTEXTCERTAINTYEMPHASISINTERVALSCOPESTYLETOOLTIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoJavaScript()static ColumnRolevalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANNOTATION
public static final ColumnRole ANNOTATION
-
ANNOTATIONTEXT
public static final ColumnRole ANNOTATIONTEXT
-
CERTAINTY
public static final ColumnRole CERTAINTY
-
EMPHASIS
public static final ColumnRole EMPHASIS
-
INTERVAL
public static final ColumnRole INTERVAL
-
SCOPE
public static final ColumnRole SCOPE
-
STYLE
public static final ColumnRole STYLE
-
TOOLTIP
public static final ColumnRole TOOLTIP
-
-
Method Detail
-
values
public static ColumnRole[] 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 (ColumnRole c : ColumnRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnRole valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toJavaScript
public String toJavaScript()
-
-