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

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

public class InverterElement
extends CircuitElement

DOCUMENT ME!


Field Summary
 int in_nx
          DOCUMENT ME!
 int in_ny
          DOCUMENT ME!
 int outnx
          DOCUMENT ME!
 int outny
          DOCUMENT ME!
 int pcirclex
          DOCUMENT ME!
 int pcircley
          DOCUMENT ME!
 double slewRate
          DOCUMENT ME!
 int[] triPointsX
          DOCUMENT ME!
 int[] triPointsY
          DOCUMENT ME!
 
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
InverterElement(int xx, int yy)
          Creates a new InverterElement object.
InverterElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new InverterElement object.
 
Method Summary
 void doStep()
          DOCUMENT ME!
 void draw(java.awt.Graphics g)
          DOCUMENT ME!
 java.lang.String dump()
          DOCUMENT ME!
 boolean getConnection(int n1, int n2)
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 EditInfo getEditInfo(int n)
          DOCUMENT ME!
 void getInfo(java.lang.String[] arr)
          DOCUMENT ME!
 double getVoltageDiff()
          DOCUMENT ME!
 int getVoltageSourceCount()
          DOCUMENT ME!
 boolean hasGroundConnection(int n1)
          DOCUMENT ME!
 void setEditValue(int n, EditInfo ei)
          DOCUMENT ME!
 void setPoints()
          DOCUMENT ME!
 void stamp()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
adjustBbox, allocNodes, calculateCurrent, canViewInScope, doAdjust, doDots, drag, drawPost, drawPost, drawPosts, drawValues, getBasicInfo, getCircuitFrame, getCurrent, getDumpClass, getInternalNodeCount, getNode, getPost, getPostCount, getPower, getScopeUnits, getScopeValue, getVoltageSource, isWire, move, movePoint, nonLinear, reset, setBbox, setCircuitFrame, setCurrent, setNode, setNodeVoltage, setPowerColor, setPowerColor, setupAdjust, setVoltageColor, setVoltageSource, startIteration, updateDotCount, updateDotCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

slewRate

public double slewRate
DOCUMENT ME!


in_nx

public int in_nx
DOCUMENT ME!


in_ny

public int in_ny
DOCUMENT ME!


outnx

public int outnx
DOCUMENT ME!


outny

public int outny
DOCUMENT ME!


pcirclex

public int pcirclex
DOCUMENT ME!


pcircley

public int pcircley
DOCUMENT ME!


triPointsX

public int[] triPointsX
DOCUMENT ME!


triPointsY

public int[] triPointsY
DOCUMENT ME!

Constructor Detail

InverterElement

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

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

InverterElement

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

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

dump

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

Overrides:
dump in class CircuitElement
Returns:
DOCUMENT ME!

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class CircuitElement
Returns:
DOCUMENT ME!

draw

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

Specified by:
draw in class CircuitElement
Parameters:
g - DOCUMENT ME!

setPoints

public void setPoints()
DOCUMENT ME!

Overrides:
setPoints in class CircuitElement

getVoltageSourceCount

public int getVoltageSourceCount()
DOCUMENT ME!

Overrides:
getVoltageSourceCount in class CircuitElement
Returns:
DOCUMENT ME!

stamp

public void stamp()
DOCUMENT ME!

Overrides:
stamp in class CircuitElement

doStep

public void doStep()
DOCUMENT ME!

Overrides:
doStep in class CircuitElement

getVoltageDiff

public double getVoltageDiff()
DOCUMENT ME!

Overrides:
getVoltageDiff in class CircuitElement
Returns:
DOCUMENT ME!

getInfo

public void getInfo(java.lang.String[] arr)
DOCUMENT ME!

Overrides:
getInfo in class CircuitElement
Parameters:
arr - DOCUMENT ME!

getEditInfo

public EditInfo getEditInfo(int n)
DOCUMENT ME!

Overrides:
getEditInfo in class CircuitElement
Parameters:
n - DOCUMENT ME!
Returns:
DOCUMENT ME!

setEditValue

public void setEditValue(int n,
                         EditInfo ei)
DOCUMENT ME!

Overrides:
setEditValue in class CircuitElement
Parameters:
n - DOCUMENT ME!
ei - DOCUMENT ME!

getConnection

public boolean getConnection(int n1,
                             int n2)
DOCUMENT ME!

Overrides:
getConnection in class CircuitElement
Parameters:
n1 - DOCUMENT ME!
n2 - DOCUMENT ME!
Returns:
DOCUMENT ME!

hasGroundConnection

public boolean hasGroundConnection(int n1)
DOCUMENT ME!

Overrides:
hasGroundConnection in class CircuitElement
Parameters:
n1 - DOCUMENT ME!
Returns:
DOCUMENT ME!