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