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

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

public class DFlipFlopElement
extends ChipElement

DOCUMENT ME!


Field Summary
 int FLAG_RESET
          DOCUMENT ME!
 
Fields inherited from class org.jscience.physics.electricity.circuitry.elements.ChipElement
bits, clockPointsX, clockPointsY, csize, cspc, cspc2, FLAG_SMALL, lastClock, pins, rectPointsX, rectPointsY, SIDE_E, SIDE_N, SIDE_S, SIDE_W, sizeX, sizeY
 
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
DFlipFlopElement(int xx, int yy)
          Creates a new DFlipFlopElement object.
DFlipFlopElement(int xa, int ya, int xb, int yb, int f, java.util.StringTokenizer st)
          Creates a new DFlipFlopElement object.
 
Method Summary
 void execute()
          DOCUMENT ME!
 java.lang.String getChipName()
          DOCUMENT ME!
 int getDumpType()
          DOCUMENT ME!
 int getPostCount()
          DOCUMENT ME!
 int getVoltageSourceCount()
          DOCUMENT ME!
 void setupPins()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.electricity.circuitry.elements.ChipElement
doStep, drag, draw, drawChip, dump, getConnection, getInfo, getPost, hasGroundConnection, needsBits, reset, setCurrent, setPoints, setSize, setVoltageSource, stamp
 
Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement
adjustBbox, allocNodes, calculateCurrent, canViewInScope, doAdjust, doDots, drawPost, drawPost, drawPosts, drawValues, getBasicInfo, getCircuitFrame, getCurrent, getDumpClass, getEditInfo, getInternalNodeCount, getNode, getPower, getScopeUnits, getScopeValue, getVoltageDiff, getVoltageSource, isWire, move, movePoint, nonLinear, setBbox, setCircuitFrame, setEditValue, setNode, setNodeVoltage, setPowerColor, setPowerColor, setupAdjust, setVoltageColor, startIteration, updateDotCount, updateDotCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_RESET

public final int FLAG_RESET
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

DFlipFlopElement

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

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

DFlipFlopElement

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

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

getChipName

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

Overrides:
getChipName in class ChipElement
Returns:
DOCUMENT ME!

setupPins

public void setupPins()
DOCUMENT ME!

Specified by:
setupPins in class ChipElement

getPostCount

public int getPostCount()
DOCUMENT ME!

Overrides:
getPostCount in class CircuitElement
Returns:
DOCUMENT ME!

getVoltageSourceCount

public int getVoltageSourceCount()
DOCUMENT ME!

Specified by:
getVoltageSourceCount in class ChipElement
Returns:
DOCUMENT ME!

execute

public void execute()
DOCUMENT ME!

Overrides:
execute in class ChipElement

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class CircuitElement
Returns:
DOCUMENT ME!