public static enum MagnetRequest.Side extends java.lang.Enum<MagnetRequest.Side>
ScreenDockWindow
.Enum Constant and Description |
---|
EAST
the right side
|
NORTH
the top side
|
SOUTH
the bottom side
|
WEST
the left side
|
Modifier and Type | Method and Description |
---|---|
MagnetRequest.Side |
opposite()
Gets the side that is opposite to
this . |
static MagnetRequest.Side |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MagnetRequest.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagnetRequest.Side NORTH
public static final MagnetRequest.Side SOUTH
public static final MagnetRequest.Side EAST
public static final MagnetRequest.Side WEST
public static MagnetRequest.Side[] values()
for (MagnetRequest.Side c : MagnetRequest.Side.values()) System.out.println(c);
public static MagnetRequest.Side 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 MagnetRequest.Side opposite()
this
.null