public static enum GridLabelRenderer.GridStyle extends java.lang.Enum<GridLabelRenderer.GridStyle>
Enum Constant and Description |
---|
BOTH
show vertical and horizonal lines
this is the default
|
HORIZONTAL
show only horizontal lines
|
NONE
dont draw any lines
|
VERTICAL
show only vertical lines
|
Modifier and Type | Method and Description |
---|---|
boolean |
drawHorizontal() |
boolean |
drawVertical() |
static GridLabelRenderer.GridStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GridLabelRenderer.GridStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridLabelRenderer.GridStyle BOTH
public static final GridLabelRenderer.GridStyle VERTICAL
public static final GridLabelRenderer.GridStyle HORIZONTAL
public static final GridLabelRenderer.GridStyle NONE
public static GridLabelRenderer.GridStyle[] values()
for (GridLabelRenderer.GridStyle c : GridLabelRenderer.GridStyle.values()) System.out.println(c);
public static GridLabelRenderer.GridStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean drawVertical()
public boolean drawHorizontal()