|
JHotDraw 6.0b1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jhotdraw.standard.AbstractHandle org.jhotdraw.standard.LocatorHandle
public class LocatorHandle
A LocatorHandle implements a Handle by delegating the location requests to a Locator object.
LocatorHandle
Field Summary |
---|
Fields inherited from class org.jhotdraw.standard.AbstractHandle |
---|
HANDLESIZE |
Constructor Summary | |
---|---|
LocatorHandle(Figure owner,
Locator l)
Initializes the LocatorHandle with the given Locator. |
Method Summary | |
---|---|
Cursor |
getCursor()
Returns the preferred Cursor for this Handle. |
Locator |
getLocator()
This should be cloned or it gives the receiver the opportunity to alter our internal behavior. |
java.awt.Point |
locate()
Locates the handle on the figure by forwarding the request to its figure. |
Methods inherited from class org.jhotdraw.standard.AbstractHandle |
---|
containsPoint, displayBox, draw, getUndoActivity, invokeEnd, invokeEnd, invokeStart, invokeStart, invokeStep, invokeStep, owner, setUndoActivity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocatorHandle(Figure owner, Locator l)
Method Detail |
---|
public Locator getLocator()
public java.awt.Point locate()
public Cursor getCursor()
Handle
getCursor
in interface Handle
getCursor
in class AbstractHandle
Handle.getCursor()
|
JHotDraw 6.0b1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |