|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PenEnum> net.sf.jasperreports.engine.type.PenEnum
public enum PenEnum
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
getValue
in interface JREnum
public java.lang.String getName()
getName
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |