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.
|
int |
hashCode()
Returns a hash code for this instance.
|
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 String toString()
public boolean equals(Object obj)
true
if this object is equal to the specified
object, and false
otherwise.public int hashCode()
public static AxisLocation getOpposite(AxisLocation location)
location
- the location (null
not permitted).Jas4pp 1.5 © Java Analysis Studio for Particle Physics