org.jscience.physics.electricity.circuitry.elements
Class VCOElement

java.lang.Object
  extended by org.jscience.physics.electricity.circuitry.CircuitElement
      extended by org.jscience.physics.electricity.circuitry.elements.ChipElement
          extended by org.jscience.physics.electricity.circuitry.elements.VCOElement

public class VCOElement
extends ChipElement

DOCUMENT ME!


Field Summary
 double cCurrent
          DOCUMENT ME!
 int cDir
          DOCUMENT ME!
 double cResistance
          DOCUMENT ME!
 
Fields inherited from class org.jscience.physics.electricity.circuitry.elements.ChipElement
bits, clockPointsX, clockPointsY, csize, cspc, cspc2, FLAG_SMALL, lastClock, pins, rectPointsX, rectPointsY, SIDE_E, SIDE_N, SIDE_S, SIDE_W, sizeX, sizeY
 
Fields inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
boundingBox, circuitFrame, curcount, current, flags, nodes, noDiagonal, volts, voltSource, x, x2, y, y2
 
Constructor Summary
VCOElement(int xx, int yy)
          Creates a new VCOElement object.
VCOElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new VCOElement object.
 
Method Summary
 void computeCurrent()
          DOCUMENT ME!
 void doStep()
          DOCUMENT ME!
 void draw(java.awt.Graphics g)
          DOCUMENT ME!
 java.lang.String getChipName()
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 int getPostCount()
          DOCUMENT ME!
 int getVoltageSourceCount()
          DOCUMENT ME!
 boolean nonLinear()
          DOCUMENT ME!
 void setupPins()
          DOCUMENT ME!
 void stamp()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.ChipElement
drag, drawChip, dump, execute, getConnection, getInfo, getPost, hasGroundConnection, needsBits, reset, setCurrent, setPoints, setSize, setVoltageSource
 
Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
adjustBbox, allocNodes, calculateCurrent, canViewInScope, doAdjust, doDots, drawPost, drawPost, drawPosts, drawValues, getBasicInfo, getCircuitFrame, getCurrent, getDumpClass, getEditInfo, getInternalNodeCount, getNode, getPower, getScopeUnits, getScopeValue, getVoltageDiff, getVoltageSource, isWire, move, movePoint, setBbox, setCircuitFrame, setEditValue, setNode, setNodeVoltage, setPowerColor, setPowerColor, setupAdjust, setVoltageColor, startIteration, updateDotCount, updateDotCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cResistance

public final double cResistance
DOCUMENT ME!

See Also:
Constant Field Values

cCurrent

public double cCurrent
DOCUMENT ME!


cDir

public int cDir
DOCUMENT ME!

Constructor Detail

VCOElement

public VCOElement(int xx,
                  int yy)
Creates a new VCOElement object.

Parameters:
xx - DOCUMENT ME!
yy - DOCUMENT ME!

VCOElement

public VCOElement(int xa,
                  int ya,
                  int xb,
                  int yb,
                  int f,
                  java.util.StringTokenizer st)
Creates a new VCOElement object.

Parameters:
xa - DOCUMENT ME!
ya - DOCUMENT ME!
xb - DOCUMENT ME!
yb - DOCUMENT ME!
f - DOCUMENT ME!
st - DOCUMENT ME!
Method Detail

getChipName

public java.lang.String getChipName()
DOCUMENT ME!

Overrides:
getChipName in class ChipElement
Returns:
DOCUMENT ME!

setupPins

public void setupPins()
DOCUMENT ME!

Specified by:
setupPins in class ChipElement

nonLinear

public boolean nonLinear()
DOCUMENT ME!

Overrides:
nonLinear in class CircuitElement
Returns:
DOCUMENT ME!

stamp

public void stamp()
DOCUMENT ME!

Overrides:
stamp in class ChipElement

doStep

public void doStep()
DOCUMENT ME!

Overrides:
doStep in class ChipElement

computeCurrent

public void computeCurrent()
DOCUMENT ME!


draw

public void draw(java.awt.Graphics g)
DOCUMENT ME!

Overrides:
draw in class ChipElement
Parameters:
g - DOCUMENT ME!

getPostCount

public int getPostCount()
DOCUMENT ME!

Overrides:
getPostCount in class CircuitElement
Returns:
DOCUMENT ME!

getVoltageSourceCount

public int getVoltageSourceCount()
DOCUMENT ME!

Specified by:
getVoltageSourceCount in class ChipElement
Returns:
DOCUMENT ME!

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class CircuitElement
Returns:
DOCUMENT ME!