13a14,18 > import java.awt.Color; > import java.awt.Graphics; > import java.awt.Point; > import java.awt.Rectangle; > 16d20 < import java.awt.*; 21,23c25,26 < * @see Figure < * @see Handle < * --- > * @see CH.ifa.draw.framework.Figure > * @see CH.ifa.draw.framework.Handle 31a35 > 35a40 > * Constructor for AbstractHandle. 36a42 > * @param owner 43,52d48 < * Tracks the start of the interaction. The default implementation < * does nothing. < * @ deprecated As of version 4.1, < * use invokeStart(x, y, drawingView) < * @param x the x position where the interaction started < * @param y the y position where the interaction started < */ < public void invokeStart(int x, int y, Drawing drawing) { } < < /** 55a52 > * @see CH.ifa.draw.framework.Handle#invokeStart(int, int, CH.ifa.draw.framework.DrawingView) 60a58 > 61a60,64 > * Tracks the start of the interaction. The default implementation > * does nothing. > * @param x the x position where the interaction started > * @param y the y position where the interaction started > * @see CH.ifa.draw.framework.Handle#invokeStart(int, int, CH.ifa.draw.framework.Drawing) 63,67c66 < * use invokeStep(x, y, anchorX, anchorY, drawingView) < * < * Tracks a step of the interaction. < * @param dx x delta of this step < * @param dy y delta of this step --- > * use invokeStart(x, y, drawingView) 69c68 < public void invokeStep(int dx, int dy, Drawing drawing) { } --- > public void invokeStart(int x, int y, Drawing drawing) { } 76a76 > * @see CH.ifa.draw.framework.Handle#invokeStep(int, int, int, int, CH.ifa.draw.framework.DrawingView) 82a83,92 > * Tracks a step of the interaction. > * @param dx x delta of this step > * @param dy y delta of this step > * @see CH.ifa.draw.framework.Handle#invokeStep(int, int, CH.ifa.draw.framework.Drawing) > * @deprecated As of version 4.1, > * use invokeStep(x, y, anchorX, anchorY, drawingView) > */ > public void invokeStep(int dx, int dy, Drawing drawing) { } > > /** 87a98 > * @see CH.ifa.draw.framework.Handle#invokeEnd(int, int, int, int, CH.ifa.draw.framework.DrawingView) 93a105,106 > * Tracks the end of the interaction. > * @see CH.ifa.draw.framework.Handle#invokeEnd(int, int, CH.ifa.draw.framework.Drawing) 96,97d108 < * < * Tracks the end of the interaction. 102a114 > * @see CH.ifa.draw.framework.Handle#owner() 109a122 > * @see CH.ifa.draw.framework.Handle#displayBox() 121a135 > * @see CH.ifa.draw.framework.Handle#containsPoint(int, int) 128a143 > * @see CH.ifa.draw.framework.Handle#draw(java.awt.Graphics) 139a155,157 > /** > * @see CH.ifa.draw.framework.Handle#getUndoActivity() > */ 143a162,164 > /** > * @see CH.ifa.draw.framework.Handle#setUndoActivity(CH.ifa.draw.util.Undoable) > */ 146a168,175 > > /** > * @see CH.ifa.draw.framework.Handle#getCursor() > */ > public Cursor getCursor() { > return new AWTCursor(AWTCursor.DEFAULT_CURSOR); > } >