public class EstimateExperiment extends Experiment
MultiplePartsPanel.SOCRToolBar
showModelDistribution
applet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars
Constructor and Description |
---|
EstimateExperiment() |
EstimateExperiment(RandomVariable rv)
This method initializes the experiment, including the toolbar with the
sample size scroll and label, the random variable graph and table, and
the statistics table.
|
Modifier and Type | Method and Description |
---|---|
int |
getSampleSize()
This method returns the sample size
|
void |
initialize()
used for some sublcass to initialize before be used
|
protected void |
initializePane() |
void |
reset()
This method resets the experiment.
|
void |
resetSample()
This method resets the random variable and its graph.
|
void |
setStatistics(java.lang.String text)
This method adds text to the statistics table
|
void |
update()
This method updates the experiment.
|
void |
update(java.util.Observable o,
java.lang.Object arg) |
actionPerformed, doExperiment, getAppletInfo, getDisplayPane, getInstance, getName, getOnlineDescription, getResultTable, getStopChoice, getStopFreq, getTime, getUpdateChoice, graphUpdate, itemStateChanged, resetUpdateCount, run, setShowModelDistribution, setStopFreq, setStopNow, step, 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 EstimateExperiment()
public EstimateExperiment(RandomVariable rv)
public void initialize()
Experiment
initialize
in interface IExperiment
initialize
in class Experiment
protected void initializePane()
public void update()
update
in interface IExperiment
update
in class Experiment
public void reset()
reset
in interface IExperiment
reset
in class Experiment
public void resetSample()
public int getSampleSize()
public void setStatistics(java.lang.String text)
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
update
in class MultiplePartsPanel