root/trunk/PointListener.java
| Revision 3, 450 bytes (checked in by dpaola2, 1 month ago) |
|---|
| Line | |
|---|---|
| 1 | import java.awt.event.*; |
| 2 | import java.awt.geom.*; |
| 3 | |
| 4 | public interface PointListener { |
| 5 | /** |
| 6 | * This interface is used by JGraphViewer to notify other classes when |
| 7 | * the graph has received a mouse event. The JGraphViewer forwards the |
| 8 | * MouseEvent given to it by all members of the MouseListener interface, |
| 9 | * along with the point, translated to the real coordinate system. |
| 10 | */ |
| 11 | |
| 12 | public void pointReceived(MouseEvent event, Point2D.Double point); |
| 13 | } |
Note: See TracBrowser for help on using the browser.
