|
Eclipse GEF 3.2 |
||||||||||
| 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 MoveHandles. By default, a
MoveHandle's bounds are equal to its owner figure's bounds,
expanded by the handle's Insets.
| Constructor Summary | |
MoveHandleLocator(IFigure ref)
Creates a new MoveHandleLocator and sets its reference figure to ref. |
|
| Method Summary | |
protected IFigure |
getReference()
Returns the reference figure for this locator. |
void |
relocate(IFigure target)
Sets the handle's bounds to that of its owner figure's bounds, expanded by the handle's Insets. |
void |
setReference(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(IFigure ref)
ref. The reference figure should
be the handle's owner figure.
ref - the handle's owner| Method Detail |
protected IFigure getReference()
public void relocate(IFigure target)
relocate in interface Locatortarget - The IFigure to relocatepublic void setReference(IFigure follow)
follow - the reference figure, should be the handle's owner figure
|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||