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,MouseMotionListener,MouseWheelListener,EventListener,ICameraMouseController,IMousePickingController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected intprotected static floatFields inherited from class org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
factor, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadControllerFields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
perf, updateViewDefaultFields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, target -
Constructor Summary
ConstructorsConstructorDescriptionAWTMousePickingPan2dController(Chart chart, int brushSize) AWTMousePickingPan2dController(Chart chart, int brushSize, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCompute zoomprotected voidprotected voidzoom(float factor) Methods inherited from class org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupportMethods 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, zoomZMethods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, removeControllerEventListener, unregister
-
Field Details
-
done
protected boolean done -
PAN_FACTOR
protected static float PAN_FACTOR -
lastMouseX
protected int lastMouseX -
lastMouseY
protected int lastMouseY
-
-
Constructor Details
-
AWTMousePickingPan2dController
public AWTMousePickingPan2dController() -
AWTMousePickingPan2dController
-
AWTMousePickingPan2dController
-
AWTMousePickingPan2dController
-
-
Method Details
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classAWTMousePickingController
-
mouseWheelMoved
Description copied from class:AWTMousePickingControllerCompute zoom- Specified by:
mouseWheelMovedin interfaceMouseWheelListener- Overrides:
mouseWheelMovedin classAWTMousePickingController
-
zoom
protected void zoom(float factor) -
pan
-