Class AWTMousePickingPan2dController
- java.lang.Object
-
- org.jzy3d.chart.controllers.AbstractController
-
- org.jzy3d.chart.controllers.camera.AbstractCameraController
-
- org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
-
- org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingPan2dController
-
- All Implemented Interfaces:
MouseListener
,MouseWheelListener
,EventListener
,ICameraMouseController
,IMousePickingController
public class AWTMousePickingPan2dController extends AWTMousePickingController
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
done
protected int
lastMouseX
protected int
lastMouseY
protected static float
PAN_FACTOR
-
Fields inherited from class org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
chart, factor, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
-
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
perf, updateViewDefault
-
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
-
-
Constructor Summary
Constructors Constructor Description AWTMousePickingPan2dController()
AWTMousePickingPan2dController(Chart chart)
AWTMousePickingPan2dController(Chart chart, int brushSize)
AWTMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(MouseEvent e)
void
mouseWheelMoved(MouseWheelEvent e)
Compute zoomprotected void
pan(Coord3d from, Coord3d to)
protected void
zoom(float factor)
-
Methods inherited from class org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport
-
Methods inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
addSlaveThreadController, addThread, getLODPerf, getSlaveThreadController, getThread, isUpdateViewDefault, removeSlaveThreadController, rotate, rotate, rotate, setLODPerf, setUpdateViewDefault, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
-
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, removeControllerEventListener, unregister
-
-
-
-
Constructor Detail
-
AWTMousePickingPan2dController
public AWTMousePickingPan2dController()
-
AWTMousePickingPan2dController
public AWTMousePickingPan2dController(Chart chart)
-
AWTMousePickingPan2dController
public AWTMousePickingPan2dController(Chart chart, int brushSize)
-
AWTMousePickingPan2dController
public AWTMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
-
-
Method Detail
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Overrides:
mouseDragged
in classAWTMousePickingController
-
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
Description copied from class:AWTMousePickingController
Compute zoom- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
- Overrides:
mouseWheelMoved
in classAWTMousePickingController
-
zoom
protected void zoom(float factor)
-
-