|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.layouting.util.geom.StrictPoint
public class StrictPoint
A StrictPoint class represents a coordinate in the report layout. It
is similiar to the Point2D class, but uses
micro-points instead of doubles.
| Constructor Summary | |
|---|---|
StrictPoint()
DefaultConstructor. |
|
StrictPoint(long x,
long y)
Creates a StrictBounds object with the given coordinates, width and height. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a copy of this Point object. |
boolean |
equals(java.lang.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. |
java.lang.String |
toString()
Returns a string representation of these bounds. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StrictPoint()
public StrictPoint(long x,
long y)
x - the x-coordinatey - the y-coordinate| Method Detail |
|---|
public long getX()
StrictPoint in micro points.
StrictPoint.public long getY()
StrictPoint in micro points.
StrictPoint.
public void setLocation(long x,
long y)
StrictPoint to the specified coordinates.
x - the coordinates of this StrictPointy - the coordinates of this StrictPointpublic boolean isLocked()
public StrictPoint getLockedInstance()
public StrictPoint getUnlockedInstance()
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other object.
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||