All Packages Class Hierarchy This Package Previous Next Index
Class crw.circuit.symbol.Passive
java.lang.Object
|
+----crw.circuit.symbol.CktElement
|
+----crw.circuit.symbol.Symbol
|
+----crw.circuit.symbol.TwoTerm
|
+----crw.circuit.symbol.Passive
- public abstract class Passive
- extends TwoTerm
Class to represent Passive circuit sdymbols incl. R, C, and L.
- Version:
- 1.0
- Author:
- C.Wie
-
Passive(int, int, int, int)
- Constructor is supplied with the bounding rectangle.
-
drawValue(Graphics)
- Draws value at BELOW (if hori) or at RHS (if vertical)
-
setValue(String)
- Sets a new value to the passive element.
Passive
protected Passive(int x,
int y,
int w,
int h)
- Constructor is supplied with the bounding rectangle.
drawValue
public void drawValue(Graphics g)
- Draws value at BELOW (if hori) or at RHS (if vertical)
- Overrides:
- drawValue in class TwoTerm
setValue
public void setValue(String value)
- Sets a new value to the passive element.
All Packages Class Hierarchy This Package Previous Next Index