public final class AxisLocation extends Object implements 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(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.
|
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 boolean equals(Object obj)
true
if this object is equal to the specified
object, and false
otherwise.public static AxisLocation getOpposite(AxisLocation location)
location
- the location (null
not permitted).Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.