|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.GaltonBoardGame
public class GaltonBoardGame
This class models a simple Galton board game. The user clicks on buttons to move right or left. The applet shows the path through the Galton board, the corresponding bit string, and the corresponding subset.
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 | |
---|---|
GaltonBoardGame()
This method initializes the experiment. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
This method handles the actions associated with the left and right buttons. |
void |
reset()
This method resets the experiment. |
void |
setText()
This method sets the text in the record table. |
Methods inherited from class edu.ucla.stat.SOCR.core.Game |
---|
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, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setApplet, setName, update |
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 |
---|
public GaltonBoardGame()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class Game
public void setText()
public void reset()
reset
in interface IGame
reset
in class Game
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |