Package org.rrd4j.graph
Enum ElementsNames
- All Implemented Interfaces:
Serializable
,Comparable<ElementsNames>
,java.lang.constant.Constable
The elements of the graph. For use in
RrdGraphDef.setColor(ElementsNames, java.awt.Paint)
method.- Author:
- Fabrice Bacchella
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe arrow colorThe background colorThe canvas colorThe font colorThe frame colorThe minor grid colorThe major grid colorThe top-left graph shade colorThe bottom-right graph shade colorThe x-axis colorThe y-axis color -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementsNames
Returns the enum constant of this type with the specified name.static ElementsNames[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
canvas
The canvas color -
back
The background color -
shadea
The top-left graph shade color -
shadeb
The bottom-right graph shade color -
grid
The minor grid color -
mgrid
The major grid color -
font
The font color -
frame
The frame color -
arrow
The arrow color -
xaxis
The x-axis color -
yaxis
The y-axis color
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-