Class AWTMousePickingController
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,ICameraMouseController
,IMousePickingController
- Direct Known Subclasses:
AWTMousePickingPan2dController
public class AWTMousePickingController
extends AbstractCameraController
implements MouseListener, MouseMotionListener, MouseWheelListener, IMousePickingController
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected float
protected Coord3d
protected PickingSupport
protected Coord2d
protected Coord3d
protected AbstractCameraThreadController
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
perf, updateViewDefault
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, target
-
Constructor Summary
ConstructorDescriptionAWTMousePickingController
(Chart chart) AWTMousePickingController
(Chart chart, int brushSize) AWTMousePickingController
(Chart chart, int brushSize, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
void
void
void
void
void
void
void
void
Compute zoomvoid
pick
(MouseEvent e) void
void
setPickingSupport
(PickingSupport picking) 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
-
Field Details
-
factor
protected float factor -
lastInc
protected float lastInc -
mouse3d
-
prevMouse3d
-
picking
-
prevMouse
-
threadController
-
-
Constructor Details
-
AWTMousePickingController
public AWTMousePickingController() -
AWTMousePickingController
-
AWTMousePickingController
-
AWTMousePickingController
-
-
Method Details
-
register
- Overrides:
register
in classAbstractController
-
dispose
public void dispose()- Overrides:
dispose
in classAbstractCameraController
-
getPickingSupport
- Specified by:
getPickingSupport
in interfaceIMousePickingController
-
setPickingSupport
- Specified by:
setPickingSupport
in interfaceIMousePickingController
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseWheelMoved
Compute zoom- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
pick
-
handleSlaveThread
-