Package org.eclipse.gef
Interface Handle
- All Known Implementing Classes:
AbstractHandle,BendpointCreationHandle,BendpointHandle,BendpointMoveHandle,ConnectionEndHandle,ConnectionEndpointHandle,ConnectionHandle,ConnectionStartHandle,MoveHandle,NonResizableHandle,ResizeHandle,SquareHandle
public interface Handle
An interface used by the
SelectionTool to
obtain a DragTracker. A GraphicalViewer will return a Handle at a given
location. The SelectionTool looks for Handles first
whenever the User presses the mouse button. If a Handle is found, it usually
offers a DragTracker, although null can also be returned.
For keyboard accessibility purposes, a Handle can provide a Point at which the SelectionTool should programmatically place the mouse.
-
Method Summary
Modifier and TypeMethodDescriptionReturns an optional accessibility Point.Returns the DragTracker for dragging this Handle.
-
Method Details
-
getDragTracker
DragTracker getDragTracker()Returns the DragTracker for dragging this Handle.- Returns:
nullor aDragTracker
-
getAccessibleLocation
Point getAccessibleLocation()Returns an optional accessibility Point. This returned point is in absolute coordinates.- Returns:
nullor the absolute location
-