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

java.lang.Object
  extended by org.jscience.physics.electricity.circuitry.CircuitElement
      extended by org.jscience.physics.electricity.circuitry.elements.MosfetElement
          extended by org.jscience.physics.electricity.circuitry.elements.JfetElement
Direct Known Subclasses:
NJfetElement

public class JfetElement
extends MosfetElement

DOCUMENT ME!


Field Summary
 int[] arrowPointsX
          DOCUMENT ME!
 int[] arrowPointsY
          DOCUMENT ME!
 int drn_gx
          DOCUMENT ME!
 int drn_gy
          DOCUMENT ME!
 int gategx
          DOCUMENT ME!
 int gategy
          DOCUMENT ME!
 int gaterh
          DOCUMENT ME!
 int gaterw
          DOCUMENT ME!
 int gaterx
          DOCUMENT ME!
 int gatery
          DOCUMENT ME!
 int src_gx
          DOCUMENT ME!
 int src_gy
          DOCUMENT ME!
 
Fields inherited from class org.jscience.physics.electricity.circuitry.elements.MosfetElement
drn_mx, drn_my, drn_px, drn_py, FLAG_PNP, gate1x, gate1y, gate2x, gate2y, gate3x, gate3y, gm, ids, lastv1, lastv2, mode, pcircler, pcirclex, pcircley, pnp, src_mx, src_my, src_px, src_py
 
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
JfetElement(int xx, int yy, boolean pnpflag)
          Creates a new JfetElement object.
JfetElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new JfetElement object.
 
Method Summary
 void draw(java.awt.Graphics g)
          DOCUMENT ME!
 double getBeta()
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 void getInfo(java.lang.String[] arr)
          DOCUMENT ME!
 double getThreshold()
          DOCUMENT ME!
 void setPoints()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.MosfetElement
canViewInScope, doStep, getConnection, getCurrent, getFetInfo, getPost, getPostCount, getPower, getVoltageDiff, nonLinear, reset, stamp
 
Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
adjustBbox, allocNodes, calculateCurrent, doAdjust, doDots, drag, drawPost, drawPost, drawPosts, drawValues, dump, getBasicInfo, getCircuitFrame, getDumpClass, getEditInfo, getInternalNodeCount, getNode, getScopeUnits, getScopeValue, getVoltageSource, getVoltageSourceCount, hasGroundConnection, isWire, move, movePoint, setBbox, setCircuitFrame, setCurrent, setEditValue, 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

src_gx

public int src_gx
DOCUMENT ME!


src_gy

public int src_gy
DOCUMENT ME!


drn_gx

public int drn_gx
DOCUMENT ME!


drn_gy

public int drn_gy
DOCUMENT ME!


gategx

public int gategx
DOCUMENT ME!


gategy

public int gategy
DOCUMENT ME!


gaterx

public int gaterx
DOCUMENT ME!


gatery

public int gatery
DOCUMENT ME!


gaterw

public int gaterw
DOCUMENT ME!


gaterh

public int gaterh
DOCUMENT ME!


arrowPointsX

public int[] arrowPointsX
DOCUMENT ME!


arrowPointsY

public int[] arrowPointsY
DOCUMENT ME!

Constructor Detail

JfetElement

public JfetElement(int xx,
                   int yy,
                   boolean pnpflag)
Creates a new JfetElement object.

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

JfetElement

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

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

draw

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

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

setPoints

public void setPoints()
DOCUMENT ME!

Overrides:
setPoints in class MosfetElement

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class MosfetElement
Returns:
DOCUMENT ME!

getThreshold

public double getThreshold()
DOCUMENT ME!

Overrides:
getThreshold in class MosfetElement
Returns:
DOCUMENT ME!

getBeta

public double getBeta()
DOCUMENT ME!

Overrides:
getBeta in class MosfetElement
Returns:
DOCUMENT ME!

getInfo

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

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