Enum Constant and Description |
---|
DOTTED
Constant useful for specifying that an element has a dotted border.
|
FOUR_POINT
Constant useful for specifying that an element border of 4 pixels.
|
NONE
Constant useful for specifying that the element border will not be drawn.
|
ONE_POINT
Constant useful for specifying that an element border of 1 pixel.
|
THIN
Constant useful for specifying that an element has a thin border (0.5 pixels)
|
TWO_POINT
Constant useful for specifying that an element border of 2 pixels.
|
Modifier and Type | Method and Description |
---|---|
static PenEnum |
getByName(java.lang.String name) |
static PenEnum |
getByValue(byte value) |
static PenEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static PenEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PenEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PenEnum NONE
public static final PenEnum ONE_POINT
public static final PenEnum TWO_POINT
public static final PenEnum FOUR_POINT
public static final PenEnum DOTTED
public static final PenEnum THIN
public static PenEnum[] values()
for (PenEnum c : PenEnum.values()) System.out.println(c);
public static PenEnum 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 java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public static PenEnum getByName(java.lang.String name)
public static PenEnum getByValue(java.lang.Byte value)
public static PenEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com