|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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.Exception
public void init()
public void pasteData(java.awt.datatransfer.Clipboard c)
pasteData
in interface IExperiment
public 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 Pluginable
setApplet
in class MultiplePartsPanel
public 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 Pluginable
public void doExperiment()
IExperiment
doExperiment
in interface IExperiment
public java.lang.String getAppletInfo()
getAppletInfo
in interface IExperiment
public java.lang.String getOnlineDescription()
getOnlineDescription
in interface IExperiment
public javax.swing.JTable getResultTable()
getResultTable
in interface IExperiment
public int getStopFreq()
IExperiment
getStopFreq
in interface IExperiment
public int getTime()
IExperiment
getTime
in interface IExperiment
public void graphUpdate()
graphUpdate
in interface IExperiment
public void initialize()
initialize
in interface IExperiment
public void reset()
IExperiment
reset
in interface IExperiment
public void setShowModelDistribution(boolean flag)
setShowModelDistribution
in interface IExperiment
public void setStopFreq(int i)
IExperiment
setStopFreq
in interface IExperiment
public void setStopNow(boolean b)
IExperiment
setStopNow
in interface IExperiment
public void step()
IExperiment
step
in interface IExperiment
public void stop()
IExperiment
stop
in interface IExperiment
public 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 |