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

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.OrGateElement
              extended by org.jscience.physics.electricity.circuitry.elements.XorGateElement

public class XorGateElement
extends OrGateElement

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
XorGateElement(int xx, int yy)
          Creates a new XorGateElement object.
XorGateElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new XorGateElement object.
 
Method Summary
 boolean calcFunction()
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 java.lang.String getGateName()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.OrGateElement
setPoints
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.GateElement
doStep, draw, dump, getConnection, getEditInfo, getInfo, getInput, getPost, getPostCount, getVoltageSourceCount, hasGroundConnection, isInverting, 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

XorGateElement

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

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

XorGateElement

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

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

getGateName

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

Overrides:
getGateName in class OrGateElement
Returns:
DOCUMENT ME!

calcFunction

public boolean calcFunction()
DOCUMENT ME!

Overrides:
calcFunction in class OrGateElement
Returns:
DOCUMENT ME!

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class OrGateElement
Returns:
DOCUMENT ME!