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

java.lang.Object
  extended by org.jscience.physics.electricity.circuitry.CircuitElement
      extended by org.jscience.physics.electricity.circuitry.elements.GateElement
          extended by org.jscience.physics.electricity.circuitry.elements.AndGateElement
              extended by org.jscience.physics.electricity.circuitry.elements.NandGateElement

public class NandGateElement
extends AndGateElement

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.physics.electricity.circuitry.elements.GateElement
FLAG_SMALL, gheight, gsize, gwidth, gwidth2, inGates, inPosts, inputCount, lastOutput, linePointsX, linePointsY, outnx, outny, outpx, outpy, pcirclex, pcircley, triPointsX, triPointsY
 
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
NandGateElement(int xx, int yy)
          Creates a new NandGateElement object.
NandGateElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new NandGateElement object.
 
Method Summary
 int getDumpType()
          DOCUMENT ME!
 java.lang.String getGateName()
          DOCUMENT ME!
 boolean isInverting()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.AndGateElement
calcFunction, setPoints
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.GateElement
doStep, draw, dump, getConnection, getEditInfo, getInfo, getInput, getPost, getPostCount, getVoltageSourceCount, hasGroundConnection, setEditValue, setSize, stamp
 
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, getPower, getScopeUnits, getScopeValue, getVoltageDiff, 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
 

Constructor Detail

NandGateElement

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

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

NandGateElement

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

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

isInverting

public boolean isInverting()
DOCUMENT ME!

Overrides:
isInverting in class GateElement
Returns:
DOCUMENT ME!

getGateName

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

Overrides:
getGateName in class AndGateElement
Returns:
DOCUMENT ME!

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class AndGateElement
Returns:
DOCUMENT ME!