Package org.eclipse.gef
Interface Handle
-
- All Known Implementing Classes:
AbstractHandle,BendpointCreationHandle,BendpointHandle,BendpointMoveHandle,ConnectionEndHandle,ConnectionEndpointHandle,ConnectionHandle,ConnectionStartHandle,MoveHandle,NonResizableHandle,ResizeHandle,SquareHandle
public interface HandleAn interface used by theSelectionToolto obtain a DragTracker. A GraphicalViewer will return a Handle at a given location. TheSelectionToollooks forHandlesfirst whenever the User presses the mouse button. If a Handle is found, it usually offers a DragTracker, althoughnullcan also be returned.For keyboard accessibility purposes, a Handle can provide a Point at which the SelectionTool should programmatically place the mouse.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.draw2d.geometry.PointgetAccessibleLocation()Returns an optional accessibility Point.DragTrackergetDragTracker()Returns the DragTracker for dragging this Handle.
-
-
-
Method Detail
-
getDragTracker
DragTracker getDragTracker()
Returns the DragTracker for dragging this Handle.- Returns:
nullor aDragTracker
-
getAccessibleLocation
org.eclipse.draw2d.geometry.Point getAccessibleLocation()
Returns an optional accessibility Point. This returned point is in absolute coordinates.- Returns:
nullor the absolute location
-
-