|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.handles.MoveHandleLocator
A Locator used to place MoveHandle
s. By default, a
MoveHandle's bounds are equal to its owner figure's bounds,
expanded by the handle's Insets
.
Constructor Summary | |
MoveHandleLocator(org.eclipse.draw2d.IFigure ref)
Creates a new MoveHandleLocator and sets its reference figure to ref . |
Method Summary | |
protected org.eclipse.draw2d.IFigure |
getReference()
Returns the reference figure for this locator. |
void |
relocate(org.eclipse.draw2d.IFigure target)
Sets the handle's bounds to that of its owner figure's bounds, expanded by the handle's Insets. |
void |
setReference(org.eclipse.draw2d.IFigure follow)
Sets the reference figure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MoveHandleLocator(org.eclipse.draw2d.IFigure ref)
ref
. The reference figure should
be the handle's owner figure.
ref
- the handle's ownerMethod Detail |
protected org.eclipse.draw2d.IFigure getReference()
public void relocate(org.eclipse.draw2d.IFigure target)
relocate
in interface org.eclipse.draw2d.Locator
target
- The IFigure to relocatepublic void setReference(org.eclipse.draw2d.IFigure follow)
follow
- the reference figure, should be the handle's owner figure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |