swingwt.awt
Class Point
java.lang.Object
swingwt.awt.geom.Point2D
swingwt.awt.Point
- public class Point
- extends Point2D
Field Summary |
int |
x
|
int |
y
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
y
public int y
Point
public Point()
Point
public Point(Point p)
Point
public Point(int x,
int y)
getX
public double getX()
- Specified by:
getX
in class Point2D
getY
public double getY()
- Specified by:
getY
in class Point2D
getLocation
public Point getLocation()
setLocation
public void setLocation(Point p)
setLocation
public void setLocation(int x,
int y)
setLocation
public void setLocation(double x,
double y)
- Specified by:
setLocation
in class Point2D
move
public void move(int x,
int y)
translate
public void translate(int dx,
int dy)
equals
public boolean equals(java.lang.Object obj)
toString
public java.lang.String toString()