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

Variable Index

 o total

Constructor Index

 o ResistorSymbol(int, int, int, int)
Constructor is supplied with the bounding rectangle.

Method Index

 o draw(Graphics)
Draws the resistor symbol.

Variables

 o total
 public static int total

Constructors

 o ResistorSymbol
 public ResistorSymbol(int x,
                       int y,
                       int w,
                       int h)
Constructor is supplied with the bounding rectangle.

Methods

 o draw
 public void draw(Graphics g)
Draws the resistor symbol.

Overrides:
draw in class CktElement

All Packages  Class Hierarchy  This Package  Previous  Next  Index