public enum PenEnum extends Enum<PenEnum> implements JREnum
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(String name) |
static PenEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static PenEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static PenEnum |
valueOf(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(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 nullpublic Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static PenEnum getByValue(Byte value)
public static PenEnum getByValue(byte value)
Copyright © 2016. All rights reserved.