org.eclipse.gef.handles
Class BendpointMoveHandle
java.lang.Object
Figure
org.eclipse.gef.handles.AbstractHandle
org.eclipse.gef.handles.SquareHandle
org.eclipse.gef.handles.ConnectionHandle
org.eclipse.gef.handles.BendpointHandle
org.eclipse.gef.handles.BendpointMoveHandle
- All Implemented Interfaces:
- EventListener, Handle, PropertyChangeListener
- public class BendpointMoveHandle
- extends BendpointHandle
A BendpointHandle that is used to move an existing bendpoint.
- See Also:
- Serialized Form
|
Constructor Summary |
BendpointMoveHandle()
Creates a new BendpointMoveHandle. |
BendpointMoveHandle(ConnectionEditPart owner,
int index)
Creates a new BendpointMoveHandle, sets its owner to owner
and its index to index, and sets its locator to a new
BendpointLocator. |
BendpointMoveHandle(ConnectionEditPart owner,
int index,
int locatorIndex)
Creates a new BendpointMoveHandle, sets its owner to owner
and its index to index, and sets its locator to a new
BendpointLocator with the given locatorIndex. |
| Methods inherited from class org.eclipse.gef.handles.AbstractHandle |
ancestorAdded, ancestorMoved, ancestorRemoved, getAccessibleLocation, getDragCursor, getDragTracker, getLocator, getOwner, getOwnerFigure, setDragCursor, setDragTracker, setLocator, setOwner, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BendpointMoveHandle
public BendpointMoveHandle()
- Creates a new BendpointMoveHandle.
BendpointMoveHandle
public BendpointMoveHandle(ConnectionEditPart owner,
int index)
- Creates a new BendpointMoveHandle, sets its owner to
owner
and its index to index, and sets its locator to a new
BendpointLocator.
- Parameters:
owner - the ConnectionEditPart ownerindex - the index
BendpointMoveHandle
public BendpointMoveHandle(ConnectionEditPart owner,
int index,
int locatorIndex)
- Creates a new BendpointMoveHandle, sets its owner to
owner
and its index to index, and sets its locator to a new
BendpointLocator with the given locatorIndex.
- Parameters:
owner - the ConnectionEditPart ownerindex - the indexlocatorIndex - the index to use for the locator
createDragTracker
protected DragTracker createDragTracker()
- Creates and returns a new
ConnectionBendpointTracker.
- Overrides:
createDragTracker in class BendpointHandle
- Returns:
- the new ConnectionBendpointTracker
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.