Package org.ka2ddo.yaac.gui
Interface MouseWheelCanZoomMap
- All Known Implementing Classes:
DrawLayer
,GeographicalMap
,RasterMapOverlay
public interface MouseWheelCanZoomMap
This interface indicates a geographical map or a layer within that can
use the mouse wheel to control zooming the map.
- Since:
- PROVIDER_API_VERSION == 43
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Test whether this map or Layer will zoom the map if the mouse wheel is adjusted.void
setMouseWheelZooming
(boolean zoomEnabled) Specify whether this map or Layer will zoom the map if the mouse wheel is adjusted.
-
Method Details
-
isMouseWheelZooming
boolean isMouseWheelZooming()Test whether this map or Layer will zoom the map if the mouse wheel is adjusted.- Returns:
- boolean true if mouse wheel motion zooms the map
-
setMouseWheelZooming
void setMouseWheelZooming(boolean zoomEnabled) Specify whether this map or Layer will zoom the map if the mouse wheel is adjusted.- Parameters:
zoomEnabled
- boolean true if mouse wheel motion zooms the map
-