edu.ucla.stat.SOCR.chart.gui
Class SOCRChartPanel
java.lang.Object
   org.jfree.chart.ChartPanel
org.jfree.chart.ChartPanel
       edu.ucla.stat.SOCR.chart.gui.SOCRChartPanel
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 | 
 
SOCRChartPanel
public SOCRChartPanel(JFreeChart chart,
                      boolean useBuffer)
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:
- mousePressedin 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:
- mouseReleasedin 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.