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

Constructor Index

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

Method Index

 o drawValue(Graphics)
Draws value at BELOW (if hori) or at RHS (if vertical)
 o setValue(String)
Sets a new value to the passive element.

Constructors

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

Methods

 o drawValue
 public void drawValue(Graphics g)
Draws value at BELOW (if hori) or at RHS (if vertical)

Overrides:
drawValue in class TwoTerm
 o setValue
 public void setValue(String value)
Sets a new value to the passive element.


All Packages  Class Hierarchy  This Package  Previous  Next  Index