algoanim.primitives.vhdl
Class VHDLWire

java.lang.Object
  extended by algoanim.primitives.Primitive
      extended by algoanim.primitives.vhdl.VHDLWire

public class VHDLWire
extends Primitive

Represents a wire defined by a sequence of nodes.

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

Field Summary
 
Fields inherited from class algoanim.primitives.Primitive
gen
 
Constructor Summary
VHDLWire(VHDLWireGenerator sg, java.util.List<Node> wireNodes, int displaySpeed, java.lang.String name, DisplayOptions display, VHDLWireProperties sp)
          Instantiates the VHDLWire and calls the create() method of the associated VHDLElementGenerator.
 
Method Summary
 int getDisplaySpeed()
           
 java.util.List<Node> getNodes()
           
 VHDLWireProperties getProperties()
           
 
Methods inherited from class algoanim.primitives.Primitive
changeColor, exchange, getDisplayOptions, getName, hide, hide, moveBy, moveTo, moveVia, rotate, rotate, setName, show, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VHDLWire

public VHDLWire(VHDLWireGenerator sg,
                java.util.List<Node> wireNodes,
                int displaySpeed,
                java.lang.String name,
                DisplayOptions display,
                VHDLWireProperties sp)
         throws java.lang.IllegalArgumentException
Instantiates the VHDLWire and calls the create() method of the associated VHDLElementGenerator.

Parameters:
sg - the appropriate code Generator.
wireNodes - the nodes of this VHDL element.
displaySpeed - the speed of displaying this VHDL element.
name - the name of this VHDL element.
display - [optional] the DisplayOptions of this VHDL element.
sp - [optional] the properties of this VHDL element.
Throws:
java.lang.IllegalArgumentException
Method Detail

getNodes

public java.util.List<Node> getNodes()

getDisplaySpeed

public int getDisplaySpeed()

getProperties

public VHDLWireProperties getProperties()