public class Point
extends java.lang.Object
implements java.io.Serializable
Each Point instance holds an x,y coordinate. This is used to specify the location of a node on the canvas.
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ xxxxx.x 2010-08-10 dstorey v7.0.0.2 Release xxxxx.x 2011-07-06 dstorey v8.0.0.0 Release
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
int |
x |
int |
y |
Constructor and Description |
---|
Point() |
Point(int x,
int y)
Construct a Point with x and y coordinates
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object compare) |
int |
getX() |
int |
getY() |
Point |
setX(int x) |
Point |
setY(int y) |
public static final java.lang.String copyright
public int x
public int y
public Point()
public Point(int x, int y)
x
- int ;y
- int ;public Point setX(int x)
x
- int ;public Point setY(int y)
y
- int ;public int getX()
public int getY()
public boolean equals(java.lang.Object compare)
equals
in class java.lang.Object