All Packages Class Hierarchy This Package Previous Next Index
Class jschem.txtElement
java.lang.Object
|
+----jschem.electricElement
|
+----jschem.txtElement
- public class txtElement
- extends electricElement
-
txtElement(int, int, int, int)
-
-
paint(Graphics)
-
Can be called to allow the elements to draw them themselves.
-
toString(int)
-
Gives a SPICE line for a given instance number.
txtElement
public txtElement(int x,
int y,
int gr,
int r)
toString
public String toString(int inst)
- Gives a SPICE line for a given instance number.
- Overrides:
- toString in class electricElement
paint
public void paint(Graphics g)
- Can be called to allow the elements to draw them themselves.
It draws the shapes in green, connected pins blue and unconnected
pins in red. Additionally the net names of the pins (if available)
are printed.
- Parameters:
- g - Graphics context to draw to
- Overrides:
- paint in class electricElement
All Packages Class Hierarchy This Package Previous Next Index