public class SpinnerExperiment extends Experiment implements java.lang.Runnable
MultiplePartsPanel.SOCRToolBar
showModelDistribution
applet, fName, graphs, mainPane, recordTable, tables, toolbar2, toolbars
Constructor and Description |
---|
SpinnerExperiment()
This method initializes the experiment
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
doExperiment()
This method does the experiment
|
void |
reset()
This method resets the experiment
|
void |
start()
This method sets up the probability dialog box, when the applet starts
|
void |
step()
This method is the default step method, that runs the process one time
unit.
|
void |
update()
This method updates the display as the experiment runs
|
void |
update(java.util.Observable o,
java.lang.Object arg)
This method controls the scrollbar for the number of divisions
|
getAppletInfo, getDisplayPane, getInstance, getName, getOnlineDescription, getResultTable, getStopChoice, getStopFreq, getTime, getUpdateChoice, graphUpdate, initialize, itemStateChanged, resetUpdateCount, run, setShowModelDistribution, setStopFreq, setStopNow, stop
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, setApplet, setName
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setApplet
public SpinnerExperiment()
public void start()
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
update
in class MultiplePartsPanel
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class Experiment
public void doExperiment()
doExperiment
in interface IExperiment
doExperiment
in class Experiment
public void update()
update
in interface IExperiment
update
in class Experiment
public void reset()
reset
in interface IExperiment
reset
in class Experiment
public void step()
Experiment
step
in interface IExperiment
step
in class Experiment