Back to index

moin  1.9.0~rc2
LocatorHandle.java
Go to the documentation of this file.
00001 /*
00002  * @(#)LocatorHandle.java 5.1
00003  *
00004  */
00005 
00006 package CH.ifa.draw.standard;
00007 
00008 import java.awt.Point;
00009 import CH.ifa.draw.framework.*;
00010 
00018 public class LocatorHandle extends AbstractHandle {
00019 
00020     private Locator       fLocator;
00021 
00025     public LocatorHandle(Figure owner, Locator l) {
00026         super(owner);
00027         fLocator = l;
00028     }
00029 
00034     public Point locate() {
00035         return fLocator.locate(owner());
00036     }
00037 }