public static enum RrdGraphConstants.FontTag extends Enum<RrdGraphConstants.FontTag>
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
methodEnum Constant and Description |
---|
AXIS
Index of the axis label font.
|
DEFAULT
Index of the default font.
|
LEGEND
Index of the graph legend font.
|
TITLE
Index of the title font.
|
UNIT
Index of the vertical unit label font.
|
WATERMARK
Index of the edge watermark font.
|
Modifier and Type | Method and Description |
---|---|
Font |
get(Font f,
Font[] fonts) |
void |
set(Font f,
Font[] fonts) |
static RrdGraphConstants.FontTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RrdGraphConstants.FontTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RrdGraphConstants.FontTag DEFAULT
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static final RrdGraphConstants.FontTag TITLE
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static final RrdGraphConstants.FontTag AXIS
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static final RrdGraphConstants.FontTag UNIT
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static final RrdGraphConstants.FontTag LEGEND
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static final RrdGraphConstants.FontTag WATERMARK
RrdGraphDef.setFont(org.rrd4j.graph.RrdGraphConstants.FontTag, java.awt.Font)
public static RrdGraphConstants.FontTag[] values()
for (RrdGraphConstants.FontTag c : RrdGraphConstants.FontTag.values()) System.out.println(c);
public static RrdGraphConstants.FontTag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null