|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.List RunData
Class taking care of run time parameters
Nested Class Summary |
Nested classes inherited from class java.awt.List |
java.awt.List.AccessibleAWTList |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
static java.lang.String |
alpha1Nm
Coefficient |
static java.lang.String |
alpha2Nm
Coefficient |
static java.lang.String |
barrierNm
Option barrier relative to present value |
static java.lang.String |
beta1Nm
Coefficient |
static java.lang.String |
beta2Nm
Coefficient |
private RunDataNotable |
caller
The calling class |
private boolean |
cookme
Dessert |
static java.lang.String |
correlNm
Correlation between stochastic variables 1 and 2 |
static java.lang.String |
dividendNm
Dividend yield of underlying |
static java.lang.String |
drift2Nm
Drift of the second stochastic variable |
static java.lang.String |
driftNm
Drift of the stochastic variable |
static java.lang.String |
logNkappaNm
Exponent in the random walk |
private int |
maxLength
Maximum length of the parameters strings |
static java.lang.String |
meanRevTargNm
Mean reversion process target value |
static java.lang.String |
meanRevVeloNm
Mean reversion process velocity |
(package private) Mesh |
mesh
Discretization mesh |
static java.lang.String |
meshLeftNm
Lower value of x-axis |
static java.lang.String |
meshLengthNm
Length of x-axis |
static java.lang.String |
meshPointsNm
Number of mesh points on x-axis |
static java.lang.String |
mktPriceRskNm
Market price of risk |
private static boolean[] |
paramIsInt
The type (integer or double) of the parameter |
private static java.lang.String[] |
paramNames
The names of all the run time parameters |
private boolean[] |
paramShow
Display the parameters in the applet or not |
private double[] |
paramVal
The value of the parameter converted to double |
static java.lang.String |
runTimeNm
Final time to reach |
static java.lang.String |
shape0Nm
Initial shape offset |
static java.lang.String |
shape1Nm
Initial shape slope |
static java.lang.String |
shape2Nm
Initial shape convexity |
static java.lang.String |
spotRateNm
Present value of interest rate |
static java.lang.String |
strikePriceNm
Option exercise price or swap price |
static java.lang.String |
timeStepNm
Time step duration |
static java.lang.String |
timeThetaNm
Implicit time parameter |
static java.lang.String |
tuneQuadNm
FEM tunable integration |
static java.lang.String |
userDoubleNm
User data |
static java.lang.String |
userIntegerNm
User data |
static java.lang.String |
volatility2Nm
Volatility of the second stochastic variable |
static java.lang.String |
volatilityNm
Volatility of the stochastic variable |
static java.lang.String |
walkersNm
Number of random walkers |
Fields inherited from class java.awt.List |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
RunData(RunDataNotable caller)
Constructor |
Method Summary | |
boolean |
action(java.awt.Event e,
java.lang.Object arg)
Deprecated. |
void |
createMesh()
Creates the mesh from the parameters |
void |
displayAll()
Selects all the parameters for display in the applet |
void |
displayTag(java.applet.Applet a)
Selects only tag parameters for display in the applet |
Mesh |
getMesh()
Returns the mesh @return The mesh |
int |
getParamIndex(java.lang.String name)
Returns index of a parameter |
double |
getParamValue(java.lang.String name)
Returns the value a double parameter |
int |
getParamValueInt(java.lang.String name)
Returns the value of an integer parameter |
void |
myEditorNotify(java.lang.String name,
double value)
Called by MyEditor |
private void |
pad(java.lang.StringBuffer d,
int length)
Copy the string padding it up with sapces to a specified length |
void |
setParamValue(java.lang.String name,
double value)
Sets the value of a parameter |
private boolean |
stringPartCompare(java.lang.String s1,
java.lang.String s2)
Internal method usedin action for camparing if two strings are alike upon the length of the shortest string |
void |
syncList()
Synchronizes the list with the current parameters |
void |
tagModify(java.applet.Applet a)
Modify defaults parameters the HTML tags from the web page |
Methods inherited from class java.awt.List |
add, add, addActionListener, addItem, addItem, addItemListener, addNotify, allowsMultipleSelections, clear, countItems, delItem, delItems, deselect, getAccessibleContext, getActionListeners, getItem, getItemCount, getItemListeners, getItems, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, getRows, getSelectedIndex, getSelectedIndexes, getSelectedItem, getSelectedItems, getSelectedObjects, getVisibleIndex, isIndexSelected, isMultipleMode, isSelected, makeVisible, minimumSize, minimumSize, paramString, preferredSize, preferredSize, processActionEvent, processEvent, processItemEvent, remove, remove, removeActionListener, removeAll, removeItemListener, removeNotify, replaceItem, select, setMultipleMode, setMultipleSelections |
Methods inherited from class java.awt.Component |
add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String runTimeNm
public static final java.lang.String strikePriceNm
public static final java.lang.String barrierNm
public static final java.lang.String driftNm
public static final java.lang.String spotRateNm
public static final java.lang.String dividendNm
public static final java.lang.String mktPriceRskNm
public static final java.lang.String meanRevTargNm
public static final java.lang.String meanRevVeloNm
public static final java.lang.String volatilityNm
public static final java.lang.String logNkappaNm
public static final java.lang.String shape0Nm
public static final java.lang.String shape1Nm
public static final java.lang.String shape2Nm
public static final java.lang.String meshLeftNm
public static final java.lang.String meshLengthNm
public static final java.lang.String meshPointsNm
public static final java.lang.String walkersNm
public static final java.lang.String timeStepNm
public static final java.lang.String timeThetaNm
public static final java.lang.String tuneQuadNm
public static final java.lang.String userDoubleNm
public static final java.lang.String userIntegerNm
public static final java.lang.String drift2Nm
public static final java.lang.String volatility2Nm
public static final java.lang.String correlNm
public static final java.lang.String alpha1Nm
public static final java.lang.String beta1Nm
public static final java.lang.String alpha2Nm
public static final java.lang.String beta2Nm
private int maxLength
private static final java.lang.String[] paramNames
private static final boolean[] paramIsInt
private double[] paramVal
private boolean[] paramShow
Mesh mesh
private RunDataNotable caller
private boolean cookme
Constructor Detail |
public RunData(RunDataNotable caller)
Method Detail |
public void createMesh()
public final int getParamIndex(java.lang.String name)
name
- String The parameter name
public final double getParamValue(java.lang.String name)
name
- String The parameter name
public final int getParamValueInt(java.lang.String name)
name
- String The parameter name
public final void setParamValue(java.lang.String name, double value)
name
- String The parameter name
public final void syncList()
public final void tagModify(java.applet.Applet a)
a
- The applet to get the parameters frompublic final void displayAll()
public final void displayTag(java.applet.Applet a)
private void pad(java.lang.StringBuffer d, int length)
d
- The output stringlength
- The length to pad topublic final boolean action(java.awt.Event e, java.lang.Object arg)
public final void myEditorNotify(java.lang.String name, double value)
myEditorNotify
in interface MyEditorNotable
name
- The description of the propertyvalue
- The value to setMyEditor
,
MyEditorNotable
private final boolean stringPartCompare(java.lang.String s1, java.lang.String s2)
s1
- String 1 (the sortest)s2
- String 2
public final Mesh getMesh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |