| |
|
| java.lang.Object net.refractions.udig.tools.edit.MouseTracker
MouseTracker | public class MouseTracker (Code) | | Keeps track of the what mouse events have happened. Must be in event thread to call this method.
author: jones since: 1.1.0 |
getCurrentPoint | public Point getCurrentPoint()(Code) | | Returns the current location of the mouse.
|
getDragStarted | public Point getDragStarted()(Code) | | Returns the point where the drag started or null if not dragging. |
getModifiablePreviousEvents | protected Queue<MapMouseEvent> getModifiablePreviousEvents()(Code) | | Returns the previous events queue. This is a thread-safe queue.
Parameters: previousEvents - The previousEvents to set. |
getPreviousEvents | public Queue<MapMouseEvent> getPreviousEvents()(Code) | | This is a copy modifying queue will have no effect on original queue
Returns the queue of previous events. |
setDragStarted | protected void setDragStarted(Point dragStarted)(Code) | | Parameters: dragStarted - The dragStarted to set. |
updateState | protected void updateState(MapMouseEvent e, EventType type)(Code) | | Called by EditToolhandler to updates the state.
Parameters: e - The most recent event Parameters: type - the type of event |
|
|
|