|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--edu.davidson.tools.SApplet | +--energyEigenvalue.EnergyEigenvalue
Fields inherited from class edu.davidson.tools.SApplet |
clock,
dataConnections,
dataListeners,
dataSources,
lock |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
EnergyEigenvalue()
|
Method Summary | |
void |
destroy()
Destroy all threads and cleanup the applet. |
void |
findEnergyLevel(int n)
This method finds a single energy level input by the user |
void |
findEnergyLevels(int lowest,
int highest)
This method allows the user to script in an enrgy band to be found |
int |
getActiveWavefunctionID()
Gets the object identifier for the active wavefunction. |
java.lang.String |
getAppletInfo()
|
java.lang.String |
getParameter(java.lang.String key,
java.lang.String def)
|
java.lang.String[][] |
getParameterInfo()
|
int |
getWavefunctionID(int n)
Gets the object identifier for a Wavefunction data source. |
void |
init()
|
void |
setAutoscaleY(boolean as)
This method sets the Autoscale property for the energy graph. |
void |
setMinMaxX(double xmin,
double xmax)
Set the min and max values for the x axis. |
void |
setMinMaxY(double ymin,
double ymax)
Set the min and max values for the y axis. |
void |
setPotential(java.lang.String str,
double xmin,
double xmax)
Set the potential function and the range |
void |
setPsi(double ene)
Set the wave finction that corresponds to a given energy. |
void |
setShowControls(boolean sc)
This method allows the user to hide the entire control panel at bottom of applet |
void |
setShowPotential(boolean sp)
This method allows the user to hide just the potential setting controls of the applet Useful to script in specific potentials for specific problems. |
void |
start()
Start the applet. |
Methods inherited from class java.applet.Applet |
getAccessibleContext,
getAppletContext,
getAudioClip,
getAudioClip,
getCodeBase,
getDocumentBase,
getImage,
getImage,
getLocale,
getParameter,
isActive,
newAudioClip,
play,
play,
resize,
resize,
setStub,
showStatus,
stop |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getListeners,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
preferredSize,
print,
printComponents,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFont,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addHierarchyBoundsListener,
addHierarchyListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getGraphicsConfiguration,
getHeight,
getInputContext,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
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,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EnergyEigenvalue()
Method Detail |
public java.lang.String getParameter(java.lang.String key, java.lang.String def)
public void init()
public void start()
public void destroy()
public java.lang.String getAppletInfo()
public java.lang.String[][] getParameterInfo()
public int getWavefunctionID(int n)
n
- the quantum numberpublic int getActiveWavefunctionID()
n
- the quantum numberpublic void setAutoscaleY(boolean as)
boolean
- aspublic void setShowControls(boolean sc)
boolean
- sc show controlspublic void setPsi(double ene)
en
- The energy.public void setPotential(java.lang.String str, double xmin, double xmax)
str
- The potential function, f(x).xmin
- x minimumxmax
- x maximumpublic void setShowPotential(boolean sp)
boolean
- sp show potential inputspublic void setMinMaxX(double xmin, double xmax)
double
- xmin x-axis min valuedouble
- xmax x-axis max valuepublic void setMinMaxY(double ymin, double ymax)
double
- ymin yaxis min valuedouble
- ymax yaxis max valuepublic void findEnergyLevels(int lowest, int highest)
int
- lowest lowest energy level to findint
- highest highest energy level to findpublic void findEnergyLevel(int n)
int
- n quantum number of energy level to find
|
Copyright Wolfgang Christian | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |