edu.ucla.stat.SOCR.applications.demo
Class BlackScholesApplication
java.lang.Object
   edu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.SOCRValueSettable
       edu.ucla.stat.SOCR.core.MultiplePartsPanel
edu.ucla.stat.SOCR.core.MultiplePartsPanel
           edu.ucla.stat.SOCR.applications.Application
edu.ucla.stat.SOCR.applications.Application
               edu.ucla.stat.SOCR.applications.demo.BlackScholesApplication
edu.ucla.stat.SOCR.applications.demo.BlackScholesApplication
- All Implemented Interfaces: 
- IExperiment, IValueSettable, Pluginable, java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, java.util.Observer
- public class BlackScholesApplication 
- extends Application- implements java.util.Observer, IExperiment, java.awt.event.ActionListener
The triangle experiment is to break a stick at random and see if the pieces
 form a triangle. If so, is the triangle acute or obtuse?
 
 
 
 
 
 
 
| Methods inherited from class edu.ucla.stat.SOCR.applications.Application | 
| addTool2, doExperiment, emptyTool, emptyTool2, getInstance, getLocalAbout, getLocalHelp, getResultTable, getStopFreq, getTime, getWikiAbout, getWikiHelp, graphUpdate, loadSlider, pasteData, reset, setApplet, setNumberStocks, setShowModelDistribution, setStopFreq, setStopNow, setTangent, step, stop, updateGraph | 
 
| Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel | 
| addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getName, getRecordTable, getTextPanel, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setName | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface edu.ucla.stat.SOCR.core.IExperiment | 
| doExperiment, getResultTable, getStopFreq, getTime, graphUpdate, pasteData, reset, setShowModelDistribution, setStopFreq, setStopNow, step, stop | 
 
 
CHART_SIZE_X
protected final int CHART_SIZE_X
- See Also:
- Constant Field Values
CHART_SIZE_Y
protected final int CHART_SIZE_Y
- See Also:
- Constant Field Values
chartPanel
protected ChartPanel chartPanel
upContainer
protected javax.swing.JSplitPane upContainer
input
protected double[] input
in
protected javax.swing.JTextField[] in
BlackScholesApplication
public BlackScholesApplication()
init
public void init()
- 
- Overrides:
- initin class- Application
 
- 
 
createDataset
protected XYSeriesCollection createDataset()
- 
 
- 
 
createEmptyChart
protected JFreeChart createEmptyChart(PieDataset dataset)
- 
 
- 
 
update
public void update(java.util.Observable arg0,
                   java.lang.Object arg1)
- This method is the default update method and defines how the display is
 updated. This method should be overridden.
 
- 
- Specified by:
- updatein interface- java.util.Observer
- Overrides:
- updatein class- MultiplePartsPanel
 
- 
 
calculate
public void calculate()
- 
 
- 
 
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- 
- Specified by:
- actionPerformedin interface- java.awt.event.ActionListener
 
- 
 
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
- 
- Specified by:
- mouseClickedin interface- java.awt.event.MouseListener
- Overrides:
- mouseClickedin class- MultiplePartsPanel
 
- 
 
getOnlineDescription
public java.lang.String getOnlineDescription()
- 
- Specified by:
- getOnlineDescriptionin interface- IExperiment
- Overrides:
- getOnlineDescriptionin class- Application
 
- 
 
getAppletInfo
public java.lang.String getAppletInfo()
- 
- Specified by:
- getAppletInfoin interface- IExperiment
- Overrides:
- getAppletInfoin class- Application
 
- 
 
getDisplayPane
public java.awt.Container getDisplayPane()
- 
- Specified by:
- getDisplayPanein interface- Pluginable
- Overrides:
- getDisplayPanein class- Application
 
- 
 
update
public void update()
- Description copied from interface: IExperiment
- This method is the default update method and defines how the display is
 updated. This method should be overridden.
 
- 
- Specified by:
- updatein interface- IExperiment
- Overrides:
- updatein class- Application
 
- 
 
initialize
public void initialize()
- 
- Specified by:
- initializein interface- IExperiment
- Overrides:
- initializein class- Application
 
-