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

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

public class LEDElement
extends DiodeElement

DOCUMENT ME!


Field Summary
 double colorB
          DOCUMENT ME!
 double colorG
          DOCUMENT ME!
 double colorR
          DOCUMENT ME!
 
Fields inherited from class org.jscience.physics.electricity.circuitry.elements.DiodeElement
lastvoltdiff, leakage, vcrit, vdcoef, vt
 
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
LEDElement(int xx, int yy)
          Creates a new LEDElement object.
LEDElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new LEDElement object.
 
Method Summary
 void draw(java.awt.Graphics g)
          DOCUMENT ME!
 java.lang.String dump()
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 void getInfo(java.lang.String[] arr)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.DiodeElement
calculateCurrent, doStep, drawDiode, limitStep, nonLinear, reset, setup, stamp
 
Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
adjustBbox, allocNodes, canViewInScope, doAdjust, doDots, drag, drawPost, drawPost, drawPosts, drawValues, getBasicInfo, getCircuitFrame, getConnection, getCurrent, getDumpClass, getEditInfo, getInternalNodeCount, getNode, getPost, getPostCount, getPower, getScopeUnits, getScopeValue, getVoltageDiff, getVoltageSource, getVoltageSourceCount, hasGroundConnection, isWire, move, movePoint, setBbox, setCircuitFrame, setCurrent, setEditValue, setNode, setNodeVoltage, setPoints, 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

colorR

public double colorR
DOCUMENT ME!


colorG

public double colorG
DOCUMENT ME!


colorB

public double colorB
DOCUMENT ME!

Constructor Detail

LEDElement

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

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

LEDElement

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

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

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class DiodeElement
Returns:
DOCUMENT ME!

dump

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

Overrides:
dump in class CircuitElement
Returns:
DOCUMENT ME!

draw

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

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

getInfo

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

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