edu.ucla.stat.SOCR.games
Class ErrorGame

java.lang.Object
  extended by edu.ucla.stat.SOCR.core.SOCRValueSettable
      extended by edu.ucla.stat.SOCR.core.MultiplePartsPanel
          extended by edu.ucla.stat.SOCR.core.Game
              extended by edu.ucla.stat.SOCR.games.ErrorGame
All Implemented Interfaces:
IGame, IValueSettable, Pluginable, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, java.util.Observer

public class ErrorGame
extends Game
implements java.awt.event.ItemListener

This class is an applet for exploring the measures of center and dispersion in terms of error functions.


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel
MultiplePartsPanel.SOCRToolBar
 
Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel
applet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars
 
Constructor Summary
ErrorGame()
           
 
Method Summary
 void itemStateChanged(java.awt.event.ItemEvent event)
          This method handles the choice events associated with the changing the type of the frequency distribution, the type of error graph, and the type of summary statistics.
 void mouseClicked(java.awt.event.MouseEvent event)
          This method handles the mouse events generated when the user clicks on the interactive histogram.
 void reset()
          This method resets the experiment.
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class edu.ucla.stat.SOCR.core.Game
actionPerformed, getAppletInfo, getDisplayPane, getInstance, getOnlineDescription, performAction, setAppletInfo, updateGame
 
Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getName, getRecordTable, getTextPanel, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setApplet, setName
 
Methods inherited from class edu.ucla.stat.SOCR.core.SOCRValueSettable
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.ucla.stat.SOCR.core.Pluginable
getName, setApplet
 

Constructor Detail

ErrorGame

public ErrorGame()
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer
Overrides:
update in class MultiplePartsPanel

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent event)
This method handles the mouse events generated when the user clicks on the interactive histogram.

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class MultiplePartsPanel

reset

public void reset()
This method resets the experiment.

Specified by:
reset in interface IGame
Overrides:
reset in class Game

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent event)
This method handles the choice events associated with the changing the type of the frequency distribution, the type of error graph, and the type of summary statistics.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener