org.nakedobjects.plugins.dnd.viewer.drawing
Class Offset
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.drawing.Offset
public class Offset
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Offset
public Offset(Location locationInViewer,
Location locationInView)
Offset
public Offset(int dx,
int dy)
Offset
public Offset(Location location)
getDeltaX
public int getDeltaX()
getDeltaY
public int getDeltaY()
offset
public Location offset(Location locationInViewer)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
add
public void add(int dx,
int dy)
subtract
public void subtract(int dx,
int dy)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.