org.nakedobjects.viewer.lightweight
Class Location

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.Location

public class Location
extends java.lang.Object


Constructor Summary
Location()
           
Location(int x, int y)
           
Location(Location location)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getX()
           
 int getY()
           
 void setX(int x)
           
 void setY(int y)
           
 java.lang.String toString()
           
 void translate(int dx, int dy)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(int x,
                int y)

Location

public Location(Location location)

Location

public Location()
Method Detail

setX

public void setX(int x)

getX

public int getX()

setY

public void setY(int y)

getY

public int getY()

equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()

translate

public void translate(int dx,
                      int dy)