org.eclipse.gef.handles
Class ConnectionEndHandle
java.lang.Object
Figure
org.eclipse.gef.handles.AbstractHandle
org.eclipse.gef.handles.SquareHandle
org.eclipse.gef.handles.ConnectionHandle
org.eclipse.gef.handles.ConnectionEndHandle
- All Implemented Interfaces:
- EventListener, Handle, PropertyChangeListener
- public final class ConnectionEndHandle
- extends ConnectionHandle
A handle used at the end of the Connection.
This is treated differently than the start of the Connection.
- See Also:
- Serialized Form
| 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 |
ConnectionEndHandle
public ConnectionEndHandle(ConnectionEditPart owner)
- Creates a new ConnectionEndHandle, sets its owner to
owner,
and sets its locator to a ConnectionLocator.
- Parameters:
owner - the ConnectionEditPart owner
ConnectionEndHandle
public ConnectionEndHandle(ConnectionEditPart owner,
boolean fixed)
- Creates a new ConnectionEndHandle with its owner set to
owner.
If the handle is fixed, it cannot be dragged.
- Parameters:
owner - the ConnectionEditPart ownerfixed - if true, handle cannot be dragged
ConnectionEndHandle
public ConnectionEndHandle()
- Creates a new ConnectionEndHandle.
createDragTracker
protected DragTracker createDragTracker()
- Creates and returns a new
ConnectionEndpointTracker.
- Specified by:
createDragTracker in class AbstractHandle
- Returns:
- the new ConnectionEndpointTracker
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.