public class MoveHandleLocator extends java.lang.Object implements Locator
MoveHandle
s. By default, a MoveHandle's
bounds are equal to its owner figure's bounds, expanded by the handle's
Insets
.Constructor and Description |
---|
MoveHandleLocator(IFigure ref)
Creates a new MoveHandleLocator and sets its reference figure to
ref . |
Modifier and Type | Method and Description |
---|---|
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.
|
public MoveHandleLocator(IFigure ref)
ref
. The reference figure should be the handle's owner
figure.ref
- the handle's ownerprotected IFigure getReference()
public void relocate(IFigure target)
public void setReference(IFigure follow)
follow
- the reference figure, should be the handle's owner figureCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.