public static enum MagnetRequest.Side extends 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(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(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 nullpublic MagnetRequest.Side opposite()
this.nullCopyright © 2017 Docking Frames. All rights reserved.