public static enum BorderWidth.Type extends java.lang.Enum<BorderWidth.Type>
| Enum Constant and Description |
|---|
inherit
Specifies that the border width should be inherited from the parent
element
|
medium
Defines a medium border.
|
thick
Defines a thick border.
|
thin
Defines a thin border.
|
| Modifier and Type | Method and Description |
|---|---|
static BorderWidth.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderWidth.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderWidth.Type thin
public static final BorderWidth.Type medium
public static final BorderWidth.Type thick
public static final BorderWidth.Type inherit
public static BorderWidth.Type[] values()
for (BorderWidth.Type c : BorderWidth.Type.values()) System.out.println(c);
public static BorderWidth.Type 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 null