public class AWTMousePickingPan2dController<V,E> extends AWTMousePickingController<V,E>
Modifier and Type | Field and Description |
---|---|
protected boolean |
done |
protected int |
lastMouseX |
protected int |
lastMouseY |
protected static float |
PAN_FACTOR |
chart, factor, glu, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
DEFAULT_UPDATE_VIEW
controllerListeners, targets
Constructor and Description |
---|
AWTMousePickingPan2dController() |
AWTMousePickingPan2dController(Chart chart) |
AWTMousePickingPan2dController(Chart chart,
int brushSize) |
AWTMousePickingPan2dController(Chart chart,
int brushSize,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent e) |
void |
mouseWheelMoved(MouseWheelEvent e)
Compute zoom
|
protected void |
pan(Coord3d from,
Coord3d to) |
protected void |
zoom(float factor) |
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
protected boolean done
protected static float PAN_FACTOR
protected int lastMouseX
protected int lastMouseY
public AWTMousePickingPan2dController()
public AWTMousePickingPan2dController(Chart chart)
public AWTMousePickingPan2dController(Chart chart, int brushSize)
public AWTMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
public void mouseDragged(MouseEvent e)
mouseDragged
in class AWTMousePickingController<V,E>
public void mouseWheelMoved(MouseWheelEvent e)
AWTMousePickingController
mouseWheelMoved
in interface MouseWheelListener
mouseWheelMoved
in class AWTMousePickingController<V,E>
protected void zoom(float factor)
Copyright © 2016. All rights reserved.