|
|||||||
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 | +--circuit.RCApplet
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 | |
RCApplet()
|
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()
|
int |
getCapacitorID()
Get the ID for the capacitor. |
java.lang.String |
getParameter(java.lang.String key,
java.lang.String def)
|
java.lang.String[][] |
getParameterInfo()
|
int |
getResistorID()
Get the ID for the resistor. |
int |
getSourceID()
Get the ID for the AC voltage source. |
void |
init()
|
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)
|
boolean |
setVoltmeterHint(java.lang.String str)
|
void |
start()
|
void |
step(double dt,
double t)
|
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 RCApplet()
Method Detail |
public java.lang.String getParameter(java.lang.String key, java.lang.String def)
public void init()
public void destroy()
public void start()
public void forward()
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 step(double dt, double t)
public void setPixPerCell(int ppc)
public void setDefault()
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)
autoRefresh
- Automatic repaint?public void setImpedanceGraphType(boolean igt)
|
Copyright Wolfgang Christian | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |