public final class AxisLocation
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static AxisLocation |
BOTTOM_OR_LEFT
Axis at the bottom or left.
|
static AxisLocation |
BOTTOM_OR_RIGHT
Axis at the bottom or right.
|
static AxisLocation |
TOP_OR_LEFT
Axis at the top or left.
|
static AxisLocation |
TOP_OR_RIGHT
Axis at the top or right.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns
true if this object is equal to the specified
object, and false otherwise. |
AxisLocation |
getOpposite()
Returns the location that is opposite to this location.
|
static AxisLocation |
getOpposite(AxisLocation location)
Returns the location that is opposite to the supplied location.
|
int |
hashCode()
Returns a hash code for this instance.
|
java.lang.String |
toString()
Returns a string representing the object.
|
public static final AxisLocation TOP_OR_LEFT
public static final AxisLocation TOP_OR_RIGHT
public static final AxisLocation BOTTOM_OR_LEFT
public static final AxisLocation BOTTOM_OR_RIGHT
public AxisLocation getOpposite()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
true if this object is equal to the specified
object, and false otherwise.equals in class java.lang.Objectobj - the other object (null permitted).public int hashCode()
hashCode in class java.lang.Objectpublic static AxisLocation getOpposite(AxisLocation location)
location - the location (null not permitted).