public enum BorderStyle extends Enum<BorderStyle> implements Key
Enum Constant and Description |
---|
DASHED
Displays a series of short square-ended dashes or line segments.
The exact size and length of the segments are not defined by the specification and are implementation-specific. |
DOTTED
Displays a series of rounded dots.
The spacing of the dots is not defined by the specification and is implementation-specific. |
DOUBLE
Displays two straight lines that add up to the pixel size defined by border width.
|
GROOVE
Displays a border with a carved appearance.
|
HIDDEN
Like the none keyword, displays no border.
|
INSET
Displays a border that makes the element appear embedded.
|
NONE
Like the hidden keyword, displays no border.
|
OUTSET
Displays a border that makes the element appear embossed.
|
RIDGE
Displays a border with an extruded appearance.
|
SOLID
Displays a single, straight, solid line.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static BorderStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final BorderStyle NONE
public static final BorderStyle DOTTED
public static final BorderStyle DASHED
public static final BorderStyle HIDDEN
public static final BorderStyle SOLID
public static final BorderStyle DOUBLE
public static final BorderStyle GROOVE
RIDGE
.public static final BorderStyle RIDGE
GROOVE
.public static final BorderStyle INSET
OUTSET
.public static final BorderStyle OUTSET
INSET
.public static BorderStyle[] values()
for (BorderStyle c : BorderStyle.values()) System.out.println(c);
public static BorderStyle 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