public enum BorderStyle extends Enum<BorderStyle> implements AttributeValue
The style of the border
| Enum Constant and Description |
|---|
DASHED
Series of dashes
|
DOTTED
Series of dots
|
DOUBLE
Double lined border
|
GROOVE
Carved in the canvas
|
HIDDEN
Same as 'none', with a little exception
|
INSET
Box carved in the canvas
|
NONE
No border
|
OUTSET
Box coming out of the canvas
|
RIDGE
Coming out of the canvas
|
SOLID
Solid border
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
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.
|
public static final BorderStyle NONE
public static final BorderStyle HIDDEN
public static final BorderStyle DOTTED
public static final BorderStyle DASHED
public static final BorderStyle SOLID
public static final BorderStyle DOUBLE
public static final BorderStyle GROOVE
public static final BorderStyle RIDGE
public static final BorderStyle INSET
public static final BorderStyle OUTSET
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 nullpublic String getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.