|
||||||||||
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 | |
private RunDataNotable |
caller
The calling class |
private boolean |
cookme
Dessert |
static java.lang.String |
diffusionNm
Diffusion constant |
static java.lang.String |
dispersionNm
Dispersion constant |
static java.lang.String |
icAmplitudeNm
IC amplitude pulse1 |
static java.lang.String |
icPositionNm
IC position pulse1 |
static java.lang.String |
icWavelengthNm
IC wavelength pulse1 |
static java.lang.String |
icWidthNm
IC width pulse1 |
private int |
maxLength
Maximum length of the parameters strings |
(package private) Mesh |
mesh
Discretization mesh |
static java.lang.String |
meshLeftNm
Left coordinate of x-axis |
static java.lang.String |
meshLengthNm
Length of the domain |
static java.lang.String |
meshPointsNm
Spatial resolution |
private static boolean[] |
paramIsInt
The type (integer or double) of the parameter |
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 |
physDataCaseNm
Physical data switch |
static java.lang.String |
physDataValueNm
Physical data value |
static java.lang.String |
runTimeNm
Final time to reach |
static java.lang.String |
timeImplicitNm
Implicit time parameter |
static java.lang.String |
timeStepNm
Interval duration |
static java.lang.String |
tuneIntegrNm
FEM tunable integration |
static java.lang.String |
velocityNm
Advection velocity |
static java.lang.String |
walkersNm
Number of random walkers (particles, states) |
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 velocityNm
public static final java.lang.String diffusionNm
public static final java.lang.String dispersionNm
public static final java.lang.String timeStepNm
public static final java.lang.String meshPointsNm
public static final java.lang.String walkersNm
public static final java.lang.String timeImplicitNm
public static final java.lang.String tuneIntegrNm
public static final java.lang.String icAmplitudeNm
public static final java.lang.String icPositionNm
public static final java.lang.String icWidthNm
public static final java.lang.String icWavelengthNm
public static final java.lang.String runTimeNm
public static final java.lang.String meshLeftNm
public static final java.lang.String meshLengthNm
public static final java.lang.String physDataCaseNm
public static final java.lang.String physDataValueNm
private int maxLength
public 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 |