Back to index

moin  1.9.0~rc2
Handle.java
Go to the documentation of this file.
00001 /*
00002  * @(#)Handle.java 5.1
00003  *
00004  */
00005 
00006 package CH.ifa.draw.framework;
00007 
00008 import java.awt.*;
00009 
00022 public interface Handle {
00023 
00024     public static final int HANDLESIZE = 8;
00025 
00030     public abstract Point locate();
00031 
00040     public void invokeStart(int  x, int  y, Drawing drawing);
00041 
00051     public void invokeStart(int  x, int  y, DrawingView view);
00052 
00061     public void invokeStep (int dx, int dy, Drawing drawing);
00062 
00070     public void invokeStep (int x, int y, int anchorX, int anchorY, DrawingView view);
00071 
00079     public void invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view);
00080 
00087     public void invokeEnd  (int dx, int dy, Drawing drawing);
00088 
00092     public Figure owner();
00093 
00097     public Rectangle displayBox();
00098 
00102     public boolean containsPoint(int x, int y);
00103 
00107     public void draw(Graphics g);
00108 }
00109 
00110