public static enum BorderLayout.Position extends java.lang.Enum<BorderLayout.Position>
Modifier and Type | Method and Description |
---|---|
static BorderLayout.Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderLayout.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderLayout.Position North
public static final BorderLayout.Position South
public static final BorderLayout.Position East
public static final BorderLayout.Position West
public static final BorderLayout.Position Center
public static BorderLayout.Position[] values()
for (BorderLayout.Position c : BorderLayout.Position.values()) System.out.println(c);
public static BorderLayout.Position 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