|
||||||||
| 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
|
+--mathapps.FFT
The FFT Physlet evaluates a function at a predetermined number of points and computes the Fast Fourier Transfprm, FFT. The range of the indexpendent variable can be set using the Min and Max embedding parameters. The number of points can be set with the NumPts parameter.
| 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
FFT()
|
|
| Method Summary | |
java.lang.String |
getAppletInfo()
|
int |
getFunctionID()
|
java.lang.String |
getFunctionStr(java.lang.String string)
|
SApplet |
getOwner()
Data source method. |
java.lang.String |
getParameter(java.lang.String key,
java.lang.String def)
|
java.lang.String[][] |
getParameterInfo()
|
double[][] |
getVariables()
Data source method. |
java.lang.String[] |
getVarStrings()
Data source method. |
void |
init()
|
static void |
main(java.lang.String[] args)
|
void |
reset()
Reset the applet to time =0. |
void |
setAutoRefresh(boolean refresh)
Inhibit or enable the fft calcuation. |
void |
setDefault()
Delete the data connections and set the time to zero. |
boolean |
setFunction(java.lang.String function,
java.lang.String variable)
Set the function string and the independent variable. |
boolean |
setFunctionStr(java.lang.String function)
Set the function string. |
void |
setMinMax(double min_,
double max_)
Set the minimum and maximum values sorted by the histogram. |
void |
setNumPts(int n)
Set the number of grid points. |
void |
setOwner(SApplet owner)
Data source method. |
void |
setShowDC(boolean set)
Show or hide the zero frequency component. |
void |
step(double dt,
double time)
Step the time. |
| 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, start, 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, 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, setCursor, 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 |
| Methods inherited from interface edu.davidson.tools.SDataSource |
getID |
| Constructor Detail |
public FFT()
| Method Detail |
public java.lang.String getAppletInfo()
getAppletInfo in class java.applet.Appletpublic int getFunctionID()
public java.lang.String getFunctionStr(java.lang.String string)
public SApplet getOwner()
getOwner in interface edu.davidson.tools.SDataSource
public java.lang.String getParameter(java.lang.String key,
java.lang.String def)
public java.lang.String[][] getParameterInfo()
getParameterInfo in class java.applet.Appletpublic double[][] getVariables()
getVariables in interface edu.davidson.tools.SDataSourcepublic java.lang.String[] getVarStrings()
getVarStrings in interface edu.davidson.tools.SDataSourcepublic void init()
init in class java.applet.Appletpublic static void main(java.lang.String[] args)
public void reset()
reset in class SAppletpublic void setAutoRefresh(boolean refresh)
setAutoRefresh in class SAppletedu.davidson.tools.SAppletautoRefresh - Automatic repaint?public void setDefault()
setDefault in class SApplet
public boolean setFunction(java.lang.String function,
java.lang.String variable)
function - the function stringvariable - the independent variablepublic boolean setFunctionStr(java.lang.String function)
function - the function string
public void setMinMax(double min_,
double max_)
public void setNumPts(int n)
public void setOwner(SApplet owner)
setOwner in interface edu.davidson.tools.SDataSourcepublic void setShowDC(boolean set)
set - true to show the dc component
public void step(double dt,
double time)
step in interface edu.davidson.tools.SStepable
|
Copyright Wolfgang Christian | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||