emwave4
Class EMWave

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--edu.davidson.tools.SApplet
                                |
                                +--emwave4.EMWave
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, edu.davidson.tools.SStepable

public class EMWave
extends SApplet
implements edu.davidson.tools.SStepable

See Also:
Serialized Form

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
EMWave()
           
 
Method Summary
 void createAxes(double x, double y, double z, double s)
           
 void createCircularLeft(double z1, double z2, double a, double ph)
           
 void createCircularRight(double z1, double z2, double a, double ph)
           
 void createFilledSquare(double z, double s)
           
 void createLinear(double z1, double z2, double a, double ph, double p)
           
 void createParsed(java.lang.String s, double z1, double z2, double p)
           
 void createPlane(double z1, double length, double width, double p)
           
 void createSquare(double z, double s)
           
 void deleteAll()
           
 void destroy()
           
 void forward()
          Start clock.
 java.lang.String getAppletInfo()
           
 java.lang.String getParameter(java.lang.String key, java.lang.String def)
           
 java.lang.String[][] getParameterInfo()
           
 void init()
           
 void jbInit()
           
 void pause()
          Pause the clock.
 void setOrientation(double t, double a, double p)
           
 void setOrigin(int x, int y)
           
 void setPixPerUnit(int ppu)
           
 void setPlaneLineDensity(int d)
           
 void setRGB(int r, int g, int b)
           
 void setWavelength(double l)
           
 void setWaveLineDensity(int d)
           
 void start()
           
 void step(double dt, double time)
          Step the time for the animation by dt.
 void stop()
           
 
Methods inherited from class edu.davidson.tools.SApplet
addDataListener, addDataSource, cleanupDataConnections, clearAllData, clearData, deleteDataConnection, deleteDataConnections, getClockID, getClockTime, getDataConnectionFromDL, getDataConnectionFromDS, getDataFromDS, getDataListener, getDataListener, getDataSource, getDataSource, getID, getRunningID, getSourceData, getSourceVariables, isAutoRefresh, isClockRunning, makeDataConnection, removeDataListener, removeDataSource, reset, reverse, setAutoRefresh, setClockContinous, setClockCycle, setClockOneShot, setClockTime, setConnectionBlock, setConnectionListener, setConnectionSmoothing, setConnectionSource, setConnectionStride, setDefault, setDt, setExternalClock, setFPS, setRunningID, setRunningID, setTimeContinuous, setTimeCycle, setTimeOneShot, startClock, stepClock, stepTime, stepTimeBack, stepTimeForward, stopClock, updateDataConnection, updateDataConnections
 
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
 
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
 

Constructor Detail

EMWave

public EMWave()
Method Detail

createAxes

public void createAxes(double x,
                       double y,
                       double z,
                       double s)

createCircularLeft

public void createCircularLeft(double z1,
                               double z2,
                               double a,
                               double ph)

createCircularRight

public void createCircularRight(double z1,
                                double z2,
                                double a,
                                double ph)

createFilledSquare

public void createFilledSquare(double z,
                               double s)

createLinear

public void createLinear(double z1,
                         double z2,
                         double a,
                         double ph,
                         double p)

createParsed

public void createParsed(java.lang.String s,
                         double z1,
                         double z2,
                         double p)

createPlane

public void createPlane(double z1,
                        double length,
                        double width,
                        double p)

createSquare

public void createSquare(double z,
                         double s)

deleteAll

public void deleteAll()

destroy

public void destroy()
Overrides:
destroy in class SApplet

forward

public void forward()
Description copied from class: SApplet
Start clock.
Overrides:
forward in class SApplet

getAppletInfo

public java.lang.String getAppletInfo()
Overrides:
getAppletInfo in class java.applet.Applet

getParameter

public java.lang.String getParameter(java.lang.String key,
                                     java.lang.String def)

getParameterInfo

public java.lang.String[][] getParameterInfo()
Overrides:
getParameterInfo in class java.applet.Applet

init

public void init()
Overrides:
init in class java.applet.Applet

jbInit

public void jbInit()
            throws java.lang.Exception

pause

public void pause()
Description copied from class: SApplet
Pause the clock.
Overrides:
pause in class SApplet

setOrientation

public void setOrientation(double t,
                           double a,
                           double p)

setOrigin

public void setOrigin(int x,
                      int y)

setPixPerUnit

public void setPixPerUnit(int ppu)

setPlaneLineDensity

public void setPlaneLineDensity(int d)

setRGB

public void setRGB(int r,
                   int g,
                   int b)

setWavelength

public void setWavelength(double l)

setWaveLineDensity

public void setWaveLineDensity(int d)

start

public void start()
Overrides:
start in class java.applet.Applet

step

public void step(double dt,
                 double time)
Step the time for the animation by dt.
Specified by:
step in interface edu.davidson.tools.SStepable
Parameters:
dt - the time step
time - the current time.

stop

public void stop()
Overrides:
stop in class java.applet.Applet

Copyright Wolfgang Christian

Visit the Davidson CollegePhyslets Page