Package org.geotools.swing.event
package org.geotools.swing.event
Mouse events and listener classes to work with both window and map positions.
Please keep in mind the following coordinate systems are in use at any point in time:
- screen coordinates: the X,Y relative to the widget
- map coordinates: the position in world coordinates as defined by the MapContext CoordinateReferenceSystem (for "EPSG:4326" these would be on lon/lat)
- data coordinates: the position in data coordinates as defined by a single MapLayer
-
ClassDescriptionReceives mouse events from a MapPane instance, converts them to MapPaneMouseEvents, and sends these to the active map pane tools.Represents a keyboard key or key combination.An adapter class that implements all of the mouse event handling methods defined in the MapMouseListener interface as empty methods, allowing sub-classes to just override the methods they need.A
MouseEvent
with methods to retrieve position in world coordinates.Takes Java AWT mouse events received by a map pane and converts them toMapMouseEvents
which add world location data.Interface for classes that listen to MapMouseEventsAn adapter class that implements all of the methods defined byMapPaneListener
as empty methods, allowing sub-classes to just override the methods they need.An event class used byMapPane
to signal changes of state to listeners.Type of MapPane eventHandles keyboard events for a map pane.Constants for supported actions.Listens to events published by the MapPane.