org.jzy3d.chart.controllers.mouse.picking
Class AWTMousePickingPan2dController<V,E>

java.lang.Object
  extended by org.jzy3d.chart.controllers.AbstractController
      extended by org.jzy3d.chart.controllers.camera.AbstractCameraController
          extended by org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingController<V,E>
              extended by org.jzy3d.chart.controllers.mouse.picking.AWTMousePickingPan2dController<V,E>
All Implemented Interfaces:
MouseListener, MouseWheelListener, EventListener, ICameraMouseController

public class AWTMousePickingPan2dController<V,E>
extends AWTMousePickingController<V,E>


Field Summary
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, glu, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
 
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
DEFAULT_UPDATE_VIEW
 
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
 
Constructor Summary
AWTMousePickingPan2dController()
           
AWTMousePickingPan2dController(Chart chart)
           
AWTMousePickingPan2dController(Chart chart, int brushSize)
           
AWTMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
           
 
Method Summary
 void mouseDragged(com.jogamp.newt.event.MouseEvent e)
           
 void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
           
protected  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, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, 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 org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

done

protected boolean done

PAN_FACTOR

protected static float PAN_FACTOR

lastMouseX

protected int lastMouseX

lastMouseY

protected int lastMouseY
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(com.jogamp.newt.event.MouseEvent e)

mouseWheelMoved

public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)

zoom

protected void zoom(float factor)

pan

protected void pan(Coord3d from,
                   Coord3d to)


Copyright © 2013. All rights reserved.