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

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.TimerElement

public class TimerElement
extends ChipElement

DOCUMENT ME!


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

Field Detail

out

public boolean out
DOCUMENT ME!

Constructor Detail

TimerElement

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

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

TimerElement

public TimerElement(int xa,
                    int ya,
                    int xb,
                    int yb,
                    int f,
                    java.util.StringTokenizer st)
Creates a new TimerElement 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

nonLinear

public boolean nonLinear()
DOCUMENT ME!

Overrides:
nonLinear in class CircuitElement
Returns:
DOCUMENT ME!

stamp

public void stamp()
DOCUMENT ME!

Overrides:
stamp in class ChipElement

calculateCurrent

public void calculateCurrent()
DOCUMENT ME!

Overrides:
calculateCurrent in class CircuitElement

startIteration

public void startIteration()
DOCUMENT ME!

Overrides:
startIteration in class CircuitElement

doStep

public void doStep()
DOCUMENT ME!

Overrides:
doStep 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!

getDumpType

public int getDumpType()
DOCUMENT ME!

Overrides:
getDumpType in class CircuitElement
Returns:
DOCUMENT ME!