|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
edu.davidson.tools.SApplet
qTime.QTime
Class QTime
Field Summary |
Fields inherited from class edu.davidson.tools.SApplet |
destroyed |
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 |
Method Summary | |
void |
forward()
Starts the animation. |
int |
getWavefunctionID()
Gets the id for the wave function. |
void |
pause()
Pauses the animation. |
void |
setCaption(java.lang.String s)
Sets the caption. |
void |
setDefault()
Sets the default state. |
void |
setDt(double dt)
Sets the time step. |
void |
setEnergyOffset(boolean set)
Offsets the wavefunction by the energy eigenvalue on the graph. |
void |
setImaginary(java.lang.String f)
Sets the imaginary component of the initial wave function. |
void |
setPotential(java.lang.String f)
Sets the potential energy. |
void |
setReal(java.lang.String f)
Sets the real component of the initial wave function. |
void |
setRGBColor(int r,
int g,
int b)
Sets the graph color using RGB components. |
void |
setShowAxes(boolean show)
Show or hide the the X and Y axes on the graph. |
void |
setShowPotential(boolean show)
Show or hide the potential energy function on the graph. |
void |
setXMinMax(double min,
double max)
Sets the min and max along the x axis. |
void |
setXTitle(java.lang.String s)
Sets the label on the x axis. |
void |
setYAutoscaleOff()
Sets the y autoscale to false. |
void |
setYAutoscaleOn()
Sets the y autoscale to true. |
void |
setYMinMax(double min,
double max)
Method setYMinMax |
void |
setYTitle(java.lang.String s)
Sets the label on the y axis. |
void |
stepForward()
Steps the time by dt. |
void |
stepTimeBack()
Step the time backward by dt. |
Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.davidson.tools.SStepable |
step |
Method Detail |
public void forward()
forward
in class SApplet
public void pause()
pause
in class SApplet
public void setDt(double dt)
setDt
in class SApplet
dt
- public void stepForward()
public void stepTimeBack()
stepTimeBack
in class SApplet
QTime.setDt(double)
public void setDefault()
setDefault
in class SApplet
public void setPotential(java.lang.String f)
f
- public void setReal(java.lang.String f)
f
- public void setImaginary(java.lang.String f)
f
- public void setEnergyOffset(boolean set)
set
- public void setShowAxes(boolean show)
show
- Show the axis?public int getWavefunctionID()
public void setShowPotential(boolean show)
show
- public void setRGBColor(int r, int g, int b)
r
- g
- b
- public void setYMinMax(double min, double max)
min
- max
- public void setYAutoscaleOn()
public void setYAutoscaleOff()
public void setXMinMax(double min, double max)
min
- max
- public void setCaption(java.lang.String s)
s
- public void setXTitle(java.lang.String s)
s
- public void setYTitle(java.lang.String s)
s
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |