Class Point

java.lang.Object
  |
  +--Point

public class Point
extends java.lang.Object


Field Summary
 int x
           
 int y
           
 
Constructor Summary
Point()
           
Point(int xx, int yy)
           
 
Method Summary
 void move(int toX, int toY)
           
 java.lang.String toString()
           
 void translate(int dx, int dy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

Point

public Point()

Point

public Point(int xx,
             int yy)
Method Detail

move

public void move(int toX,
                 int toY)

translate

public void translate(int dx,
                      int dy)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object