public class MapController extends MouseInputAdapter implements MouseListener, MouseMotionListener
The view of map is specified in MapViewpoint, it consists from
The user is controlling the view by dragging the mouse while pressing the buttons:
| Constructor and Description |
|---|
MapController(MapGLPanel panel,
MapViewpoint mapViewpoint,
cz.cuni.amis.pogamut.base3d.worldview.object.Location center) |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
registerListeners() |
void |
unregisterListeners() |
mouseEntered, mouseExited, mouseMoved, mouseWheelMovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmouseEntered, mouseExitedmouseMovedpublic MapController(MapGLPanel panel, MapViewpoint mapViewpoint, cz.cuni.amis.pogamut.base3d.worldview.object.Location center)
public void registerListeners()
public void unregisterListeners()
public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenermouseClicked in class MouseAdapterpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdapterpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseAdapterpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class MouseAdapterCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.