|
|||||||
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
circuit.RCApplet
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 |
Constructor Summary | |
RCApplet()
|
Method Summary | |
void |
forward()
Starts the animation. |
java.lang.String |
getAppletInfo()
Gets the applet information. |
int |
getCapacitorID()
Get the ID for the capacitor. |
java.lang.String[][] |
getParameterInfo()
Gets the parameter information. |
int |
getResistorID()
Get the ID for the resistor. |
int |
getSourceID()
Get the ID for the AC voltage source. |
boolean |
setACHint(java.lang.String str)
|
void |
setAutoRefresh(boolean ar)
Repaint whenevers the system parameters are changed. |
void |
setCapacitance(double c,
boolean showC,
boolean showV,
boolean showPhase)
|
boolean |
setCapacitorHint(java.lang.String str)
|
void |
setDefault()
Reset the clock to time=0. |
void |
setFrequency(double f)
|
void |
setImpedanceGraphType(boolean igt)
|
void |
setPixPerCell(int ppc)
|
void |
setResistance(double r,
boolean showR,
boolean showV,
boolean showPhase)
|
boolean |
setResistorHint(java.lang.String str)
|
void |
setShowCheckBox(boolean scb)
|
void |
setShowControls(boolean sc)
|
void |
setShowGraph(boolean sg)
|
void |
setSourceVoltage(double v,
boolean showV,
boolean showPhase)
|
void |
setTitle(java.lang.String str)
Set the graph title. |
boolean |
setVoltmeterHint(java.lang.String str)
|
Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, 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 |
Constructor Detail |
public RCApplet()
Method Detail |
public void forward()
forward
in class SApplet
public final java.lang.String getAppletInfo()
public java.lang.String[][] getParameterInfo()
public final int getResistorID()
public final int getCapacitorID()
public final int getSourceID()
public void setPixPerCell(int ppc)
public void setTitle(java.lang.String str)
str
- Title string.public void setDefault()
SApplet
setDefault
in class SApplet
public void setCapacitance(double c, boolean showC, boolean showV, boolean showPhase)
public void setResistance(double r, boolean showR, boolean showV, boolean showPhase)
public void setSourceVoltage(double v, boolean showV, boolean showPhase)
public boolean setCapacitorHint(java.lang.String str)
public boolean setResistorHint(java.lang.String str)
public boolean setACHint(java.lang.String str)
public boolean setVoltmeterHint(java.lang.String str)
public void setFrequency(double f)
public void setShowControls(boolean sc)
public void setShowCheckBox(boolean scb)
public void setShowGraph(boolean sg)
public void setAutoRefresh(boolean ar)
SApplet
setAutoRefresh
in class SApplet
ar
- public void setImpedanceGraphType(boolean igt)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |