java.io.Serializable
, java.lang.Comparable<WindowSide>
public enum WindowSide extends java.lang.Enum<WindowSide>
Window
. This will commonly be used to add or find buttons in a
Window.Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSide() |
Gives the corresponding BorderLayout type to this WindowSide.
|
static WindowSide |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static WindowSide[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowSide NORTH
public static final WindowSide EAST
public static final WindowSide SOUTH
public static final WindowSide WEST
public static WindowSide[] values()
for (WindowSide c : WindowSide.values()) System.out.println(c);
public static WindowSide 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 java.lang.String getSide()