34 |
|
|
35 |
import org.opengis.geometry.DirectPosition; |
import org.opengis.geometry.DirectPosition; |
36 |
|
|
37 |
|
import schmitzm.swing.event.MouseInputType; |
38 |
|
|
39 |
/** |
/** |
40 |
* |
* Defines an action (e.g. Zoom in, zoom out, drag) when a click, drag or |
41 |
|
* window selection is performed on a {@link XMapPane}. |
42 |
* @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany) |
* @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany) |
43 |
*/ |
*/ |
44 |
public interface XMapPaneAction { |
public interface XMapPaneAction { |
45 |
|
|
46 |
/** |
/** |
47 |
* Defines the action in case of a single click on the map. |
* Defines the action in case of a single click on the map. Called by |
48 |
|
* ### XMapPaneMouseAdapter ### on {@link MouseInputType#LClick} and |
49 |
|
* {@link MouseInputType#RClick}. |
50 |
* @param mapPane map pane the action should be performed on |
* @param mapPane map pane the action should be performed on |
51 |
* @param ev mouse event of the action |
* @param ev mouse event of the action |
52 |
* @param coord geo coordinate the click is performed on |
* @param coord geo coordinate the click is performed on |