edu.ucla.stat.SOCR.chart.gui
Class SOCRChartPanel

java.lang.Object
  extended by org.jfree.chart.ChartPanel
      extended by edu.ucla.stat.SOCR.chart.gui.SOCRChartPanel
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

public class SOCRChartPanel
extends org.jfree.chart.ChartPanel
implements java.awt.event.MouseListener


Constructor Summary
SOCRChartPanel(JFreeChart chart, boolean useBuffer)
           
 
Method Summary
 void getPointInChart(java.awt.event.MouseEvent e)
          Receives chart x,y axis.
 void mousePressed(java.awt.event.MouseEvent e)
          override the mouse pressed method Handles a 'mouse pressed' event.
 void mouseReleased(java.awt.event.MouseEvent e)
          override the mouse released method Handles a 'mouse released' event.
 void setIsPressingAlt(boolean in)
          constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited
 

Constructor Detail

SOCRChartPanel

public SOCRChartPanel(JFreeChart chart,
                      boolean useBuffer)
Method Detail

setIsPressingAlt

public void setIsPressingAlt(boolean in)
constructor

Parameters:
chart -

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
override the mouse pressed method Handles a 'mouse pressed' event.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Parameters:
e - information about the event.

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
override the mouse released method Handles a 'mouse released' event.

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Parameters:
e - information about the event.

getPointInChart

public void getPointInChart(java.awt.event.MouseEvent e)
Receives chart x,y axis.

Parameters:
e - mouse event.