public class ConfidenceIntervalExperimentGeneral extends Experiment implements java.util.Observer
MultiplePartsPanel.SOCRToolBar
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.JFrame |
frame |
showModelDistribution
applet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars
Constructor and Description |
---|
ConfidenceIntervalExperimentGeneral()
initialization method
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
void |
constructDistributionPanelObject(java.lang.String implementedFileName,
java.lang.String defaultDistributionName)
This methods constructs an instance of the SOCRDistributions object, a subclass of SOCRApplet,
that provides access to the fControlPanel distribution selection interface
|
void |
doExperiment()
This method defines what the experiment actually does, and should be
overridden
|
java.lang.String |
getAppletInfo()
This method returns basic information about the applet, including copyright
information, descriptive informaion, and instructions.
|
java.awt.Container |
getDisplayPane() |
void |
initialize()
used for some sublcass to initialize before be used
|
void |
play()
play generates sample data
param nTrials is the number of tests to do
|
void |
print2DArray(double[][] array) |
void |
printArray(double[] array) |
void |
reset()
This method is the default reset method, that resets the process to its
initial state.
|
void |
update()
This method is the default update method and defines how the display is
updated.
|
void |
update(java.util.Observable o,
java.lang.Object arg) |
protected void |
updateProportion() |
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 ConfidenceIntervalExperimentGeneral()
public java.awt.Container getDisplayPane()
getDisplayPane
in interface Pluginable
getDisplayPane
in class Experiment
public void initialize()
Experiment
initialize
in interface IExperiment
initialize
in class Experiment
public void play()
public void printArray(double[] array)
public void print2DArray(double[][] array)
public void reset()
Experiment
reset
in interface IExperiment
reset
in class Experiment
protected void updateProportion()
public void doExperiment()
Experiment
doExperiment
in interface IExperiment
doExperiment
in class Experiment
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
update
in class MultiplePartsPanel
public void update()
Experiment
update
in interface IExperiment
update
in class Experiment
public java.lang.String getAppletInfo()
getAppletInfo
in interface IExperiment
getAppletInfo
in class Experiment
public void constructDistributionPanelObject(java.lang.String implementedFileName, java.lang.String defaultDistributionName)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class Experiment