public enum BorderStyle extends java.lang.Enum<BorderStyle>
Enum Constant and Description |
---|
DASHED
The border is a series of short line segments.
|
DOTTED
The border is a series of dots.
|
DOUBLE
The border is two solid lines.
|
GROOVE
The border looks as though it were carved into the canvas.
|
HIDDEN
Same as 'none', except in terms of border
conflict resolution for table elements.
|
INSET
The border makes the entire box look as though it were embedded in the canvas.
|
NONE
No border.
|
OUTSET
The opposite of INSET: the border makes the entire box look as though it were coming
out of the canvas.
|
RIDGE
The opposite of GROOVE: the border looks as though it were coming out of the canvas.
|
SOLID
The border is a single line segment.
|
Modifier and Type | Method and Description |
---|---|
static BorderStyle |
fromString(java.lang.String value)
Converts the given string into a BorderStyle representation
|
java.lang.String |
getValue()
Returns the String representation for the border-style property
|
static BorderStyle |
valueOf(java.lang.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(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.String getValue()
public static BorderStyle fromString(java.lang.String value)
value
- The value to turn into a BorderStyle representation