org.jzy3d.chart.controllers.mouse.picking
Class NewtMousePickingPan2dController<V,E>
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController<V,E>
org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingPan2dController<V,E>
- All Implemented Interfaces:
- com.jogamp.newt.event.MouseListener, com.jogamp.newt.event.NEWTEventListener, EventListener, ICameraMouseController
public class NewtMousePickingPan2dController<V,E>
- extends NewtMousePickingController<V,E>
Methods inherited from class org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController |
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport |
Methods inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController |
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ |
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
NewtMousePickingPan2dController
public NewtMousePickingPan2dController()
NewtMousePickingPan2dController
public NewtMousePickingPan2dController(Chart chart)
NewtMousePickingPan2dController
public NewtMousePickingPan2dController(Chart chart,
int brushSize)
NewtMousePickingPan2dController
public NewtMousePickingPan2dController(Chart chart,
int brushSize,
int bufferSize)
mouseDragged
public void mouseDragged(com.jogamp.newt.event.MouseEvent e)
- Specified by:
mouseDragged
in interface com.jogamp.newt.event.MouseListener
- Overrides:
mouseDragged
in class NewtMousePickingController<V,E>
mouseWheelMoved
public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
- Description copied from class:
NewtMousePickingController
- Compute zoom
- Specified by:
mouseWheelMoved
in interface com.jogamp.newt.event.MouseListener
- Overrides:
mouseWheelMoved
in class NewtMousePickingController<V,E>
zoom
protected void zoom(float factor)
pan
protected void pan(Coord3d from,
Coord3d to)
Copyright © 2013. All rights reserved.