|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.MultiplePartsPanel
edu.ucla.stat.SOCR.applications.Application
public class Application
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel |
|---|
MultiplePartsPanel.SOCRToolBar |
| Field Summary | |
|---|---|
java.awt.datatransfer.Clipboard |
clipboard
|
protected int |
numStocks
|
| Fields inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel |
|---|
applet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars |
| Constructor Summary | |
|---|---|
Application()
|
|
| Method Summary | |
|---|---|
void |
addTool2(javax.swing.JComponent c)
|
void |
doExperiment()
This method defines what the experiment actually does, and should be overridden |
void |
emptyTool()
|
void |
emptyTool2()
|
java.lang.String |
getAppletInfo()
|
java.awt.Container |
getDisplayPane()
|
static Application |
getInstance(java.lang.String classname)
|
java.lang.String |
getLocalAbout()
|
java.lang.String |
getLocalHelp()
|
java.lang.String |
getOnlineDescription()
|
javax.swing.JTable |
getResultTable()
|
int |
getStopFreq()
This method returns the stop frequency |
int |
getTime()
This method gets the time parameter of the stochastic process. |
java.lang.String |
getWikiAbout()
|
java.lang.String |
getWikiHelp()
|
void |
graphUpdate()
|
void |
init()
|
void |
initialize()
|
void |
loadSlider(double[] r1,
double[] c1,
double[] m1)
|
void |
pasteData(java.awt.datatransfer.Clipboard c)
|
void |
reset()
This method is the default reset method, that resets the process to its initial state. |
void |
setApplet(javax.swing.JApplet a)
|
void |
setNumberStocks(java.lang.String number)
|
void |
setShowModelDistribution(boolean flag)
|
void |
setStopFreq(int i)
This method sets the stop frequency |
void |
setStopNow(boolean b)
This method defines the boolean variable that stops the process, when the simulation is in run mode |
void |
setTangent(boolean t)
|
void |
step()
This method is the default step method, that runs the process one time unit. |
void |
stop()
This method stops the simulation thread |
void |
update()
This method is the default update method and defines how the display is updated. |
void |
updateGraph(javax.swing.JComponent c)
|
| Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel |
|---|
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getName, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setName, update |
| Methods inherited from class edu.ucla.stat.SOCR.core.SOCRValueSettable |
|---|
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Observer |
|---|
update |
| Methods inherited from interface edu.ucla.stat.SOCR.core.Pluginable |
|---|
getName |
| Field Detail |
|---|
public java.awt.datatransfer.Clipboard clipboard
protected int numStocks
| Constructor Detail |
|---|
public Application()
| Method Detail |
|---|
public static Application getInstance(java.lang.String classname)
throws java.lang.Exception
java.lang.Exceptionpublic void init()
public void pasteData(java.awt.datatransfer.Clipboard c)
pasteData in interface IExperimentpublic void setNumberStocks(java.lang.String number)
public void addTool2(javax.swing.JComponent c)
public void emptyTool()
public void emptyTool2()
public void updateGraph(javax.swing.JComponent c)
public void setApplet(javax.swing.JApplet a)
setApplet in interface PluginablesetApplet in class MultiplePartsPanelpublic java.lang.String getLocalAbout()
public void setTangent(boolean t)
public java.lang.String getLocalHelp()
public java.lang.String getWikiAbout()
public java.lang.String getWikiHelp()
public java.awt.Container getDisplayPane()
getDisplayPane in interface Pluginablepublic void doExperiment()
IExperiment
doExperiment in interface IExperimentpublic java.lang.String getAppletInfo()
getAppletInfo in interface IExperimentpublic java.lang.String getOnlineDescription()
getOnlineDescription in interface IExperimentpublic javax.swing.JTable getResultTable()
getResultTable in interface IExperimentpublic int getStopFreq()
IExperiment
getStopFreq in interface IExperimentpublic int getTime()
IExperiment
getTime in interface IExperimentpublic void graphUpdate()
graphUpdate in interface IExperimentpublic void initialize()
initialize in interface IExperimentpublic void reset()
IExperiment
reset in interface IExperimentpublic void setShowModelDistribution(boolean flag)
setShowModelDistribution in interface IExperimentpublic void setStopFreq(int i)
IExperiment
setStopFreq in interface IExperimentpublic void setStopNow(boolean b)
IExperiment
setStopNow in interface IExperimentpublic void step()
IExperiment
step in interface IExperimentpublic void stop()
IExperiment
stop in interface IExperimentpublic void update()
IExperiment
update in interface IExperiment
public void loadSlider(double[] r1,
double[] c1,
double[] m1)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||