|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.RelativeLocator
org.eclipse.gef.handles.RelativeHandleLocator
public class RelativeHandleLocator
Similar to RelativeLocator, but adds support for
the HandleBounds interface. If the reference
figure implements HandleBounds, then
HandleBounds.getHandleBounds() will be used as the reference box. If
not, the behavior is the same as that of the superclass.
| Constructor Summary | |
|---|---|
RelativeHandleLocator(IFigure reference,
int location)
Constructs a new locator using the given reference figure and location. |
|
| Method Summary | |
|---|---|
protected Rectangle |
getReferenceBox()
Overridden to check for reference figures implementing the HandleBounds interface. |
| Methods inherited from class org.eclipse.draw2d.RelativeLocator |
|---|
getReferenceFigure, relocate, setReferenceFigure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelativeHandleLocator(IFigure reference,
int location)
reference - the reference figurelocation - one of NORTH, NORTH_EAST, etc.| Method Detail |
|---|
protected Rectangle getReferenceBox()
HandleBounds interface.
getReferenceBox in class RelativeLocatorRelativeLocator.getReferenceBox()
|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||