Package | Description |
---|---|
org.geotools.swing |
Simple Swing widgets for map display.
|
org.geotools.swing.event |
Mouse events and listener classes to work with both window and map positions.
|
org.geotools.swing.tool |
Cursor tools for zooming and panning; subclass to implement additional mouse-driven tools.
|
Modifier and Type | Method and Description |
---|---|
void |
MapPane.addMouseListener(MapMouseListener listener)
Registers an object that wishes to receive
MapMouseEvent s such as a StatusBar. |
void |
AbstractMapPane.addMouseListener(MapMouseListener listener)
Registers an object that wishes to receive
MapMouseEvent s such as a StatusBar. |
void |
MapPane.removeMouseListener(MapMouseListener listener)
Removes the specified listener.
|
void |
AbstractMapPane.removeMouseListener(MapMouseListener listener)
Removes the specified listener.
|
Modifier and Type | Class and Description |
---|---|
class |
MapMouseAdapter
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MapMouseEventDispatcher.addMouseListener(MapMouseListener listener)
Adds a listener for map pane mouse events.
|
boolean |
DefaultMapMouseEventDispatcher.addMouseListener(MapMouseListener listener)
Adds a listener for map pane mouse events.
|
boolean |
MapMouseEventDispatcher.removeMouseListener(MapMouseListener listener)
Removes the given listener.
|
boolean |
DefaultMapMouseEventDispatcher.removeMouseListener(MapMouseListener listener)
Removes the given listener.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractZoomTool
Abstract base class for the zoom-in and zoom-out tools.
|
class |
CursorTool
The base class for map pane cursor tools.
|
class |
InfoTool
A cursor tool to retrieve information about features that the user clicks on with the mouse.
|
class |
PanTool
A cursor tool to pan the map pane display.
|
class |
ScrollWheelTool
Allow scrolling with the mouse wheel.
|
class |
ZoomInTool
A cursor tool to zoom in the map pane display.
|
class |
ZoomOutTool
A cursor tool to zoom out the map pane display.
|
Copyright © 1996–2021 Geotools. All rights reserved.