30 |
package skrueger.geotools; |
package skrueger.geotools; |
31 |
|
|
32 |
import java.awt.event.MouseEvent; |
import java.awt.event.MouseEvent; |
33 |
|
import java.awt.event.MouseWheelEvent; |
34 |
import java.awt.geom.Point2D; |
import java.awt.geom.Point2D; |
35 |
|
|
36 |
import org.opengis.geometry.DirectPosition; |
import org.opengis.geometry.DirectPosition; |
77 |
* @param endCoord geo coordinate the window ends |
* @param endCoord geo coordinate the window ends |
78 |
*/ |
*/ |
79 |
public void performWindow(XMapPane mapPane, MouseEvent ev, Point2D dragStartPos, DirectPosition startCoord, DirectPosition endCoord); |
public void performWindow(XMapPane mapPane, MouseEvent ev, Point2D dragStartPos, DirectPosition startCoord, DirectPosition endCoord); |
80 |
|
|
81 |
|
/** |
82 |
|
* Defines the action in case of a mouse wheel action on the map (the moment |
83 |
|
* a drag ends). |
84 |
|
* @param mapPane map pane the action should be performed on |
85 |
|
* @param ev mouse event of the action |
86 |
|
* @param coord geo coordinate the wheel is turned on |
87 |
|
*/ |
88 |
|
public void performWheel(XMapPane mapPane, MouseWheelEvent ev, DirectPosition coord); |
89 |
|
|
90 |
} |
} |