public enum BorderStyle extends java.lang.Enum<BorderStyle>
Enumeration of valid border styles.
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
No border, excpect 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 |
---|---|
RuleStyle |
getEquivalentRuleStyle()
Returns the equivalent rule style.
|
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 RuleStyle getEquivalentRuleStyle()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.