SYMBOL INDEX (1353 symbols across 97 files) FILE: src/ACRailElm.java class ACRailElm (line 1) | class ACRailElm extends RailElm { method ACRailElm (line 2) | public ACRailElm(int xx, int yy) { super(xx, yy, WF_AC); } method getDumpClass (line 3) | Class getDumpClass() { return RailElm.class; } method getShortcut (line 4) | int getShortcut() { return 0; } FILE: src/ACVoltageElm.java class ACVoltageElm (line 1) | class ACVoltageElm extends VoltageElm { method ACVoltageElm (line 2) | public ACVoltageElm(int xx, int yy) { super(xx, yy, WF_AC); } method getDumpClass (line 3) | Class getDumpClass() { return VoltageElm.class; } FILE: src/ADCElm.java class ADCElm (line 4) | class ADCElm extends ChipElm { method ADCElm (line 5) | public ADCElm(int xx, int yy) { super(xx, yy); } method ADCElm (line 6) | public ADCElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "ADC"; } method needsBits (line 11) | boolean needsBits() { return true; } method setupPins (line 12) | void setupPins() { method execute (line 25) | void execute() { method getVoltageSourceCount (line 35) | int getVoltageSourceCount() { return bits; } method getPostCount (line 36) | int getPostCount() { return bits+2; } method getDumpType (line 37) | int getDumpType() { return 167; } FILE: src/AnalogSwitch2Elm.java class AnalogSwitch2Elm (line 4) | class AnalogSwitch2Elm extends AnalogSwitchElm { method AnalogSwitch2Elm (line 5) | public AnalogSwitch2Elm(int xx, int yy) { method AnalogSwitch2Elm (line 8) | public AnalogSwitch2Elm(int xa, int ya, int xb, int yb, int f, method setPoints (line 15) | void setPoints() { method getPostCount (line 24) | int getPostCount() { return 4; } method draw (line 26) | void draw(Graphics g) { method getPost (line 52) | Point getPost(int n) { method getDumpType (line 55) | int getDumpType() { return 160; } method calculateCurrent (line 57) | void calculateCurrent() { method stamp (line 64) | void stamp() { method doStep (line 69) | void doStep() { method getConnection (line 82) | boolean getConnection(int n1, int n2) { method getInfo (line 87) | void getInfo(String arr[]) { FILE: src/AnalogSwitchElm.java class AnalogSwitchElm (line 4) | class AnalogSwitchElm extends CircuitElm { method AnalogSwitchElm (line 7) | public AnalogSwitchElm(int xx, int yy) { method AnalogSwitchElm (line 12) | public AnalogSwitchElm(int xa, int ya, int xb, int yb, int f, method dump (line 23) | String dump() { method getDumpType (line 27) | int getDumpType() { return 159; } method setPoints (line 31) | void setPoints() { method draw (line 40) | void draw(Graphics g) { method calculateCurrent (line 58) | void calculateCurrent() { method nonLinear (line 63) | boolean nonLinear() { return true; } method stamp (line 65) | void stamp() { method doStep (line 69) | void doStep() { method drag (line 76) | void drag(int xx, int yy) { method getPostCount (line 90) | int getPostCount() { return 3; } method getPost (line 91) | Point getPost(int n) { method getInfo (line 94) | void getInfo(String arr[]) { method getConnection (line 103) | boolean getConnection(int n1, int n2) { method getEditInfo (line 108) | public EditInfo getEditInfo(int n) { method setEditValue (line 121) | public void setEditValue(int n, EditInfo ei) { FILE: src/AndGateElm.java class AndGateElm (line 4) | class AndGateElm extends GateElm { method AndGateElm (line 5) | public AndGateElm(int xx, int yy) { super(xx, yy); } method AndGateElm (line 6) | public AndGateElm(int xa, int ya, int xb, int yb, int f, method setPoints (line 10) | void setPoints() { method getGateName (line 32) | String getGateName() { return "AND gate"; } method calcFunction (line 33) | boolean calcFunction() { method getDumpType (line 40) | int getDumpType() { return 150; } method getShortcut (line 41) | int getShortcut() { return '2'; } FILE: src/AntennaElm.java class AntennaElm (line 4) | class AntennaElm extends RailElm { method AntennaElm (line 5) | public AntennaElm(int xx, int yy) { super(xx, yy, WF_DC); } method AntennaElm (line 6) | public AntennaElm(int xa, int ya, int xb, int yb, int f, method stamp (line 12) | void stamp() { method doStep (line 15) | void doStep() { method getVoltage (line 18) | double getVoltage() { method getDumpType (line 25) | int getDumpType() { return 'A'; } method getShortcut (line 26) | int getShortcut() { return 0; } FILE: src/BoxElm.java class BoxElm (line 5) | class BoxElm extends GraphicElm { method BoxElm (line 7) | public BoxElm(int xx, int yy) { method BoxElm (line 14) | public BoxElm(int xa, int ya, int xb, int yb, int f, method dump (line 30) | String dump() { method getDumpType (line 34) | int getDumpType() { return 'b'; } method drag (line 36) | void drag(int xx, int yy) { method draw (line 41) | void draw(Graphics g) { method getEditInfo (line 55) | public EditInfo getEditInfo(int n) { method setEditValue (line 59) | public void setEditValue(int n, EditInfo ei) { method getInfo (line 62) | void getInfo(String arr[]) { method getShortcut (line 65) | @Override FILE: src/CC2Elm.java class CC2Elm (line 4) | class CC2Elm extends ChipElm { method CC2Elm (line 6) | public CC2Elm(int xx, int yy) { super(xx, yy); gain = 1; } method CC2Elm (line 7) | public CC2Elm(int xx, int yy, int g) { super(xx, yy); gain = g; } method CC2Elm (line 8) | public CC2Elm(int xa, int ya, int xb, int yb, int f, method dump (line 13) | String dump() { method getChipName (line 16) | String getChipName() { return "CC2"; } method setupPins (line 17) | void setupPins() { method getInfo (line 26) | void getInfo(String arr[]) { method stamp (line 33) | void stamp() { method draw (line 40) | void draw(Graphics g) { method getPostCount (line 44) | int getPostCount() { return 3; } method getVoltageSourceCount (line 45) | int getVoltageSourceCount() { return 1; } method getDumpType (line 46) | int getDumpType() { return 179; } class CC2NegElm (line 49) | class CC2NegElm extends CC2Elm { method CC2NegElm (line 50) | public CC2NegElm(int xx, int yy) { super(xx, yy, -1); } method getDumpClass (line 51) | Class getDumpClass() { return CC2Elm.class; } FILE: src/CapacitorElm.java class CapacitorElm (line 4) | class CapacitorElm extends CircuitElm { method CapacitorElm (line 9) | public CapacitorElm(int xx, int yy) { method CapacitorElm (line 13) | public CapacitorElm(int xa, int ya, int xb, int yb, int f, method isTrapezoidal (line 19) | boolean isTrapezoidal() { return (flags & FLAG_BACK_EULER) == 0; } method setNodeVoltage (line 20) | void setNodeVoltage(int n, double c) { method reset (line 24) | void reset() { method getDumpType (line 29) | int getDumpType() { return 'c'; } method dump (line 30) | String dump() { method setPoints (line 33) | void setPoints() { method draw (line 46) | void draw(Graphics g) { method stamp (line 75) | void stamp() { method startIteration (line 89) | void startIteration() { method calculateCurrent (line 96) | void calculateCurrent() { method doStep (line 105) | void doStep() { method getInfo (line 108) | void getInfo(String arr[]) { method getEditInfo (line 116) | public EditInfo getEditInfo(int n) { method setEditValue (line 126) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 136) | int getShortcut() { return 'c'; } FILE: src/ChipElm.java class ChipElm (line 4) | abstract class ChipElm extends CircuitElm { method ChipElm (line 10) | public ChipElm(int xx, int yy) { method ChipElm (line 18) | public ChipElm(int xa, int ya, int xb, int yb, int f, method needsBits (line 34) | boolean needsBits() { return false; } method setSize (line 35) | void setSize(int s) { method setupPins (line 42) | abstract void setupPins(); method draw (line 43) | void draw(Graphics g) { method drawChip (line 46) | void drawChip(Graphics g) { method drag (line 87) | void drag(int xx, int yy) { method setPoints (line 97) | void setPoints() { method getPost (line 120) | Point getPost(int n) { method getVoltageSourceCount (line 123) | abstract int getVoltageSourceCount(); method setVoltageSource (line 124) | void setVoltageSource(int j, int vs) { method stamp (line 135) | void stamp() { method execute (line 143) | void execute() {} method doStep (line 144) | void doStep() { method reset (line 159) | void reset() { method dump (line 169) | String dump() { method getInfo (line 182) | void getInfo(String arr[]) { method setCurrent (line 201) | void setCurrent(int x, double c) { method getChipName (line 207) | String getChipName() { return "chip"; } method getConnection (line 208) | boolean getConnection(int n1, int n2) { return false; } method hasGroundConnection (line 209) | boolean hasGroundConnection(int n1) { method getEditInfo (line 213) | public EditInfo getEditInfo(int n) { method setEditValue (line 226) | public void setEditValue(int n, EditInfo ei) { class Pin (line 247) | class Pin { method Pin (line 248) | Pin(int p, int s, String t) { method setPoint (line 257) | void setPoint(int px, int py, int dx, int dy, int dax, int day, FILE: src/CirSim.java class CirSim (line 26) | public class CirSim extends Frame method getAppletInfo (line 39) | public String getAppletInfo() { method getrand (line 156) | int getrand(int x) { method CirSim (line 164) | CirSim(Circuit a) { method init (line 175) | public void init() { method triggerShow (line 566) | public void triggerShow() { method requestFocus (line 572) | public void requestFocus() method buildScopeMenu (line 578) | PopupMenu buildScopeMenu(boolean t) { method getMenuItem (line 612) | MenuItem getMenuItem(String s) { method getMenuItem (line 618) | MenuItem getMenuItem(String s, String ac) { method getCheckItem (line 625) | CheckboxMenuItem getCheckItem(String s) { method getClassCheckItem (line 632) | CheckboxMenuItem getClassCheckItem(String s, String t) { method getCheckItem (line 647) | CheckboxMenuItem getCheckItem(String s, String t) { method register (line 654) | void register(Class c, CircuitElm elm) { method handleResize (line 700) | void handleResize() { method destroyFrame (line 738) | void destroyFrame() { method handleEvent (line 750) | public boolean handleEvent(Event ev) { method paint (line 758) | public void paint(Graphics g) { method updateCircuit (line 768) | public void updateCircuit(Graphics realg) { method setupScopes (line 967) | void setupScopes() { method getHint (line 1030) | String getHint() { method toggleSwitch (line 1088) | public void toggleSwitch(int n) { method needAnalyze (line 1104) | void needAnalyze() { method getCircuitNode (line 1112) | public CircuitNode getCircuitNode(int n) { method getElm (line 1118) | public CircuitElm getElm(int n) { method analyzeCircuit (line 1124) | void analyzeCircuit() { method calcCircuitBottom (line 1555) | void calcCircuitBottom() { class FindPathInfo (line 1566) | class FindPathInfo { method FindPathInfo (line 1575) | FindPathInfo(int t, CircuitElm e, int d) { method findPath (line 1581) | boolean findPath(int n1) { return findPath(n1, -1); } method findPath (line 1582) | boolean findPath(int n1, int depth) { method stop (line 1664) | void stop(String s, CircuitElm ce) { method stampVCVS (line 1675) | void stampVCVS(int n1, int n2, double coef, int vs) { method stampVoltageSource (line 1682) | void stampVoltageSource(int n1, int n2, int vs, double v) { method stampVoltageSource (line 1692) | void stampVoltageSource(int n1, int n2, int vs) { method updateVoltageSource (line 1701) | void updateVoltageSource(int n1, int n2, int vs, double v) { method stampResistor (line 1706) | void stampResistor(int n1, int n2, double r) { method stampConductance (line 1719) | void stampConductance(int n1, int n2, double r0) { method stampVCCurrentSource (line 1727) | void stampVCCurrentSource(int cn1, int cn2, int vn1, int vn2, double g) { method stampCurrentSource (line 1734) | void stampCurrentSource(int n1, int n2, double i) { method stampCCCS (line 1740) | void stampCCCS(int n1, int n2, int vs, double gain) { method stampMatrix (line 1749) | void stampMatrix(int i, int j, double x) { method stampRightSide (line 1771) | void stampRightSide(int i, double x) { method stampRightSide (line 1783) | void stampRightSide(int i) { method stampNonLinear (line 1790) | void stampNonLinear(int i) { method getIterCount (line 1795) | double getIterCount() { method runCircuit (line 1804) | void runCircuit() { method min (line 1922) | int min(int a, int b) { return (a < b) ? a : b; } method max (line 1923) | int max(int a, int b) { return (a > b) ? a : b; } method editFuncPoint (line 1925) | void editFuncPoint(int x, int y) { method componentHidden (line 1930) | public void componentHidden(ComponentEvent e){} method componentMoved (line 1931) | public void componentMoved(ComponentEvent e){} method componentShown (line 1932) | public void componentShown(ComponentEvent e) { method componentResized (line 1936) | public void componentResized(ComponentEvent e) { method actionPerformed (line 1940) | public void actionPerformed(ActionEvent e) { method stackScope (line 2044) | void stackScope(int s) { method unstackScope (line 2057) | void unstackScope(int s) { method stackAll (line 2069) | void stackAll() { method unstackAll (line 2077) | void unstackAll() { method doEdit (line 2085) | void doEdit(Editable eable) { method doImport (line 2097) | void doImport() { method doExport (line 2107) | void doExport(boolean url) method dumpCircuit (line 2122) | String dumpCircuit() { method adjustmentValueChanged (line 2147) | public void adjustmentValueChanged(AdjustmentEvent e) { method readUrlData (line 2151) | ByteArrayOutputStream readUrlData(URL url) throws java.io.IOException { method getCodeBase (line 2166) | URL getCodeBase() { method getSetupList (line 2178) | void getSetupList(Menu menu, boolean retry) { method readSetup (line 2242) | void readSetup(String text) { method readSetup (line 2246) | void readSetup(String text, boolean retain) { method readSetupFile (line 2251) | void readSetupFile(String str, String title) { method readSetup (line 2271) | void readSetup(byte b[], int len, boolean retain) { method readHint (line 2382) | void readHint(StringTokenizer st) { method readOptions (line 2388) | void readOptions(StringTokenizer st) { method snapGrid (line 2409) | int snapGrid(int x) { method doSwitch (line 2413) | boolean doSwitch(int x, int y) { method locateElm (line 2424) | int locateElm(CircuitElm elm) { method mouseDragged (line 2432) | public void mouseDragged(MouseEvent e) { method dragAll (line 2484) | void dragAll(int x, int y) { method dragRow (line 2497) | void dragRow(int x, int y) { method dragColumn (line 2512) | void dragColumn(int x, int y) { method dragSelected (line 2527) | boolean dragSelected(int x, int y) { method dragPost (line 2577) | void dragPost(int x, int y) { method selectArea (line 2591) | void selectArea(int x, int y) { method setSelectedElm (line 2604) | void setSelectedElm(CircuitElm cs) { method removeZeroLengthElements (line 2613) | void removeZeroLengthElements() { method mouseMoved (line 2627) | public void mouseMoved(MouseEvent e) { method distanceSq (line 2705) | int distanceSq(int x1, int y1, int x2, int y2) { method mouseClicked (line 2711) | public void mouseClicked(MouseEvent e) { method mouseEntered (line 2719) | public void mouseEntered(MouseEvent e) { method mouseExited (line 2721) | public void mouseExited(MouseEvent e) { method mousePressed (line 2727) | public void mousePressed(MouseEvent e) { method constructElement (line 2787) | CircuitElm constructElement(Class c, int x0, int y0) { method doEditMenu (line 2814) | void doEditMenu(MouseEvent e) { method doPopupMenu (line 2819) | void doPopupMenu(MouseEvent e) { method doMainMenuChecks (line 2837) | void doMainMenuChecks(Menu m) { method mouseReleased (line 2853) | public void mouseReleased(MouseEvent e) { method enableItems (line 2887) | void enableItems() { method itemStateChanged (line 2898) | public void itemStateChanged(ItemEvent e) { method setGrid (line 2950) | void setGrid() { method pushUndo (line 2956) | void pushUndo() { method doUndo (line 2966) | void doUndo() { method doRedo (line 2975) | void doRedo() { method enableUndoRedo (line 2984) | void enableUndoRedo() { method setMouseMode (line 2989) | void setMouseMode(int mode) method setMenuSelection (line 2998) | void setMenuSelection() { method doCut (line 3007) | void doCut() { method doDelete (line 3024) | void doDelete() { method doCopy (line 3057) | void doCopy() { method enablePaste (line 3069) | void enablePaste() { method doPaste (line 3073) | void doPaste() { method clearSelection (line 3119) | void clearSelection() { method doSelectAll (line 3127) | void doSelectAll() { method keyPressed (line 3135) | public void keyPressed(KeyEvent e) {} method keyReleased (line 3136) | public void keyReleased(KeyEvent e) {} method keyTyped (line 3138) | public void keyTyped(KeyEvent e) { method lu_factor (line 3167) | boolean lu_factor(double a[][], int n, int ipvt[]) { method lu_solve (line 3246) | void lu_solve(double a[][], int n, int ipvt[], double b[]) { FILE: src/Circuit.java class Circuit (line 22) | public class Circuit extends Applet implements ComponentListener { method destroyFrame (line 26) | void destroyFrame() { method init (line 34) | public void init() { method main (line 38) | public static void main(String args[]) { method showFrame (line 43) | public void showFrame() { method hideFrame (line 58) | public void hideFrame() { method toggleSwitch (line 65) | public void toggleSwitch(int x) { ogf.toggleSwitch(x); } method paint (line 67) | public void paint(Graphics g) { method componentHidden (line 80) | public void componentHidden(ComponentEvent e){} method componentMoved (line 81) | public void componentMoved(ComponentEvent e){} method componentShown (line 82) | public void componentShown(ComponentEvent e) { showFrame(); } method componentResized (line 83) | public void componentResized(ComponentEvent e) { method destroy (line 88) | public void destroy() { FILE: src/CircuitCanvas.java class CircuitCanvas (line 3) | class CircuitCanvas extends Canvas { method CircuitCanvas (line 5) | CircuitCanvas(CirSim p) { method getPreferredSize (line 8) | public Dimension getPreferredSize() { method update (line 11) | public void update(Graphics g) { method paint (line 14) | public void paint(Graphics g) { FILE: src/CircuitElm.java class CircuitElm (line 5) | public abstract class CircuitElm implements Editable { method getDumpType (line 27) | int getDumpType() { return 0; } method getDumpClass (line 28) | Class getDumpClass() { return getClass(); } method getDefaultFlags (line 29) | int getDefaultFlags() { return 0; } method initClass (line 31) | static void initClass(CirSim s) { method CircuitElm (line 62) | CircuitElm(int xx, int yy) { method CircuitElm (line 69) | CircuitElm(int xa, int ya, int xb, int yb, int f) { method initBoundingBox (line 75) | void initBoundingBox() { method allocNodes (line 81) | void allocNodes() { method dump (line 85) | String dump() { method reset (line 90) | void reset() { method draw (line 96) | void draw(Graphics g) {} method setCurrent (line 97) | void setCurrent(int x, double c) { current = c; } method getCurrent (line 98) | double getCurrent() { return current; } method doStep (line 99) | void doStep() {} method delete (line 100) | void delete() {} method startIteration (line 101) | void startIteration() {} method getPostVoltage (line 102) | double getPostVoltage(int x) { return volts[x]; } method setNodeVoltage (line 103) | void setNodeVoltage(int n, double c) { method calculateCurrent (line 107) | void calculateCurrent() {} method setPoints (line 108) | void setPoints() { method calcLeads (line 117) | void calcLeads(int len) { method interpPoint (line 126) | Point interpPoint(Point a, Point b, double f) { method interpPoint (line 131) | void interpPoint(Point a, Point b, Point c, double f) { method interpPoint (line 139) | void interpPoint(Point a, Point b, Point c, double f, double g) { method interpPoint (line 148) | Point interpPoint(Point a, Point b, double f, double g) { method interpPoint2 (line 153) | void interpPoint2(Point a, Point b, Point c, Point d, double f, double... method draw2Leads (line 164) | void draw2Leads(Graphics g) { method newPointArray (line 173) | Point [] newPointArray(int n) { method drawDots (line 180) | void drawDots(Graphics g, Point pa, Point pb, double pos) { method calcArrow (line 199) | Polygon calcArrow(Point a, Point b, double al, double aw) { method calcArrowReverse (line 213) | Polygon calcArrowReverse(Point a, Point b, double al, double aw) { method createPolygon (line 236) | Polygon createPolygon(Point a, Point b, Point c) { method createPolygon (line 243) | Polygon createPolygon(Point a, Point b, Point c, Point d) { method createPolygon (line 251) | Polygon createPolygon(Point a[]) { method drag (line 258) | void drag(int xx, int yy) { method move (line 271) | void move(int dx, int dy) { method allowMove (line 278) | boolean allowMove(int dx, int dy) { method movePoint (line 294) | void movePoint(int n, int dx, int dy) { method drawPosts (line 302) | void drawPosts(Graphics g) { method stamp (line 309) | void stamp() {} method getVoltageSourceCount (line 310) | int getVoltageSourceCount() { return 0; } method getInternalNodeCount (line 311) | int getInternalNodeCount() { return 0; } method setNode (line 312) | void setNode(int p, int n) { nodes[p] = n; } method setVoltageSource (line 313) | void setVoltageSource(int n, int v) { voltSource = v; } method getVoltageSource (line 314) | int getVoltageSource() { return voltSource; } method getVoltageDiff (line 315) | double getVoltageDiff() { method nonLinear (line 318) | boolean nonLinear() { return false; } method getPostCount (line 319) | int getPostCount() { return 2; } method getNode (line 320) | int getNode(int n) { return nodes[n]; } method getPost (line 321) | Point getPost(int n) { method drawPost (line 324) | void drawPost(Graphics g, int x0, int y0, int n) { method drawPost (line 333) | void drawPost(Graphics g, int x0, int y0) { method setBbox (line 337) | void setBbox(int x1, int y1, int x2, int y2) { method setBbox (line 342) | void setBbox(Point p1, Point p2, double w) { method adjustBbox (line 350) | void adjustBbox(int x1, int y1, int x2, int y2) { method adjustBbox (line 359) | void adjustBbox(Point p1, Point p2) { method isCenteredText (line 362) | boolean isCenteredText() { return false; } method drawCenteredText (line 364) | void drawCenteredText(Graphics g, String s, int x, int y, boolean cx) { method drawValues (line 374) | void drawValues(Graphics g, String s, double hs) { method drawCoil (line 401) | void drawCoil(Graphics g, int hs, Point p1, Point p2, method drawThickLine (line 421) | static void drawThickLine(Graphics g, int x, int y, int x2, int y2) { method drawThickLine (line 428) | static void drawThickLine(Graphics g, Point pa, Point pb) { method drawThickPolygon (line 435) | static void drawThickPolygon(Graphics g, int xs[], int ys[], int c) { method drawThickPolygon (line 442) | static void drawThickPolygon(Graphics g, Polygon p) { method drawThickCircle (line 446) | static void drawThickCircle(Graphics g, int cx, int cy, int ri) { method getVoltageDText (line 459) | static String getVoltageDText(double v) { method getVoltageText (line 462) | static String getVoltageText(double v) { method getUnitText (line 465) | static String getUnitText(double v, String u) { method getShortUnitText (line 485) | static String getShortUnitText(double v, String u) { method getCurrentText (line 505) | static String getCurrentText(double i) { method getCurrentDText (line 508) | static String getCurrentDText(double i) { method updateDotCount (line 512) | void updateDotCount() { method updateDotCount (line 515) | double updateDotCount(double cur, double cc) { method doDots (line 528) | void doDots(Graphics g) { method doAdjust (line 533) | void doAdjust() {} method setupAdjust (line 534) | void setupAdjust() {} method getInfo (line 535) | void getInfo(String arr[]) { method getBasicInfo (line 537) | int getBasicInfo(String arr[]) { method setVoltageColor (line 542) | void setVoltageColor(Graphics g, double volts) { method setPowerColor (line 560) | void setPowerColor(Graphics g, boolean yellow) { method setPowerColor (line 569) | void setPowerColor(Graphics g, double w0) { method setConductanceColor (line 585) | void setConductanceColor(Graphics g, double w0) { method getPower (line 594) | double getPower() { return getVoltageDiff()*current; } method getScopeValue (line 595) | double getScopeValue(int x) { method getScopeUnits (line 598) | String getScopeUnits(int x) { method getEditInfo (line 601) | public EditInfo getEditInfo(int n) { return null; } method setEditValue (line 602) | public void setEditValue(int n, EditInfo ei) {} method getConnection (line 603) | boolean getConnection(int n1, int n2) { return true; } method hasGroundConnection (line 604) | boolean hasGroundConnection(int n1) { return false; } method isWire (line 605) | boolean isWire() { return false; } method canViewInScope (line 606) | boolean canViewInScope() { return getPostCount() <= 2; } method comparePair (line 607) | boolean comparePair(int x1, int x2, int y1, int y2) { method needsHighlight (line 610) | boolean needsHighlight() { return sim.mouseElm == this || selected; } method isSelected (line 611) | boolean isSelected() { return selected; } method setSelected (line 612) | void setSelected(boolean x) { selected = x; } method selectRect (line 613) | void selectRect(Rectangle r) { method abs (line 616) | static int abs(int x) { return x < 0 ? -x : x; } method sign (line 617) | static int sign(int x) { return (x < 0) ? -1 : (x == 0) ? 0 : 1; } method min (line 618) | static int min(int a, int b) { return (a < b) ? a : b; } method max (line 619) | static int max(int a, int b) { return (a > b) ? a : b; } method distance (line 620) | static double distance(Point p1, Point p2) { method getBoundingBox (line 625) | Rectangle getBoundingBox() { return boundingBox; } method needsShortcut (line 626) | boolean needsShortcut() { return getShortcut() > 0; } method getShortcut (line 627) | int getShortcut() { return 0; } method isGraphicElmt (line 629) | boolean isGraphicElmt() { return false; } FILE: src/CircuitLayout.java class CircuitLayout (line 3) | class CircuitLayout implements LayoutManager { method CircuitLayout (line 4) | public CircuitLayout() {} method addLayoutComponent (line 5) | public void addLayoutComponent(String name, Component c) {} method removeLayoutComponent (line 6) | public void removeLayoutComponent(Component c) {} method preferredLayoutSize (line 7) | public Dimension preferredLayoutSize(Container target) { method minimumLayoutSize (line 10) | public Dimension minimumLayoutSize(Container target) { method layoutContainer (line 13) | public void layoutContainer(Container target) { FILE: src/CircuitNode.java class CircuitNode (line 3) | class CircuitNode { method CircuitNode (line 7) | CircuitNode() { links = new Vector(); } FILE: src/CircuitNodeLink.java class CircuitNodeLink (line 1) | class CircuitNodeLink { FILE: src/ClockElm.java class ClockElm (line 1) | class ClockElm extends RailElm { method ClockElm (line 2) | public ClockElm(int xx, int yy) { method getDumpClass (line 9) | Class getDumpClass() { return RailElm.class; } method getShortcut (line 10) | int getShortcut() { return 0; } FILE: src/CounterElm.java class CounterElm (line 4) | class CounterElm extends ChipElm { method CounterElm (line 6) | public CounterElm(int xx, int yy) { super(xx, yy); } method CounterElm (line 7) | public CounterElm(int xa, int ya, int xb, int yb, int f, method needsBits (line 11) | boolean needsBits() { return true; } method getChipName (line 12) | String getChipName() { return "Counter"; } method setupPins (line 13) | void setupPins() { method getPostCount (line 31) | int getPostCount() { method hasEnable (line 36) | boolean hasEnable() { return (flags & FLAG_ENABLE) != 0; } method getVoltageSourceCount (line 37) | int getVoltageSourceCount() { return bits; } method execute (line 38) | void execute() { method getDumpType (line 60) | int getDumpType() { return 164; } FILE: src/CurrentElm.java class CurrentElm (line 4) | class CurrentElm extends CircuitElm { method CurrentElm (line 6) | public CurrentElm(int xx, int yy) { method CurrentElm (line 10) | public CurrentElm(int xa, int ya, int xb, int yb, int f, method dump (line 19) | String dump() { method getDumpType (line 22) | int getDumpType() { return 'i'; } method setPoints (line 26) | void setPoints() { method draw (line 35) | void draw(Graphics g) { method stamp (line 54) | void stamp() { method getEditInfo (line 58) | public EditInfo getEditInfo(int n) { method setEditValue (line 63) | public void setEditValue(int n, EditInfo ei) { method getInfo (line 66) | void getInfo(String arr[]) { method getVoltageDiff (line 70) | double getVoltageDiff() { FILE: src/DACElm.java class DACElm (line 4) | class DACElm extends ChipElm { method DACElm (line 5) | public DACElm(int xx, int yy) { super(xx, yy); } method DACElm (line 6) | public DACElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "DAC"; } method needsBits (line 11) | boolean needsBits() { return true; } method setupPins (line 12) | void setupPins() { method doStep (line 24) | void doStep() { method getVoltageSourceCount (line 34) | int getVoltageSourceCount() { return 1; } method getPostCount (line 35) | int getPostCount() { return bits+2; } method getDumpType (line 36) | int getDumpType() { return 166; } FILE: src/DCVoltageElm.java class DCVoltageElm (line 1) | class DCVoltageElm extends VoltageElm { method DCVoltageElm (line 2) | public DCVoltageElm(int xx, int yy) { super(xx, yy, WF_DC); } method getDumpClass (line 3) | Class getDumpClass() { return VoltageElm.class; } method getShortcut (line 4) | int getShortcut() { return 'v'; } FILE: src/DFlipFlopElm.java class DFlipFlopElm (line 4) | class DFlipFlopElm extends ChipElm { method hasReset (line 6) | boolean hasReset() { return (flags & FLAG_RESET) != 0; } method DFlipFlopElm (line 7) | public DFlipFlopElm(int xx, int yy) { super(xx, yy); } method DFlipFlopElm (line 8) | public DFlipFlopElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 13) | String getChipName() { return "D flip-flop"; } method setupPins (line 14) | void setupPins() { method getPostCount (line 29) | int getPostCount() { method getVoltageSourceCount (line 32) | int getVoltageSourceCount() { return 2; } method execute (line 33) | void execute() { method getDumpType (line 44) | int getDumpType() { return 155; } method getEditInfo (line 45) | public EditInfo getEditInfo(int n) { method setEditValue (line 53) | public void setEditValue(int n, EditInfo ei) { FILE: src/DecadeElm.java class DecadeElm (line 4) | class DecadeElm extends ChipElm { method DecadeElm (line 5) | public DecadeElm(int xx, int yy) { super(xx, yy); } method DecadeElm (line 6) | public DecadeElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "decade counter"; } method needsBits (line 11) | boolean needsBits() { return true; } method setupPins (line 12) | void setupPins() { method getPostCount (line 28) | int getPostCount() { return bits+2; } method getVoltageSourceCount (line 29) | int getVoltageSourceCount() { return bits; } method execute (line 30) | void execute() { method getDumpType (line 48) | int getDumpType() { return 163; } FILE: src/DiacElm.java class DiacElm (line 8) | class DiacElm extends CircuitElm { method DiacElm (line 11) | public DiacElm(int xx, int yy) { method DiacElm (line 20) | public DiacElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 28) | boolean nonLinear() {return true;} method getDumpType (line 29) | int getDumpType() { return 185; } method dump (line 30) | String dump() { method setPoints (line 35) | void setPoints() { method draw (line 42) | void draw(Graphics g) { method calculateCurrent (line 54) | void calculateCurrent() { method startIteration (line 61) | void startIteration() { method doStep (line 67) | void doStep() { method stamp (line 73) | void stamp() { method getInfo (line 77) | void getInfo(String arr[]) { method getEditInfo (line 87) | public EditInfo getEditInfo(int n) { method setEditValue (line 98) | public void setEditValue(int n, EditInfo ei) { FILE: src/Diode.java class Diode (line 1) | class Diode { method Diode (line 6) | Diode(CirSim s) { method setup (line 10) | void setup(double fw, double zv) { method reset (line 27) | void reset() { method limitStep (line 36) | double limitStep(double vnew, double vold) { method stamp (line 89) | void stamp(int n0, int n1) { method doStep (line 96) | void doStep(double voltdiff) { method calculateCurrent (line 138) | double calculateCurrent(double voltdiff) { FILE: src/DiodeElm.java class DiodeElm (line 4) | class DiodeElm extends CircuitElm { method DiodeElm (line 10) | public DiodeElm(int xx, int yy) { method DiodeElm (line 17) | public DiodeElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 31) | boolean nonLinear() { return true; } method setup (line 33) | void setup() { method getDumpType (line 37) | int getDumpType() { return 'd'; } method dump (line 38) | String dump() { method setPoints (line 48) | void setPoints() { method draw (line 58) | void draw(Graphics g) { method reset (line 64) | void reset() { method drawDiode (line 69) | void drawDiode(Graphics g) { method stamp (line 87) | void stamp() { diode.stamp(nodes[0], nodes[1]); } method doStep (line 88) | void doStep() { method calculateCurrent (line 91) | void calculateCurrent() { method getInfo (line 94) | void getInfo(String arr[]) { method getEditInfo (line 101) | public EditInfo getEditInfo(int n) { method setEditValue (line 106) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 110) | int getShortcut() { return 'd'; } FILE: src/EditDialog.java type Editable (line 6) | interface Editable { method getEditInfo (line 7) | EditInfo getEditInfo(int n); method setEditValue (line 8) | void setEditValue(int n, EditInfo ei); class EditDialog (line 11) | class EditDialog extends Dialog implements AdjustmentListener, ActionLis... method EditDialog (line 20) | EditDialog(Editable ce, CirSim f) { method unitString (line 75) | String unitString(EditInfo ei) { method parseUnits (line 98) | double parseUnits(EditInfo ei) throws java.text.ParseException { method apply (line 121) | void apply() { method actionPerformed (line 140) | public void actionPerformed(ActionEvent e) { method adjustmentValueChanged (line 166) | public void adjustmentValueChanged(AdjustmentEvent e) { method itemStateChanged (line 190) | public void itemStateChanged(ItemEvent e) { method handleEvent (line 210) | public boolean handleEvent(Event ev) { method setBar (line 218) | void setBar(EditInfo ei) { method closeDialog (line 223) | protected void closeDialog() FILE: src/EditDialogLayout.java class EditDialogLayout (line 4) | class EditDialogLayout implements LayoutManager { method EditDialogLayout (line 5) | public EditDialogLayout() {} method addLayoutComponent (line 6) | public void addLayoutComponent(String name, Component c) {} method removeLayoutComponent (line 7) | public void removeLayoutComponent(Component c) {} method preferredLayoutSize (line 8) | public Dimension preferredLayoutSize(Container target) { method minimumLayoutSize (line 11) | public Dimension minimumLayoutSize(Container target) { method layoutContainer (line 14) | public void layoutContainer(Container target) { FILE: src/EditInfo.java class EditInfo (line 3) | class EditInfo { method EditInfo (line 4) | EditInfo(String n, double val, double mn, double mx) { method setDimensionless (line 20) | EditInfo setDimensionless() { dimensionless = true; return this; } FILE: src/EditOptions.java class EditOptions (line 1) | class EditOptions implements Editable { method EditOptions (line 3) | public EditOptions(CirSim s) { sim = s; } method getEditInfo (line 4) | public EditInfo getEditInfo(int n) { method setEditValue (line 13) | public void setEditValue(int n, EditInfo ei) { FILE: src/GateElm.java class GateElm (line 4) | abstract class GateElm extends CircuitElm { method GateElm (line 9) | public GateElm(int xx, int yy) { method GateElm (line 15) | public GateElm(int xa, int ya, int xb, int yb, int f, method isInverting (line 23) | boolean isInverting() { return false; } method setSize (line 25) | void setSize(int s) { method dump (line 32) | String dump() { method setPoints (line 37) | void setPoints() { method draw (line 63) | void draw(Graphics g) { method getPostCount (line 84) | int getPostCount() { return inputCount+1; } method getPost (line 85) | Point getPost(int n) { method getVoltageSourceCount (line 90) | int getVoltageSourceCount() { return 1; } method getGateName (line 91) | abstract String getGateName(); method getInfo (line 92) | void getInfo(String arr[]) { method stamp (line 97) | void stamp() { method getInput (line 100) | boolean getInput(int x) { method calcFunction (line 103) | abstract boolean calcFunction(); method doStep (line 104) | void doStep() { method getEditInfo (line 113) | public EditInfo getEditInfo(int n) { method setEditValue (line 119) | public void setEditValue(int n, EditInfo ei) { method getConnection (line 125) | boolean getConnection(int n1, int n2) { return false; } method hasGroundConnection (line 126) | boolean hasGroundConnection(int n1) { FILE: src/GraphicElm.java class GraphicElm (line 1) | class GraphicElm extends CircuitElm method GraphicElm (line 4) | public GraphicElm(int xx, int yy) method GraphicElm (line 9) | public GraphicElm(int xa, int ya, int xb, int yb, int flags) method getPostCount (line 14) | int getPostCount() { return 0; } FILE: src/GroundElm.java class GroundElm (line 4) | class GroundElm extends CircuitElm { method GroundElm (line 5) | public GroundElm(int xx, int yy) { super(xx, yy); } method GroundElm (line 6) | public GroundElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 10) | int getDumpType() { return 'g'; } method getPostCount (line 11) | int getPostCount() { return 1; } method draw (line 12) | void draw(Graphics g) { method setCurrent (line 27) | void setCurrent(int x, double c) { current = -c; } method stamp (line 28) | void stamp() { method getVoltageDiff (line 31) | double getVoltageDiff() { return 0; } method getVoltageSourceCount (line 32) | int getVoltageSourceCount() { return 1; } method getInfo (line 33) | void getInfo(String arr[]) { method hasGroundConnection (line 37) | boolean hasGroundConnection(int n1) { return true; } method getShortcut (line 38) | int getShortcut() { return 'g'; } FILE: src/ImportExportAppletDialog.java class ImportExportAppletDialog (line 6) | class ImportExportAppletDialog method ImportExportAppletDialog (line 14) | ImportExportAppletDialog(CirSim f, Action type) method setDump (line 24) | public void setDump(String dump) method execute (line 29) | public void execute() FILE: src/ImportExportClipboardDialog.java class ImportExportClipboardDialog (line 9) | class ImportExportClipboardDialog method ImportExportClipboardDialog (line 20) | ImportExportClipboardDialog(CirSim f, Action type) { method setDump (line 41) | public void setDump(String dump) method execute (line 46) | public void execute() method actionPerformed (line 53) | public void actionPerformed(ActionEvent e) { method handleEvent (line 73) | public boolean handleEvent(Event ev) { FILE: src/ImportExportDialog.java type ImportExportDialog (line 4) | public interface ImportExportDialog { type Action (line 5) | public enum Action { IMPORT, EXPORT } method setDump (line 7) | public void setDump(String dump); method execute (line 9) | public void execute(); FILE: src/ImportExportDialogFactory.java class ImportExportDialogFactory (line 1) | public class ImportExportDialogFactory method Create (line 3) | public static ImportExportDialog Create(CirSim f, FILE: src/ImportExportDialogLayout.java class ImportExportDialogLayout (line 3) | class ImportExportDialogLayout implements LayoutManager { method ImportExportDialogLayout (line 4) | public ImportExportDialogLayout() {} method addLayoutComponent (line 5) | public void addLayoutComponent(String name, Component c) {} method removeLayoutComponent (line 6) | public void removeLayoutComponent(Component c) {} method preferredLayoutSize (line 7) | public Dimension preferredLayoutSize(Container target) { method minimumLayoutSize (line 10) | public Dimension minimumLayoutSize(Container target) { method layoutContainer (line 13) | public void layoutContainer(Container target) { FILE: src/ImportExportFileDialog.java class ImportExportFileDialog (line 9) | class ImportExportFileDialog method ImportExportFileDialog (line 17) | ImportExportFileDialog(CirSim f, Action type) method setDump (line 29) | public void setDump(String dump) method getDump (line 34) | public String getDump() method execute (line 39) | public void execute() method readFile (line 81) | private static String readFile(String path) method writeFile (line 99) | private static void writeFile(String path) FILE: src/Inductor.java class Inductor (line 1) | class Inductor { method Inductor (line 10) | Inductor(CirSim s) { method setup (line 14) | void setup(double ic, double cr, int f) { method isTrapezoidal (line 19) | boolean isTrapezoidal() { return (flags & FLAG_BACK_EULER) == 0; } method reset (line 20) | void reset() { method stamp (line 23) | void stamp(int n0, int n1) { method nonLinear (line 39) | boolean nonLinear() { return false; } method startIteration (line 41) | void startIteration(double voltdiff) { method calculateCurrent (line 48) | double calculateCurrent(double voltdiff) { method doStep (line 56) | void doStep(double voltdiff) { FILE: src/InductorElm.java class InductorElm (line 4) | class InductorElm extends CircuitElm { method InductorElm (line 7) | public InductorElm(int xx, int yy) { method InductorElm (line 13) | public InductorElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 21) | int getDumpType() { return 'l'; } method dump (line 22) | String dump() { method setPoints (line 25) | void setPoints() { method draw (line 29) | void draw(Graphics g) { method reset (line 45) | void reset() { method stamp (line 49) | void stamp() { ind.stamp(nodes[0], nodes[1]); } method startIteration (line 50) | void startIteration() { method nonLinear (line 53) | boolean nonLinear() { return ind.nonLinear(); } method calculateCurrent (line 54) | void calculateCurrent() { method doStep (line 58) | void doStep() { method getInfo (line 62) | void getInfo(String arr[]) { method getEditInfo (line 68) | public EditInfo getEditInfo(int n) { method setEditValue (line 79) | public void setEditValue(int n, EditInfo ei) { FILE: src/InverterElm.java class InverterElm (line 4) | class InverterElm extends CircuitElm { method InverterElm (line 6) | public InverterElm(int xx, int yy) { method InverterElm (line 11) | public InverterElm(int xa, int ya, int xb, int yb, int f, method dump (line 21) | String dump() { method getDumpType (line 25) | int getDumpType() { return 'I'; } method draw (line 26) | void draw(Graphics g) { method setPoints (line 37) | void setPoints() { method getVoltageSourceCount (line 52) | int getVoltageSourceCount() { return 1; } method stamp (line 53) | void stamp() { method doStep (line 56) | void doStep() { method getVoltageDiff (line 63) | double getVoltageDiff() { return volts[0]; } method getInfo (line 64) | void getInfo(String arr[]) { method getEditInfo (line 69) | public EditInfo getEditInfo(int n) { method setEditValue (line 74) | public void setEditValue(int n, EditInfo ei) { method getConnection (line 79) | boolean getConnection(int n1, int n2) { return false; } method hasGroundConnection (line 80) | boolean hasGroundConnection(int n1) { method getShortcut (line 83) | int getShortcut() { return '1'; } FILE: src/JKFlipFlopElm.java class JKFlipFlopElm (line 4) | class JKFlipFlopElm extends ChipElm { method JKFlipFlopElm (line 5) | public JKFlipFlopElm(int xx, int yy) { super(xx, yy); } method JKFlipFlopElm (line 6) | public JKFlipFlopElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 11) | String getChipName() { return "JK flip-flop"; } method setupPins (line 12) | void setupPins() { method getPostCount (line 27) | int getPostCount() { return 5; } method getVoltageSourceCount (line 28) | int getVoltageSourceCount() { return 2; } method execute (line 29) | void execute() { method getDumpType (line 44) | int getDumpType() { return 156; } FILE: src/JfetElm.java class JfetElm (line 4) | class JfetElm extends MosfetElm { method JfetElm (line 5) | JfetElm(int xx, int yy, boolean pnpflag) { method JfetElm (line 9) | public JfetElm(int xa, int ya, int xb, int yb, int f, method draw (line 19) | void draw(Graphics g) { method setPoints (line 41) | void setPoints() { method getDumpType (line 65) | int getDumpType() { return 'j'; } method getDefaultThreshold (line 67) | double getDefaultThreshold() { return -4; } method getBeta (line 68) | double getBeta() { return .00125; } method getInfo (line 69) | void getInfo(String arr[]) { FILE: src/LEDElm.java class LEDElm (line 4) | class LEDElm extends DiodeElm { method LEDElm (line 6) | public LEDElm(int xx, int yy) { method LEDElm (line 12) | public LEDElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 22) | int getDumpType() { return 162; } method dump (line 23) | String dump() { method setPoints (line 28) | void setPoints() { method draw (line 36) | void draw(Graphics g) { method getInfo (line 64) | void getInfo(String arr[]) { method getEditInfo (line 69) | public EditInfo getEditInfo(int n) { method setEditValue (line 83) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 93) | int getShortcut() { return 'l'; } FILE: src/LampElm.java class LampElm (line 4) | class LampElm extends CircuitElm { method LampElm (line 8) | public LampElm(int xx, int yy) { method LampElm (line 16) | public LampElm(int xa, int ya, int xb, int yb, int f, method dump (line 25) | String dump() { method getDumpType (line 29) | int getDumpType() { return 181; } method reset (line 34) | void reset() { method setPoints (line 39) | void setPoints() { method getTempColor (line 54) | Color getTempColor() { method draw (line 76) | void draw(Graphics g) { method calculateCurrent (line 110) | void calculateCurrent() { method stamp (line 114) | void stamp() { method nonLinear (line 118) | boolean nonLinear() { return true; } method startIteration (line 119) | void startIteration() { method doStep (line 136) | void doStep() { method getInfo (line 139) | void getInfo(String arr[]) { method getEditInfo (line 146) | public EditInfo getEditInfo(int n) { method setEditValue (line 158) | public void setEditValue(int n, EditInfo ei) { FILE: src/LatchElm.java class LatchElm (line 4) | class LatchElm extends ChipElm { method LatchElm (line 5) | public LatchElm(int xx, int yy) { super(xx, yy); } method LatchElm (line 6) | public LatchElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "Latch"; } method needsBits (line 11) | boolean needsBits() { return true; } method setupPins (line 13) | void setupPins() { method execute (line 28) | void execute() { method getVoltageSourceCount (line 35) | int getVoltageSourceCount() { return bits; } method getPostCount (line 36) | int getPostCount() { return bits*2+1; } method getDumpType (line 37) | int getDumpType() { return 168; } FILE: src/LogicInputElm.java class LogicInputElm (line 4) | class LogicInputElm extends SwitchElm { method LogicInputElm (line 9) | public LogicInputElm(int xx, int yy) { method LogicInputElm (line 15) | public LogicInputElm(int xa, int ya, int xb, int yb, int f, method isTernary (line 28) | boolean isTernary() { return (flags & FLAG_TERNARY) != 0; } method isNumeric (line 29) | boolean isNumeric() { return (flags & (FLAG_TERNARY|FLAG_NUMERIC)) != ... method getDumpType (line 30) | int getDumpType() { return 'L'; } method dump (line 31) | String dump() { method getPostCount (line 34) | int getPostCount() { return 1; } method setPoints (line 35) | void setPoints() { method draw (line 40) | void draw(Graphics g) { method setCurrent (line 56) | void setCurrent(int vs, double c) { current = -c; } method stamp (line 57) | void stamp() { method getVoltageSourceCount (line 63) | int getVoltageSourceCount() { return 1; } method getVoltageDiff (line 64) | double getVoltageDiff() { return volts[0]; } method getInfo (line 65) | void getInfo(String arr[]) { method hasGroundConnection (line 73) | boolean hasGroundConnection(int n1) { return true; } method getEditInfo (line 74) | public EditInfo getEditInfo(int n) { method setEditValue (line 86) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 94) | int getShortcut() { return 'i'; } FILE: src/LogicOutputElm.java class LogicOutputElm (line 4) | class LogicOutputElm extends CircuitElm { method LogicOutputElm (line 11) | public LogicOutputElm(int xx, int yy) { method LogicOutputElm (line 16) | public LogicOutputElm(int xa, int ya, int xb, int yb, int f, method dump (line 25) | String dump() { method getDumpType (line 28) | int getDumpType() { return 'M'; } method getPostCount (line 29) | int getPostCount() { return 1; } method isTernary (line 30) | boolean isTernary() { return (flags & FLAG_TERNARY) != 0; } method isNumeric (line 32) | boolean isNumeric() { return true; } method needsPullDown (line 33) | boolean needsPullDown() { return (flags & FLAG_PULLDOWN) != 0; } method setPoints (line 34) | void setPoints() { method draw (line 39) | void draw(Graphics g) { method stamp (line 62) | void stamp() { method getVoltageDiff (line 66) | double getVoltageDiff() { return volts[0]; } method getInfo (line 67) | void getInfo(String arr[]) { method getEditInfo (line 74) | public EditInfo getEditInfo(int n) { method setEditValue (line 84) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 94) | int getShortcut() { return 'o'; } FILE: src/MemristorElm.java class MemristorElm (line 4) | class MemristorElm extends CircuitElm { method MemristorElm (line 6) | public MemristorElm(int xx, int yy) { method MemristorElm (line 15) | public MemristorElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 25) | int getDumpType() { return 'm'; } method dump (line 26) | String dump() { method setPoints (line 32) | void setPoints() { method draw (line 39) | void draw(Graphics g) { method nonLinear (line 72) | boolean nonLinear() { return true; } method calculateCurrent (line 73) | void calculateCurrent() { method reset (line 76) | void reset() { method startIteration (line 79) | void startIteration() { method stamp (line 88) | void stamp() { method doStep (line 92) | void doStep() { method getInfo (line 95) | void getInfo(String arr[]) { method getScopeValue (line 101) | double getScopeValue(int x) { method getScopeUnits (line 104) | String getScopeUnits(int x) { method getEditInfo (line 107) | public EditInfo getEditInfo(int n) { method setEditValue (line 120) | public void setEditValue(int n, EditInfo ei) { FILE: src/MosfetElm.java class MosfetElm (line 4) | class MosfetElm extends CircuitElm { method MosfetElm (line 10) | MosfetElm(int xx, int yy, boolean pnpflag) { method MosfetElm (line 17) | public MosfetElm(int xa, int ya, int xb, int yb, int f, method getDefaultThreshold (line 27) | double getDefaultThreshold() { return 1.5; } method getBeta (line 28) | double getBeta() { return .02; } method nonLinear (line 29) | boolean nonLinear() { return true; } method drawDigital (line 30) | boolean drawDigital() { return (flags & FLAG_DIGITAL) != 0; } method reset (line 31) | void reset() { method dump (line 34) | String dump() { method getDumpType (line 37) | int getDumpType() { return 'f'; } method draw (line 40) | void draw(Graphics g) { method getPost (line 92) | Point getPost(int n) { method getCurrent (line 95) | double getCurrent() { return ids; } method getPower (line 96) | double getPower() { return ids*(volts[2]-volts[1]); } method getPostCount (line 97) | int getPostCount() { return 3; } method setPoints (line 103) | void setPoints() { method stamp (line 137) | void stamp() { method doStep (line 141) | void doStep() { method getFetInfo (line 216) | void getFetInfo(String arr[], String n) { method getInfo (line 226) | void getInfo(String arr[]) { method canViewInScope (line 229) | boolean canViewInScope() { return true; } method getVoltageDiff (line 230) | double getVoltageDiff() { return volts[2] - volts[1]; } method getConnection (line 231) | boolean getConnection(int n1, int n2) { method getEditInfo (line 234) | public EditInfo getEditInfo(int n) { method setEditValue (line 245) | public void setEditValue(int n, EditInfo ei) { FILE: src/NJfetElm.java class NJfetElm (line 1) | class NJfetElm extends JfetElm { method NJfetElm (line 2) | public NJfetElm(int xx, int yy) { super(xx, yy, false); } method getDumpClass (line 3) | Class getDumpClass() { return JfetElm.class; } class PJfetElm (line 6) | class PJfetElm extends JfetElm { method PJfetElm (line 7) | public PJfetElm(int xx, int yy) { super(xx, yy, true); } method getDumpClass (line 8) | Class getDumpClass() { return JfetElm.class; } FILE: src/NMosfetElm.java class NMosfetElm (line 1) | class NMosfetElm extends MosfetElm { method NMosfetElm (line 2) | public NMosfetElm(int xx, int yy) { super(xx, yy, false); } method getDumpClass (line 3) | Class getDumpClass() { return MosfetElm.class; } FILE: src/NTransistorElm.java class NTransistorElm (line 1) | class NTransistorElm extends TransistorElm { method NTransistorElm (line 2) | public NTransistorElm(int xx, int yy) { super(xx, yy, false); } method getDumpClass (line 3) | Class getDumpClass() { return TransistorElm.class; } FILE: src/NandGateElm.java class NandGateElm (line 4) | class NandGateElm extends AndGateElm { method NandGateElm (line 5) | public NandGateElm(int xx, int yy) { super(xx, yy); } method NandGateElm (line 6) | public NandGateElm(int xa, int ya, int xb, int yb, int f, method isInverting (line 10) | boolean isInverting() { return true; } method getGateName (line 11) | String getGateName() { return "NAND gate"; } method getDumpType (line 12) | int getDumpType() { return 151; } method getShortcut (line 13) | int getShortcut() { return '@'; } FILE: src/NorGateElm.java class NorGateElm (line 4) | class NorGateElm extends OrGateElm { method NorGateElm (line 5) | public NorGateElm(int xx, int yy) { super(xx, yy); } method NorGateElm (line 6) | public NorGateElm(int xa, int ya, int xb, int yb, int f, method getGateName (line 10) | String getGateName() { return "NOR gate"; } method isInverting (line 11) | boolean isInverting() { return true; } method getDumpType (line 12) | int getDumpType() { return 153; } method getShortcut (line 13) | int getShortcut() { return '#'; } FILE: src/OpAmpElm.java class OpAmpElm (line 4) | class OpAmpElm extends CircuitElm { method OpAmpElm (line 11) | public OpAmpElm(int xx, int yy) { method OpAmpElm (line 20) | public OpAmpElm(int xa, int ya, int xb, int yb, int f, method setGain (line 38) | void setGain() { method dump (line 44) | String dump() { method nonLinear (line 47) | boolean nonLinear() { return true; } method draw (line 48) | void draw(Graphics g) { method getPower (line 66) | double getPower() { return volts[2]*current; } method setSize (line 70) | void setSize(int s) { method setPoints (line 76) | void setPoints() { method getPostCount (line 98) | int getPostCount() { return 3; } method getPost (line 99) | Point getPost(int n) { method getVoltageSourceCount (line 102) | int getVoltageSourceCount() { return 1; } method getInfo (line 103) | void getInfo(String arr[]) { method stamp (line 118) | void stamp() { method doStep (line 123) | void doStep() { method getConnection (line 154) | boolean getConnection(int n1, int n2) { return false; } method hasGroundConnection (line 155) | boolean hasGroundConnection(int n1) { method getVoltageDiff (line 158) | double getVoltageDiff() { return volts[2] - volts[1]; } method getDumpType (line 159) | int getDumpType() { return 'a'; } method getEditInfo (line 160) | public EditInfo getEditInfo(int n) { method setEditValue (line 167) | public void setEditValue(int n, EditInfo ei) { FILE: src/OpAmpSwapElm.java class OpAmpSwapElm (line 1) | class OpAmpSwapElm extends OpAmpElm { method OpAmpSwapElm (line 2) | public OpAmpSwapElm(int xx, int yy) { method getDumpClass (line 6) | Class getDumpClass() { return OpAmpElm.class; } FILE: src/OrGateElm.java class OrGateElm (line 4) | class OrGateElm extends GateElm { method OrGateElm (line 5) | public OrGateElm(int xx, int yy) { super(xx, yy); } method OrGateElm (line 6) | public OrGateElm(int xa, int ya, int xb, int yb, int f, method getGateName (line 10) | String getGateName() { return "OR gate"; } method setPoints (line 11) | void setPoints() { method calcFunction (line 44) | boolean calcFunction() { method getDumpType (line 51) | int getDumpType() { return 152; } method getShortcut (line 52) | int getShortcut() { return '3'; } FILE: src/OutputElm.java class OutputElm (line 4) | class OutputElm extends CircuitElm { method OutputElm (line 6) | public OutputElm(int xx, int yy) { super(xx, yy); } method OutputElm (line 7) | public OutputElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 11) | int getDumpType() { return 'O'; } method getPostCount (line 12) | int getPostCount() { return 1; } method setPoints (line 13) | void setPoints() { method draw (line 17) | void draw(Graphics g) { method getVoltageDiff (line 37) | double getVoltageDiff() { return volts[0]; } method getInfo (line 38) | void getInfo(String arr[]) { method getEditInfo (line 42) | public EditInfo getEditInfo(int n) { method setEditValue (line 51) | public void setEditValue(int n, EditInfo ei) { FILE: src/PMosfetElm.java class PMosfetElm (line 1) | class PMosfetElm extends MosfetElm { method PMosfetElm (line 2) | public PMosfetElm(int xx, int yy) { super(xx, yy, true); } method getDumpClass (line 3) | Class getDumpClass() { return MosfetElm.class; } FILE: src/PTransistorElm.java class PTransistorElm (line 1) | class PTransistorElm extends TransistorElm { method PTransistorElm (line 2) | public PTransistorElm(int xx, int yy) { super(xx, yy, true); } method getDumpClass (line 3) | Class getDumpClass() { return TransistorElm.class; } FILE: src/PhaseCompElm.java class PhaseCompElm (line 4) | class PhaseCompElm extends ChipElm { method PhaseCompElm (line 5) | public PhaseCompElm(int xx, int yy) { super(xx, yy); } method PhaseCompElm (line 6) | public PhaseCompElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "phase comparator"; } method setupPins (line 11) | void setupPins() { method nonLinear (line 20) | boolean nonLinear() { return true; } method stamp (line 21) | void stamp() { method doStep (line 28) | void doStep() { method getPostCount (line 49) | int getPostCount() { return 3; } method getVoltageSourceCount (line 50) | int getVoltageSourceCount() { return 1; } method getDumpType (line 51) | int getDumpType() { return 161; } FILE: src/PhotoResistorElm.java class PhotoResistorElm (line 8) | class PhotoResistorElm extends CircuitElm { method PhotoResistorElm (line 13) | public PhotoResistorElm(int xx, int yy) { method PhotoResistorElm (line 19) | public PhotoResistorElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 26) | boolean nonLinear() {return true;} method getDumpType (line 27) | int getDumpType() { return 186; } method dump (line 28) | String dump() { method createSlider (line 32) | void createSlider() { method setPoints (line 38) | void setPoints() { method delete (line 44) | void delete() { method draw (line 49) | void draw(Graphics g) { method calculateCurrent (line 61) | void calculateCurrent() { method startIteration (line 65) | void startIteration() { method doStep (line 71) | void doStep() { method stamp (line 74) | void stamp() { method getInfo (line 78) | void getInfo(String arr[]) { method getEditInfo (line 86) | public EditInfo getEditInfo(int n) { method setEditValue (line 94) | public void setEditValue(int n, EditInfo ei) { FILE: src/PotElm.java class PotElm (line 5) | class PotElm extends CircuitElm implements AdjustmentListener { method PotElm (line 12) | public PotElm(int xx, int yy) { method PotElm (line 20) | public PotElm(int xa, int ya, int xb, int yb, int f, method setup (line 30) | void setup() { method getPostCount (line 32) | int getPostCount() { return 3; } method getDumpType (line 33) | int getDumpType() { return 174; } method getPost (line 34) | Point getPost(int n) { method dump (line 37) | String dump() { return super.dump() + " " + maxResistance + " " + method createSlider (line 39) | void createSlider() { method adjustmentValueChanged (line 46) | public void adjustmentValueChanged(AdjustmentEvent e) { method delete (line 50) | void delete() { method setPoints (line 57) | void setPoints() { method draw (line 92) | void draw(Graphics g) { method calculateCurrent (line 158) | void calculateCurrent() { method stamp (line 163) | void stamp() { method getInfo (line 169) | void getInfo(String arr[]) { method getEditInfo (line 177) | public EditInfo getEditInfo(int n) { method setEditValue (line 188) | public void setEditValue(int n, EditInfo ei) { FILE: src/ProbeElm.java class ProbeElm (line 4) | class ProbeElm extends CircuitElm { method ProbeElm (line 6) | public ProbeElm(int xx, int yy) { super(xx, yy); } method ProbeElm (line 7) | public ProbeElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 11) | int getDumpType() { return 'p'; } method setPoints (line 14) | void setPoints() { method draw (line 24) | void draw(Graphics g) { method mustShowVoltage (line 51) | boolean mustShowVoltage() { method getInfo (line 55) | void getInfo(String arr[]) { method getConnection (line 59) | boolean getConnection(int n1, int n2) { return false; } method getEditInfo (line 61) | public EditInfo getEditInfo(int n) { method setEditValue (line 69) | public void setEditValue(int n, EditInfo ei) { FILE: src/PushSwitchElm.java class PushSwitchElm (line 1) | class PushSwitchElm extends SwitchElm { method PushSwitchElm (line 2) | public PushSwitchElm(int xx, int yy) { super(xx, yy, true); } method getDumpClass (line 3) | Class getDumpClass() { return SwitchElm.class; } method getShortcut (line 4) | int getShortcut() { return 0; } FILE: src/RailElm.java class RailElm (line 4) | class RailElm extends VoltageElm { method RailElm (line 5) | public RailElm(int xx, int yy) { super(xx, yy, WF_DC); } method RailElm (line 6) | RailElm(int xx, int yy, int wf) { super(xx, yy, wf); } method RailElm (line 7) | public RailElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 12) | int getDumpType() { return 'R'; } method getPostCount (line 13) | int getPostCount() { return 1; } method setPoints (line 15) | void setPoints() { method draw (line 19) | void draw(Graphics g) { method getVoltageDiff (line 48) | double getVoltageDiff() { return volts[0]; } method stamp (line 49) | void stamp() { method doStep (line 55) | void doStep() { method hasGroundConnection (line 59) | boolean hasGroundConnection(int n1) { return true; } method getShortcut (line 60) | int getShortcut() { return 'V'; } FILE: src/RelayElm.java class RelayElm (line 12) | class RelayElm extends CircuitElm { method RelayElm (line 29) | public RelayElm(int xx, int yy) { method RelayElm (line 43) | public RelayElm(int xa, int ya, int xb, int yb, int f, method setupPoles (line 59) | void setupPoles() { method getDumpType (line 69) | int getDumpType() { return 178; } method dump (line 71) | String dump() { method draw (line 77) | void draw(Graphics g) { method setPoints (line 133) | void setPoints() { method getPost (line 171) | Point getPost(int n) { method getPostCount (line 176) | int getPostCount() { return 2+poleCount*3; } method getInternalNodeCount (line 177) | int getInternalNodeCount() { return 1; } method reset (line 178) | void reset() { method stamp (line 187) | void stamp() { method startIteration (line 197) | void startIteration() { method nonLinear (line 219) | boolean nonLinear() { return true; } method doStep (line 221) | void doStep() { method calculateCurrent (line 232) | void calculateCurrent() { method getInfo (line 247) | void getInfo(String arr[]) { method getEditInfo (line 258) | public EditInfo getEditInfo(int n) { method setEditValue (line 280) | public void setEditValue(int n, EditInfo ei) { method getConnection (line 305) | boolean getConnection(int n1, int n2) { method getShortcut (line 308) | int getShortcut() { return 'R'; } FILE: src/ResistorElm.java class ResistorElm (line 4) | class ResistorElm extends CircuitElm { method ResistorElm (line 6) | public ResistorElm(int xx, int yy) { super(xx, yy); resistance = 100; } method ResistorElm (line 7) | public ResistorElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 12) | int getDumpType() { return 'r'; } method dump (line 13) | String dump() { method setPoints (line 18) | void setPoints() { method draw (line 25) | void draw(Graphics g) { method calculateCurrent (line 76) | void calculateCurrent() { method stamp (line 80) | void stamp() { method getInfo (line 83) | void getInfo(String arr[]) { method getEditInfo (line 89) | public EditInfo getEditInfo(int n) { method setEditValue (line 95) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 99) | int getShortcut() { return 'r'; } FILE: src/RowInfo.java class RowInfo (line 2) | class RowInfo { method RowInfo (line 11) | RowInfo() { type = ROW_NORMAL; } FILE: src/SCRElm.java class SCRElm (line 11) | class SCRElm extends CircuitElm { method SCRElm (line 17) | public SCRElm(int xx, int yy) { method SCRElm (line 22) | public SCRElm(int xa, int ya, int xb, int yb, int f, method setDefaults (line 39) | void setDefaults() { method setup (line 44) | void setup() { method nonLinear (line 48) | boolean nonLinear() { return true; } method reset (line 49) | void reset() { method getDumpType (line 54) | int getDumpType() { return 177; } method dump (line 55) | String dump() { method setPoints (line 68) | void setPoints() { method draw (line 99) | void draw(Graphics g) { method getPost (line 133) | Point getPost(int n) { method getPostCount (line 137) | int getPostCount() { return 3; } method getInternalNodeCount (line 138) | int getInternalNodeCount() { return 1; } method getPower (line 139) | double getPower() { method stamp (line 144) | void stamp() { method doStep (line 153) | void doStep() { method getInfo (line 169) | void getInfo(String arr[]) { method calculateCurrent (line 180) | void calculateCurrent() { method getEditInfo (line 185) | public EditInfo getEditInfo(int n) { method setEditValue (line 195) | public void setEditValue(int n, EditInfo ei) { FILE: src/Scope.java class Scope (line 8) | class Scope { method Scope (line 33) | Scope(CirSim s) { method showCurrent (line 38) | void showCurrent(boolean b) { showI = b; value = ivalue = 0; } method showVoltage (line 39) | void showVoltage(boolean b) { showV = b; value = ivalue = 0; } method showMax (line 40) | void showMax (boolean b) { showMax = b; } method showMin (line 41) | void showMin (boolean b) { showMin = b; } method showFreq (line 42) | void showFreq (boolean b) { showFreq = b; } method setLockScale (line 43) | void setLockScale (boolean b) { lockScale = b; } method resetGraph (line 44) | void resetGraph() { method active (line 55) | boolean active() { return elm != null; } method reset (line 56) | void reset() { method setRect (line 73) | void setRect(Rectangle r) { method getWidth (line 77) | int getWidth() { return rect.width; } method rightEdge (line 78) | int rightEdge() { return rect.x+rect.width; } method setElm (line 80) | void setElm(CircuitElm ce) { method timeStep (line 85) | void timeStep() { method drawTo (line 133) | void drawTo(int x2, int y2) { method clear2dView (line 164) | void clear2dView() { method adjustScale (line 171) | void adjustScale(double x) { method draw2d (line 176) | void draw2d(Graphics g) { method draw (line 205) | void draw(Graphics g) { method speedUp (line 457) | void speedUp() { method slowDown (line 463) | void slowDown() { method getMenu (line 468) | PopupMenu getMenu() { method setValue (line 495) | void setValue(int x) { reset(); value = x; } method dump (line 496) | String dump() { method undump (line 516) | void undump(StringTokenizer st) { method allocImage (line 558) | void allocImage() { method handleMenu (line 606) | void handleMenu(ItemEvent e, Object mi) { method select (line 654) | void select() { method selectY (line 662) | void selectY() { FILE: src/SevenSegElm.java class SevenSegElm (line 4) | class SevenSegElm extends ChipElm { method SevenSegElm (line 5) | public SevenSegElm(int xx, int yy) { super(xx, yy); } method SevenSegElm (line 6) | public SevenSegElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "7-segment driver/display"; } method setupPins (line 12) | void setupPins() { method draw (line 25) | void draw(Graphics g) { method setColor (line 45) | void setColor(Graphics g, int p) { method getPostCount (line 49) | int getPostCount() { return 7; } method getVoltageSourceCount (line 50) | int getVoltageSourceCount() { return 0; } method getDumpType (line 51) | int getDumpType() { return 157; } FILE: src/SparkGapElm.java class SparkGapElm (line 4) | class SparkGapElm extends CircuitElm { method SparkGapElm (line 7) | public SparkGapElm(int xx, int yy) { method SparkGapElm (line 15) | public SparkGapElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 23) | boolean nonLinear() {return true;} method getDumpType (line 24) | int getDumpType() { return 187; } method dump (line 25) | String dump() { method setPoints (line 30) | void setPoints() { method draw (line 41) | void draw(Graphics g) { method calculateCurrent (line 57) | void calculateCurrent() { method reset (line 62) | void reset() { method startIteration (line 67) | void startIteration() { method doStep (line 75) | void doStep() { method stamp (line 79) | void stamp() { method getInfo (line 83) | void getInfo(String arr[]) { method getEditInfo (line 91) | public EditInfo getEditInfo(int n) { method setEditValue (line 103) | public void setEditValue(int n, EditInfo ei) { FILE: src/SquareRailElm.java class SquareRailElm (line 1) | class SquareRailElm extends RailElm { method SquareRailElm (line 2) | public SquareRailElm(int xx, int yy) { super(xx, yy, WF_SQUARE); } method getDumpClass (line 3) | Class getDumpClass() { return RailElm.class; } method getShortcut (line 4) | int getShortcut() { return 0; } FILE: src/SweepElm.java class SweepElm (line 4) | class SweepElm extends CircuitElm { method SweepElm (line 9) | public SweepElm(int xx, int yy) { method SweepElm (line 17) | public SweepElm(int xa, int ya, int xb, int yb, int f, StringTokenizer... method getDumpType (line 25) | int getDumpType() { return 170; } method getPostCount (line 26) | int getPostCount() { return 1; } method dump (line 29) | String dump() { method setPoints (line 33) | void setPoints() { method draw (line 37) | void draw(Graphics g) { method stamp (line 77) | void stamp() { method setParams (line 82) | void setParams() { method reset (line 97) | void reset() { method startIteration (line 104) | void startIteration() { method doStep (line 125) | void doStep() { method getVoltageDiff (line 129) | double getVoltageDiff() { return volts[0]; } method getVoltageSourceCount (line 130) | int getVoltageSourceCount() { return 1; } method hasGroundConnection (line 131) | boolean hasGroundConnection(int n1) { return true; } method getInfo (line 132) | void getInfo(String arr[]) { method getEditInfo (line 141) | public EditInfo getEditInfo(int n) { method setEditValue (line 162) | public void setEditValue(int n, EditInfo ei) { FILE: src/Switch2Elm.java class Switch2Elm (line 4) | class Switch2Elm extends SwitchElm { method Switch2Elm (line 8) | public Switch2Elm(int xx, int yy) { method Switch2Elm (line 12) | Switch2Elm(int xx, int yy, boolean mm) { method Switch2Elm (line 16) | public Switch2Elm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 22) | int getDumpType() { return 'S'; } method dump (line 23) | String dump() { method setPoints (line 29) | void setPoints() { method draw (line 40) | void draw(Graphics g) { method getPost (line 66) | Point getPost(int n) { method getPostCount (line 69) | int getPostCount() { return 3; } method calculateCurrent (line 70) | void calculateCurrent() { method stamp (line 74) | void stamp() { method getVoltageSourceCount (line 79) | int getVoltageSourceCount() { method toggle (line 82) | void toggle() { method getConnection (line 96) | boolean getConnection(int n1, int n2) { method getInfo (line 101) | void getInfo(String arr[]) { method getEditInfo (line 105) | public EditInfo getEditInfo(int n) { method setEditValue (line 113) | public void setEditValue(int n, EditInfo ei) { method hasCenterOff (line 124) | boolean hasCenterOff() { return (flags & FLAG_CENTER_OFF) != 0; } method getShortcut (line 125) | int getShortcut() { return 'S'; } FILE: src/SwitchElm.java class SwitchElm (line 4) | class SwitchElm extends CircuitElm { method SwitchElm (line 8) | public SwitchElm(int xx, int yy) { method SwitchElm (line 14) | SwitchElm(int xx, int yy, boolean mm) { method SwitchElm (line 20) | public SwitchElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 33) | int getDumpType() { return 's'; } method dump (line 34) | String dump() { method setPoints (line 39) | void setPoints() { method draw (line 46) | void draw(Graphics g) { method calculateCurrent (line 65) | void calculateCurrent() { method stamp (line 69) | void stamp() { method getVoltageSourceCount (line 73) | int getVoltageSourceCount() { method mouseUp (line 76) | void mouseUp() { method toggle (line 80) | void toggle() { method getInfo (line 85) | void getInfo(String arr[]) { method getConnection (line 96) | boolean getConnection(int n1, int n2) { return position == 0; } method isWire (line 97) | boolean isWire() { return true; } method getEditInfo (line 98) | public EditInfo getEditInfo(int n) { method setEditValue (line 106) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 110) | int getShortcut() { return 's'; } FILE: src/TappedTransformerElm.java class TappedTransformerElm (line 4) | class TappedTransformerElm extends CircuitElm { method TappedTransformerElm (line 8) | public TappedTransformerElm(int xx, int yy) { method TappedTransformerElm (line 19) | public TappedTransformerElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 36) | int getDumpType() { return 169; } method dump (line 37) | String dump() { method draw (line 41) | void draw(Graphics g) { method setPoints (line 79) | void setPoints() { method getPost (line 104) | Point getPost(int n) { method getPostCount (line 107) | int getPostCount() { return 5; } method reset (line 108) | void reset() { method stamp (line 113) | void stamp() { method startIteration (line 168) | void startIteration() { method doStep (line 180) | void doStep() { method calculateCurrent (line 185) | void calculateCurrent() { method getInfo (line 196) | void getInfo(String arr[]) { method getConnection (line 205) | boolean getConnection(int n1, int n2) { method getEditInfo (line 216) | public EditInfo getEditInfo(int n) { method setEditValue (line 223) | public void setEditValue(int n, EditInfo ei) { FILE: src/TextElm.java class TextElm (line 5) | class TextElm extends GraphicElm { method TextElm (line 11) | public TextElm(int xx, int yy) { method TextElm (line 18) | public TextElm(int xa, int ya, int xb, int yb, int f, method split (line 27) | void split() { method dump (line 46) | String dump() { method getDumpType (line 49) | int getDumpType() { return 'x'; } method drag (line 50) | void drag(int xx, int yy) { method draw (line 56) | void draw(Graphics g) { method getEditInfo (line 89) | public EditInfo getEditInfo(int n) { method setEditValue (line 111) | public void setEditValue(int n, EditInfo ei) { method isCenteredText (line 131) | boolean isCenteredText() { return (flags & FLAG_CENTER) != 0; } method getInfo (line 132) | void getInfo(String arr[]) { method getShortcut (line 135) | @Override FILE: src/ThermistorElm.java class ThermistorElm (line 8) | class ThermistorElm extends CircuitElm { method ThermistorElm (line 13) | public ThermistorElm(int xx, int yy) { method ThermistorElm (line 19) | public ThermistorElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 26) | boolean nonLinear() {return true;} method getDumpType (line 27) | int getDumpType() { return 188; } method dump (line 28) | String dump() { method createSlider (line 32) | void createSlider() { method setPoints (line 38) | void setPoints() { method delete (line 44) | void delete() { method draw (line 49) | void draw(Graphics g) { method calculateCurrent (line 61) | void calculateCurrent() { method startIteration (line 65) | void startIteration() { method doStep (line 71) | void doStep() { method stamp (line 74) | void stamp() { method getInfo (line 78) | void getInfo(String arr[]) { method getEditInfo (line 86) | public EditInfo getEditInfo(int n) { method setEditValue (line 94) | public void setEditValue(int n, EditInfo ei) { FILE: src/TimerElm.java class TimerElm (line 4) | class TimerElm extends ChipElm { method getDefaultFlags (line 13) | int getDefaultFlags() { return FLAG_RESET; } method TimerElm (line 14) | public TimerElm(int xx, int yy) { super(xx, yy); } method TimerElm (line 15) | public TimerElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 19) | String getChipName() { return "555 Timer"; } method setupPins (line 20) | void setupPins() { method nonLinear (line 34) | boolean nonLinear() { return true; } method hasReset (line 35) | boolean hasReset() { return (flags & FLAG_RESET) != 0; } method stamp (line 36) | void stamp() { method calculateCurrent (line 45) | void calculateCurrent() { method startIteration (line 53) | void startIteration() { method doStep (line 62) | void doStep() { method getPostCount (line 74) | int getPostCount() { return hasReset() ? 7 : 6; } method getVoltageSourceCount (line 75) | int getVoltageSourceCount() { return 1; } method getDumpType (line 76) | int getDumpType() { return 165; } FILE: src/TransLineElm.java class TransLineElm (line 4) | class TransLineElm extends CircuitElm { method TransLineElm (line 8) | public TransLineElm(int xx, int yy) { method TransLineElm (line 15) | public TransLineElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 26) | int getDumpType() { return 171; } method getPostCount (line 27) | int getPostCount() { return 4; } method getInternalNodeCount (line 28) | int getInternalNodeCount() { return 2; } method dump (line 29) | String dump() { method drag (line 32) | void drag(int xx, int yy) { method reset (line 50) | void reset() { method setPoints (line 64) | void setPoints() { method draw (line 82) | void draw(Graphics g) { method setVoltageSource (line 124) | void setVoltageSource(int n, int v) { method setCurrent (line 130) | void setCurrent(int v, double c) { method stamp (line 137) | void stamp() { method startIteration (line 144) | void startIteration() { method doStep (line 158) | void doStep() { method getPost (line 171) | Point getPost(int n) { method getVoltageSourceCount (line 176) | int getVoltageSourceCount() { return 2; } method hasGroundConnection (line 177) | boolean hasGroundConnection(int n1) { return false; } method getConnection (line 178) | boolean getConnection(int n1, int n2) { method getInfo (line 186) | void getInfo(String arr[]) { method getEditInfo (line 192) | public EditInfo getEditInfo(int n) { method setEditValue (line 199) | public void setEditValue(int n, EditInfo ei) { FILE: src/TransformerElm.java class TransformerElm (line 4) | class TransformerElm extends CircuitElm { method TransformerElm (line 10) | public TransformerElm(int xx, int yy) { method TransformerElm (line 20) | public TransformerElm(int xa, int ya, int xb, int yb, int f, method drag (line 36) | void drag(int xx, int yy) { method getDumpType (line 45) | int getDumpType() { return 'T'; } method dump (line 46) | String dump() { method isTrapezoidal (line 50) | boolean isTrapezoidal() { return (flags & FLAG_BACK_EULER) == 0; } method draw (line 51) | void draw(Graphics g) { method setPoints (line 77) | void setPoints() { method getPost (line 97) | Point getPost(int n) { method getPostCount (line 100) | int getPostCount() { return 4; } method reset (line 101) | void reset() { method stamp (line 106) | void stamp() { method startIteration (line 153) | void startIteration() { method doStep (line 165) | void doStep() { method calculateCurrent (line 169) | void calculateCurrent() { method getInfo (line 175) | void getInfo(String arr[]) { method getConnection (line 184) | boolean getConnection(int n1, int n2) { method getEditInfo (line 191) | public EditInfo getEditInfo(int n) { method setEditValue (line 207) | public void setEditValue(int n, EditInfo ei) { FILE: src/TransistorElm.java class TransistorElm (line 4) | class TransistorElm extends CircuitElm { method TransistorElm (line 10) | TransistorElm(int xx, int yy, boolean pnpflag) { method TransistorElm (line 16) | public TransistorElm(int xa, int ya, int xb, int yb, int f, method setup (line 32) | void setup() { method nonLinear (line 37) | boolean nonLinear() { return true; } method reset (line 38) | void reset() { method getDumpType (line 42) | int getDumpType() { return 't'; } method dump (line 43) | String dump() { method draw (line 50) | void draw(Graphics g) { method getPost (line 89) | Point getPost(int n) { method getPostCount (line 93) | int getPostCount() { return 3; } method getPower (line 94) | double getPower() { method setPoints (line 99) | void setPoints() { method limitStep (line 137) | double limitStep(double vnew, double vold) { method stamp (line 157) | void stamp() { method doStep (line 162) | void doStep() { method getInfo (line 226) | void getInfo(String arr[]) { method getScopeValue (line 242) | double getScopeValue(int x) { method getScopeUnits (line 253) | String getScopeUnits(int x) { method getEditInfo (line 260) | public EditInfo getEditInfo(int n) { method setEditValue (line 271) | public void setEditValue(int n, EditInfo ei) { method canViewInScope (line 284) | boolean canViewInScope() { return true; } FILE: src/TriacElm.java class TriacElm (line 15) | class TriacElm extends CircuitElm { method TriacElm (line 21) | public TriacElm(int xx, int yy) { method TriacElm (line 26) | public TriacElm(int xa, int ya, int xb, int yb, int f, method setDefaults (line 43) | void setDefaults() { method setup (line 48) | void setup() { method nonLinear (line 52) | boolean nonLinear() { return true; } method reset (line 53) | void reset() { method getDumpType (line 58) | int getDumpType() { return 183; } method dump (line 59) | String dump() { method setPoints (line 72) | void setPoints() { method draw (line 103) | void draw(Graphics g) { method getPost (line 137) | Point getPost(int n) { method getPostCount (line 141) | int getPostCount() { return 3; } method getInternalNodeCount (line 142) | int getInternalNodeCount() { return 1; } method getPower (line 143) | double getPower() { method stamp (line 148) | void stamp() { method doStep (line 157) | void doStep() { method getInfo (line 173) | void getInfo(String arr[]) { method calculateCurrent (line 184) | void calculateCurrent() { method getEditInfo (line 189) | public EditInfo getEditInfo(int n) { method setEditValue (line 199) | public void setEditValue(int n, EditInfo ei) { FILE: src/TriodeElm.java class TriodeElm (line 4) | class TriodeElm extends CircuitElm { method TriodeElm (line 8) | public TriodeElm(int xx, int yy) { method TriodeElm (line 14) | public TriodeElm(int xa, int ya, int xb, int yb, int f, method setup (line 21) | void setup() { method nonLinear (line 24) | boolean nonLinear() { return true; } method reset (line 25) | void reset() { method dump (line 29) | String dump() { method getDumpType (line 32) | int getDumpType() { return 173; } method setPoints (line 36) | void setPoints() { method draw (line 65) | void draw(Graphics g) { method getPost (line 97) | Point getPost(int n) { method getPostCount (line 100) | int getPostCount() { return 3; } method getPower (line 101) | double getPower() { return (volts[0]-volts[2])*current; } method doStep (line 104) | void doStep() { method stamp (line 166) | void stamp() { method getInfo (line 171) | void getInfo(String arr[]) { method getConnection (line 181) | boolean getConnection(int n1, int n2) { return !(n1 == 1 || n2 == 1); } FILE: src/TunnelDiodeElm.java class TunnelDiodeElm (line 4) | class TunnelDiodeElm extends CircuitElm { method TunnelDiodeElm (line 5) | public TunnelDiodeElm(int xx, int yy) { method TunnelDiodeElm (line 9) | public TunnelDiodeElm(int xa, int ya, int xb, int yb, int f, method nonLinear (line 14) | boolean nonLinear() { return true; } method setup (line 15) | void setup() { method getDumpType (line 17) | int getDumpType() { return 175; } method setPoints (line 23) | void setPoints() { method draw (line 34) | void draw(Graphics g) { method reset (line 57) | void reset() { method limitStep (line 62) | double limitStep(double vnew, double vold) { method stamp (line 71) | void stamp() { method doStep (line 81) | void doStep() { method calculateCurrent (line 101) | void calculateCurrent() { method getInfo (line 107) | void getInfo(String arr[]) { FILE: src/VCOElm.java class VCOElm (line 4) | class VCOElm extends ChipElm { method VCOElm (line 5) | public VCOElm(int xx, int yy) { super(xx, yy); } method VCOElm (line 6) | public VCOElm(int xa, int ya, int xb, int yb, int f, method getChipName (line 10) | String getChipName() { return "VCO"; } method setupPins (line 11) | void setupPins() { method nonLinear (line 25) | boolean nonLinear() { return true; } method stamp (line 26) | void stamp() { method doStep (line 42) | void doStep() { method computeCurrent (line 71) | void computeCurrent() { method draw (line 80) | void draw(Graphics g) { method getPostCount (line 84) | int getPostCount() { return 6; } method getVoltageSourceCount (line 85) | int getVoltageSourceCount() { return 3; } method getDumpType (line 86) | int getDumpType() { return 158; } FILE: src/VarRailElm.java class VarRailElm (line 4) | class VarRailElm extends RailElm { method VarRailElm (line 8) | public VarRailElm(int xx, int yy) { method VarRailElm (line 14) | public VarRailElm(int xa, int ya, int xb, int yb, int f, method dump (line 22) | String dump() { method getDumpType (line 25) | int getDumpType() { return 172; } method createSlider (line 26) | void createSlider() { method getVoltage (line 33) | double getVoltage() { method delete (line 37) | void delete() { method getEditInfo (line 41) | public EditInfo getEditInfo(int n) { method setEditValue (line 53) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 63) | int getShortcut() { return 0; } FILE: src/VoltageElm.java class VoltageElm (line 4) | class VoltageElm extends CircuitElm { method VoltageElm (line 16) | VoltageElm(int xx, int yy, int wf) { method VoltageElm (line 24) | public VoltageElm(int xa, int ya, int xb, int yb, int f, method getDumpType (line 46) | int getDumpType() { return 'v'; } method dump (line 47) | String dump() { method reset (line 57) | void reset() { method triangleFunc (line 61) | double triangleFunc(double x) { method stamp (line 66) | void stamp() { method doStep (line 73) | void doStep() { method getVoltage (line 78) | double getVoltage() { method setPoints (line 96) | void setPoints() { method draw (line 100) | void draw(Graphics g) { method drawWaveform (line 130) | void drawWaveform(Graphics g, Point center) { method getVoltageSourceCount (line 195) | int getVoltageSourceCount() { method getPower (line 198) | double getPower() { return -getVoltageDiff()*current; } method getVoltageDiff (line 199) | double getVoltageDiff() { return volts[1] - volts[0]; } method getInfo (line 200) | void getInfo(String arr[]) { method getEditInfo (line 225) | public EditInfo getEditInfo(int n) { method setEditValue (line 255) | public void setEditValue(int n, EditInfo ei) { FILE: src/WireElm.java class WireElm (line 4) | class WireElm extends ResistorElm { method WireElm (line 7) | public WireElm(int xx, int yy) { super(xx, yy); resistance = defaultRe... method WireElm (line 8) | public WireElm(int xa, int ya, int xb, int yb, int f, method draw (line 15) | void draw(Graphics g) { method calculateCurrent (line 30) | void calculateCurrent() { method stamp (line 35) | void stamp() { method mustShowCurrent (line 42) | boolean mustShowCurrent() { method mustShowVoltage (line 45) | boolean mustShowVoltage() { method getVoltageSourceCount (line 48) | int getVoltageSourceCount() { method getInfo (line 55) | void getInfo(String arr[]) { method getPower (line 60) | double getPower() { method getVoltageDiff (line 67) | double getVoltageDiff() { method isWire (line 74) | boolean isWire() { method getEditInfo (line 77) | public EditInfo getEditInfo(int n) { method setEditValue (line 90) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 104) | int getShortcut() { return 'w'; } method getDumpType (line 105) | int getDumpType() { return 'w'; } method dump (line 106) | String dump() { FILE: src/XorGateElm.java class XorGateElm (line 4) | class XorGateElm extends OrGateElm { method XorGateElm (line 5) | public XorGateElm(int xx, int yy) { super(xx, yy); } method XorGateElm (line 6) | public XorGateElm(int xa, int ya, int xb, int yb, int f, method getGateName (line 10) | String getGateName() { return "XOR gate"; } method calcFunction (line 11) | boolean calcFunction() { method getDumpType (line 18) | int getDumpType() { return 154; } method getShortcut (line 19) | int getShortcut() { return '4'; } FILE: src/ZenerElm.java class ZenerElm (line 6) | class ZenerElm extends DiodeElm { method ZenerElm (line 7) | public ZenerElm(int xx, int yy) { method ZenerElm (line 12) | public ZenerElm(int xa, int ya, int xb, int yb, int f, method setup (line 18) | void setup() { method getDumpType (line 22) | int getDumpType() { return 'z'; } method dump (line 23) | String dump() { method setPoints (line 32) | void setPoints() { method draw (line 45) | void draw(Graphics g) { method getInfo (line 72) | void getInfo(String arr[]) { method getEditInfo (line 77) | public EditInfo getEditInfo(int n) { method setEditValue (line 84) | public void setEditValue(int n, EditInfo ei) { method getShortcut (line 91) | int getShortcut() { return 0; }