public class ConfidenceIntervalExperimentGeneral extends Experiment implements java.util.Observer
MultiplePartsPanel.SOCRToolBar| Modifier and Type | Field and Description |
|---|---|
protected static javax.swing.JFrame |
frame |
showModelDistributionapplet, 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, stopaddGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, 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, waitsetAppletpublic ConfidenceIntervalExperimentGeneral()
public java.awt.Container getDisplayPane()
getDisplayPane in interface PluginablegetDisplayPane in class Experimentpublic void initialize()
Experimentinitialize in interface IExperimentinitialize in class Experimentpublic void play()
public void printArray(double[] array)
public void print2DArray(double[][] array)
public void reset()
Experimentreset in interface IExperimentreset in class Experimentprotected void updateProportion()
public void doExperiment()
ExperimentdoExperiment in interface IExperimentdoExperiment in class Experimentpublic void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observerupdate in class MultiplePartsPanelpublic void update()
Experimentupdate in interface IExperimentupdate in class Experimentpublic java.lang.String getAppletInfo()
getAppletInfo in interface IExperimentgetAppletInfo in class Experimentpublic void constructDistributionPanelObject(java.lang.String implementedFileName,
java.lang.String defaultDistributionName)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class Experiment