public enum BorderSide extends Enum<BorderSide>
Modifier and Type | Method and Description |
---|---|
static BorderSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderSide TOP
public static final BorderSide LEFT
public static final BorderSide BOTTOM
public static final BorderSide RIGHT
public static final BorderSide DIAGONAL
public static BorderSide[] values()
for (BorderSide c : BorderSide.values()) System.out.println(c);
public static BorderSide 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 nullCopyright © 2022. All rights reserved.