All Packages Class Hierarchy This Package Previous Next Index
Class crw.circuit.symbol.ResistorSymbol
java.lang.Object
|
+----crw.circuit.symbol.CktElement
|
+----crw.circuit.symbol.Symbol
|
+----crw.circuit.symbol.TwoTerm
|
+----crw.circuit.symbol.Passive
|
+----crw.circuit.symbol.ResistorSymbol
- public class ResistorSymbol
- extends Passive
Class to draw and do useful stuff for Resistor symbol in a
circuit diagram.
- Version:
- 1.0
- Author:
- C.Wie
-
total
-
-
ResistorSymbol(int, int, int, int)
- Constructor is supplied with the bounding rectangle.
-
draw(Graphics)
- Draws the resistor symbol.
total
public static int total
ResistorSymbol
public ResistorSymbol(int x,
int y,
int w,
int h)
- Constructor is supplied with the bounding rectangle.
draw
public void draw(Graphics g)
- Draws the resistor symbol.
- Overrides:
- draw in class CktElement
All Packages Class Hierarchy This Package Previous Next Index