algoanim.primitives.vhdl
Class TFlipflop

java.lang.Object
  extended by algoanim.primitives.Primitive
      extended by algoanim.primitives.vhdl.VHDLElement
          extended by algoanim.primitives.vhdl.TFlipflop

public class TFlipflop
extends VHDLElement

Represents a T flipflopgate defined by an upper left corner and its width.

Version:
0.2 20110218
Author:
Guido Roessling (roessling@acm.org)

Field Summary
 
Fields inherited from class algoanim.primitives.vhdl.VHDLElement
generator, height, pins, properties, upperLeft, width
 
Fields inherited from class algoanim.primitives.Primitive
gen
 
Constructor Summary
TFlipflop(VHDLElementGenerator sg, Node upperLeftCorner, int theWidth, int theHeight, java.lang.String name, java.util.List<VHDLPin> definedPins, DisplayOptions display, VHDLElementProperties sp)
          Instantiates the TFlipflop and calls the create() method of the associated VHDLElementGenerator.
 
Method Summary
 
Methods inherited from class algoanim.primitives.vhdl.VHDLElement
getHeight, getPins, getProperties, getUpperLeft, getWidth, setName
 
Methods inherited from class algoanim.primitives.Primitive
changeColor, exchange, getDisplayOptions, getName, hide, hide, moveBy, moveTo, moveVia, rotate, rotate, show, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TFlipflop

public TFlipflop(VHDLElementGenerator sg,
                 Node upperLeftCorner,
                 int theWidth,
                 int theHeight,
                 java.lang.String name,
                 java.util.List<VHDLPin> definedPins,
                 DisplayOptions display,
                 VHDLElementProperties sp)
          throws java.lang.IllegalArgumentException
Instantiates the TFlipflop and calls the create() method of the associated VHDLElementGenerator.

Parameters:
sg - the appropriate code Generator.
upperLeftCorner - the upper left corner of this VHDL element.
theWidth - the width of this VHDL element.
theHeight - the height of this VHDL element
name - the name of this VHDL element.
definedPins - the list of VHDL pins (in, out, control, or bidirectional)
display - [optional] the DisplayOptions of this VHDL element.
sp - [optional] the properties of this VHDL element.
Throws:
java.lang.IllegalArgumentException