org.jzy3d.chart.controllers.mouse.picking
Class MousePickingPan2dController<V,E>
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
org.jzy3d.chart.controllers.mouse.picking.MousePickingController<V,E>
org.jzy3d.chart.controllers.mouse.picking.MousePickingPan2dController<V,E>
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, MouseWheelListener, EventListener
public class MousePickingPan2dController<V,E>
- extends MousePickingController<V,E>
| Methods inherited from class org.jzy3d.chart.controllers.mouse.picking.MousePickingController |
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
done
protected boolean done
PAN_FACTOR
protected static float PAN_FACTOR
lastMouseX
protected int lastMouseX
lastMouseY
protected int lastMouseY
MousePickingPan2dController
public MousePickingPan2dController()
MousePickingPan2dController
public MousePickingPan2dController(Chart chart)
MousePickingPan2dController
public MousePickingPan2dController(Chart chart,
int brushSize)
MousePickingPan2dController
public MousePickingPan2dController(Chart chart,
int brushSize,
int bufferSize)
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged in interface MouseMotionListener- Overrides:
mouseDragged in class MousePickingController<V,E>
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
- Description copied from class:
MousePickingController
- Compute zoom
- Specified by:
mouseWheelMoved in interface MouseWheelListener- Overrides:
mouseWheelMoved in class MousePickingController<V,E>
zoom
protected void zoom(float factor)
pan
protected void pan(Coord3d from,
Coord3d to)