twaver.gis.gadget.inputhandler
Class GisPanInterHandler
java.lang.Object
twaver.network.inputhandler.InputAdapter
twaver.gis.gadget.inputhandler.GisPanInterHandler
- All Implemented Interfaces:
- java.util.EventListener, twaver.network.inputhandler.InputHandler, java.awt.event.KeyListener, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
- public class GisPanInterHandler
- extends twaver.network.inputhandler.InputAdapter
GisPanInterHandler is used to handle pan interaction. After the mouse is dragged and released, the map will be paned
to the new position.
Methods inherited from class twaver.network.inputhandler.InputAdapter |
cleanup, init, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GisPanInterHandler
public GisPanInterHandler(twaver.network.TNetwork network,
GeographyMap map)
GisPanInterHandler
public GisPanInterHandler(GeographyMap map)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)