public enum BorderDashStyle extends java.lang.Enum<BorderDashStyle>
Specifies the style of dashed border lines.
Enum Constant and Description |
---|
DASH
Specifies a line consisting of dashes.
|
DASH_DOT
Specifies a line consisting of a repeating pattern of dash-dot.
|
DASH_DOT_DOT
Specifies a line consisting of a repeating pattern of dash-dot-dot.
|
DOT
Specifies a line consisting of dots.
|
SOLID
Specifies a solid line.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BorderDashStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderDashStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderDashStyle SOLID
Specifies a solid line.
public static final BorderDashStyle DASH
Specifies a line consisting of dashes.
public static final BorderDashStyle DOT
Specifies a line consisting of dots.
public static final BorderDashStyle DASH_DOT
Specifies a line consisting of a repeating pattern of dash-dot.
public static final BorderDashStyle DASH_DOT_DOT
Specifies a line consisting of a repeating pattern of dash-dot-dot.
public static BorderDashStyle[] values()
for (BorderDashStyle c : BorderDashStyle.values()) System.out.println(c);
public static BorderDashStyle 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 int getValue()