org.jzy3d.chart.graphs
Class GraphChartMouseController<V,E>

java.lang.Object
  extended by org.jzy3d.chart.controllers.ChartCameraController
      extended by org.jzy3d.chart.controllers.mouse.ChartMouseController
          extended by org.jzy3d.chart.graphs.GraphChartMouseController<V,E>
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class GraphChartMouseController<V,E>
extends ChartMouseController


Constructor Summary
GraphChartMouseController()
           
GraphChartMouseController(Chart chart)
           
GraphChartMouseController(Chart chart, int brushSize)
           
GraphChartMouseController(Chart chart, int brushSize, int bufferSize)
           
 
Method Summary
 PickingSupport getPickingSupport()
           
 void mouseDragged(java.awt.event.MouseEvent e)
          Compute shift or rotate
 void mousePressed(java.awt.event.MouseEvent e)
          Handles toggle between mouse rotation/auto rotation: double-click starts the animated rotation, while simple click stops it.
 void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
          Compute zoom
 void setPickingSupport(PickingSupport picking)
           
 
Methods inherited from class org.jzy3d.chart.controllers.mouse.ChartMouseController
addSlaveThreadController, addTarget, dispose, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseReleased, removeSlaveThreadController
 
Methods inherited from class org.jzy3d.chart.controllers.ChartCameraController
addControllerEventListener, removeControllerEventListener, removeTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphChartMouseController

public GraphChartMouseController()

GraphChartMouseController

public GraphChartMouseController(Chart chart)

GraphChartMouseController

public GraphChartMouseController(Chart chart,
                                 int brushSize)

GraphChartMouseController

public GraphChartMouseController(Chart chart,
                                 int brushSize,
                                 int bufferSize)
Method Detail

getPickingSupport

public PickingSupport getPickingSupport()

setPickingSupport

public void setPickingSupport(PickingSupport picking)

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Description copied from class: ChartMouseController
Handles toggle between mouse rotation/auto rotation: double-click starts the animated rotation, while simple click stops it.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class ChartMouseController

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Description copied from class: ChartMouseController
Compute shift or rotate

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
Overrides:
mouseDragged in class ChartMouseController

mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Description copied from class: ChartMouseController
Compute zoom

Specified by:
mouseWheelMoved in interface java.awt.event.MouseWheelListener
Overrides:
mouseWheelMoved in class ChartMouseController