public class RedBlackGame extends Game implements java.awt.event.ItemListener
MultiplePartsPanel.SOCRToolBarapplet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars| Constructor and Description |
|---|
RedBlackGame()
This method initializes the experiment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
This method handles the events associated with the buttons.
|
void |
itemStateChanged(java.awt.event.ItemEvent event)
This method handles the choice events assoicated with changing the target
fortune.
|
void |
reset()
This method resets the experiment.
|
void |
resetBet()
This method resets the bet.
|
void |
resetGame()
This method resets the game.
|
void |
update(java.util.Observable o,
java.lang.Object arg)
This method handles the scroll events associated with changing the
initial fortune or the probability of success.
|
getAppletInfo, getDisplayPane, getInstance, getOnlineDescription, performAction, setAppletInfo, updateGameaddGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getName, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, setApplet, setNamecreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSettersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, setAppletpublic void reset()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class Gamepublic void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListenerpublic void resetGame()
public void resetBet()
public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observerupdate in class MultiplePartsPanelObserver.update(java.util.Observable, java.lang.Object)