org.jfree.layouting.util.geom
public class StrictPoint extends Object implements Serializable, Cloneable
Constructor Summary | |
---|---|
StrictPoint()
DefaultConstructor. | |
StrictPoint(long x, long y)
Creates a StrictBounds object with the given coordinates, width
and height.
|
Method Summary | |
---|---|
Object | clone()
Returns a copy of this Point object. |
boolean | equals(Object o)
Checks, whether the given object is a StrictPoint instance sharing the same
coordinates as this point.
|
StrictPoint | getLockedInstance()
Returns a copy of this bounds object which cannot be modified anymore.
|
StrictPoint | getUnlockedInstance()
Returns a copy of this bounds object which can be modified later.
|
long | getX()
Returns the X coordinate of this StrictPoint in micro points.
|
long | getY()
Returns the Y coordinate of this StrictPoint in micro points.
|
int | hashCode()
Computes the hashcode for this point.
|
boolean | isLocked()
Checks, whether this point object is locked.
|
void | setLocation(long x, long y)
Sets the location of this StrictPoint to the specified coordinates.
|
String | toString()
Returns a string representation of these bounds.
|
Parameters: x the x-coordinate y the y-coordinate
Returns: the cloned instance.
Parameters: o the other object.
Returns: true, if the other object is equal to this object, false otherwise.
Returns: a locked copy.
Returns: an unlocked copy.
StrictPoint
in micro points.
Returns: the X coordinate of this StrictPoint
.
StrictPoint
in micro points.
Returns: the Y coordinate of this StrictPoint
.
Returns: the computed hashcode.
Returns: true, if the point is locked and therefore immutable, false otherwise.
StrictPoint
to the specified coordinates.
Parameters: x the coordinates of this StrictPoint
y the coordinates of this StrictPoint
Returns: the string representing this object.