org.eclipse.gef.handles
Class ResizeHandle
java.lang.Object
Figure
org.eclipse.gef.handles.AbstractHandle
org.eclipse.gef.handles.SquareHandle
org.eclipse.gef.handles.ResizeHandle
- All Implemented Interfaces:
- Handle
- public class ResizeHandle
- extends SquareHandle
A Handle used to resize a GraphicalEditPart.
- See Also:
- Serialized Form
| Methods inherited from class org.eclipse.gef.handles.AbstractHandle |
addNotify, ancestorAdded, ancestorMoved, ancestorRemoved, getAccessibleLocation, getDragCursor, getDragTracker, getLocator, getOwner, getOwnerFigure, removeNotify, setDragCursor, setDragTracker, setLocator, setOwner, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizeHandle
public ResizeHandle(GraphicalEditPart owner,
int direction)
- Creates a new ResizeHandle for the given GraphicalEditPart.
direction is the relative direction from the
center of the owner figure. For example, SOUTH_EAST
would place the handle in the lower-right corner of its
owner figure. These direction constants can be found in
PositionConstants.
- Parameters:
owner - owner of the ResizeHandledirection - relative direction from the center of the owner figure
ResizeHandle
public ResizeHandle(GraphicalEditPart owner,
Locator loc,
Cursor c)
- Creates a new ResizeHandle for the given GraphicalEditPart.
- See Also:
SquareHandle.SquareHandle(GraphicalEditPart, Locator, Cursor)
createDragTracker
protected DragTracker createDragTracker()
- Returns
null for the DragTracker.
- Specified by:
createDragTracker in class AbstractHandle
- Returns:
- returns
null
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.