edu.ucla.stat.SOCR.games
Class WaveletGame
java.lang.Object
edu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.MultiplePartsPanel
edu.ucla.stat.SOCR.core.Game
edu.ucla.stat.SOCR.games.WaveletGame
- All Implemented Interfaces:
- IGame, IValueSettable, Pluginable, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, java.util.Observer
public class WaveletGame
- extends Game
- implements java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ComponentListener
This class models a simple interactive scatterplot. The user
clicks on the scatterplot to generate points. The regression line
and summary statistics are shown.
Constructor Summary |
WaveletGame()
This method initializes the applet, including the toolbar,
scatterplot, and statistics table. |
Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel |
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getName, getRecordTable, getTextPanel, play, removeToolbar, setApplet, setName, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sampleCount
public static final int sampleCount
- See Also:
- Constant Field Values
halfSampleCount
public static final int halfSampleCount
- See Also:
- Constant Field Values
halfSampleCountFloat
public static final double halfSampleCountFloat
- See Also:
- Constant Field Values
waveletloader
public WaveletLoader waveletloader
WaveletGame
public WaveletGame()
- This method initializes the applet, including the toolbar,
scatterplot, and statistics table.
updateGame
public void updateGame(java.awt.Graphics realg)
- Overrides:
updateGame
in class Game
componentHidden
public void componentHidden(java.awt.event.ComponentEvent e)
- Specified by:
componentHidden
in interface java.awt.event.ComponentListener
componentMoved
public void componentMoved(java.awt.event.ComponentEvent e)
- Specified by:
componentMoved
in interface java.awt.event.ComponentListener
componentShown
public void componentShown(java.awt.event.ComponentEvent e)
- Specified by:
componentShown
in interface java.awt.event.ComponentListener
componentResized
public void componentResized(java.awt.event.ComponentEvent e)
- Specified by:
componentResized
in interface java.awt.event.ComponentListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class Game
adjustmentValueChanged
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
- Specified by:
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in class MultiplePartsPanel
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interface java.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in class MultiplePartsPanel
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
- Overrides:
mouseClicked
in class MultiplePartsPanel
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener
- Overrides:
mouseEntered
in class MultiplePartsPanel
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
- Overrides:
mouseExited
in class MultiplePartsPanel
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
- Overrides:
mousePressed
in class MultiplePartsPanel
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
- Overrides:
mouseReleased
in class MultiplePartsPanel