algoanim.primitives.vhdl
Class XNorGate

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

public class XNorGate
extends VHDLElement

Represents a XNOR gate 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
XNorGate(VHDLElementGenerator sg, Node upperLeftCorner, int theWidth, int theHeight, java.lang.String name, java.util.List<VHDLPin> definedPins, DisplayOptions display, VHDLElementProperties sp)
          Instantiates the XNorGate 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

XNorGate

public XNorGate(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 XNorGate 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