circuit
Class IVApplet

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

public final class IVApplet
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
IVApplet()
           
 
Method Summary
 void destroy()
          Destroy all threads and cleanup the applet.
 void forward()
          Called when the clock stops in one-shot mode.
 java.lang.String getAppletInfo()
           
 java.lang.String getParameter(java.lang.String key, java.lang.String def)
           
 java.lang.String[][] getParameterInfo()
           
 int getUnknownID()
          Get the ID for the unknown part.
 void init()
           
 boolean setACHint(java.lang.String str)
           
 boolean setAmmeterHint(java.lang.String str)
           
 void setAutoRefresh(boolean ar)
          Repaint whenevers the system parameters are changed.
 void setCurrentFunction(java.lang.String str)
           
 void setDefault()
          Reset the clock to time=0.
 void setFrequency(double f)
           
 void setIVGraphType(boolean iv)
           
 boolean setMilliAmp(boolean showMilliAmp)
           
 boolean setPartHint(java.lang.String str)
           
 void setPartLabel(java.lang.String str)
           
 void setPhaseFunction(java.lang.String str)
           
 void setPixPerCell(int ppc)
           
 void setShowCheckBox(boolean scb)
           
 void setShowControls(boolean sc)
           
 void setShowGraph(boolean sg)
           
 void setSourceVoltage(double v, boolean showV)
           
 void setTMax(double tm)
           
 void setVoltage(double v)
           
 boolean setVoltmeterHint(java.lang.String str)
           
 void start()
           
 void step(double dt, double t)
           
 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, pause, removeDataListener, removeDataSource, reset, reverse, setClockContinous, setClockCycle, setClockOneShot, setClockTime, setConnectionBlock, setConnectionListener, setConnectionSmoothing, setConnectionSource, setConnectionStride, 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

IVApplet

public IVApplet()
Method Detail

destroy

public void destroy()
Destroy all threads and cleanup the applet.
Overrides:
destroy in class SApplet

forward

public void forward()
Called when the clock stops in one-shot mode. DO NOT SCRIPT.
Overrides:
forward in class SApplet

getAppletInfo

public final 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

getUnknownID

public final int getUnknownID()
Get the ID for the unknown part. The ID can be used to make a connection to a SDataSource.
Returns:
int the indentifier

init

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

setACHint

public boolean setACHint(java.lang.String str)

setAmmeterHint

public boolean setAmmeterHint(java.lang.String str)

setAutoRefresh

public void setAutoRefresh(boolean ar)
Description copied from class: SApplet
Repaint whenevers the system parameters are changed.
Overrides:
setAutoRefresh in class SApplet
Following copied from class: edu.davidson.tools.SApplet
Parameters:
autoRefresh - Automatic repaint?

setCurrentFunction

public void setCurrentFunction(java.lang.String str)

setDefault

public void setDefault()
Description copied from class: SApplet
Reset the clock to time=0.
Overrides:
setDefault in class SApplet

setFrequency

public void setFrequency(double f)

setIVGraphType

public void setIVGraphType(boolean iv)

setMilliAmp

public boolean setMilliAmp(boolean showMilliAmp)

setPartHint

public boolean setPartHint(java.lang.String str)

setPartLabel

public void setPartLabel(java.lang.String str)

setPhaseFunction

public void setPhaseFunction(java.lang.String str)

setPixPerCell

public void setPixPerCell(int ppc)

setShowCheckBox

public void setShowCheckBox(boolean scb)

setShowControls

public void setShowControls(boolean sc)

setShowGraph

public void setShowGraph(boolean sg)

setSourceVoltage

public void setSourceVoltage(double v,
                             boolean showV)

setTMax

public void setTMax(double tm)

setVoltage

public void setVoltage(double v)

setVoltmeterHint

public boolean setVoltmeterHint(java.lang.String str)

start

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

step

public void step(double dt,
                 double t)
Specified by:
step in interface edu.davidson.tools.SStepable

stop

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

Copyright Wolfgang Christian

Visit the Davidson CollegePhyslets Page