|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.Primitive
algoanim.primitives.vhdl.VHDLElement
public abstract class VHDLElement
| Field Summary | |
|---|---|
protected VHDLElementGenerator |
generator
|
protected int |
height
|
protected java.util.List<VHDLPin> |
pins
|
protected VHDLElementProperties |
properties
|
protected Node |
upperLeft
|
protected int |
width
|
| Fields inherited from class algoanim.primitives.Primitive |
|---|
gen |
| Constructor Summary | |
|---|---|
VHDLElement(VHDLElementGenerator sg,
Node upperLeftCorner,
int theWidth,
int theHeight,
java.lang.String name,
java.util.List<VHDLPin> definedPins,
DisplayOptions display,
VHDLElementProperties sp)
Instantiates the Square and calls the create() method of the
associated SquareGenerator. |
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the height of this AND gate. |
java.util.List<VHDLPin> |
getPins()
|
VHDLElementProperties |
getProperties()
Returns the properties of this AND gate. |
Node |
getUpperLeft()
Returns the upper left corner of this AND gate. |
int |
getWidth()
Returns the width of this AND gate. |
void |
setName(java.lang.String newName)
Sets the name of this Primitive. |
| 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 |
| Field Detail |
|---|
protected VHDLElementGenerator generator
protected int height
protected java.util.List<VHDLPin> pins
protected VHDLElementProperties properties
protected int width
protected Node upperLeft
| Constructor Detail |
|---|
public VHDLElement(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
Square and calls the create() method of the
associated SquareGenerator.
sg - the appropriate code Generator.upperLeftCorner - the upper left corner of this Square.theWidth - the width of this Square.name - the name of this Square.display - [optional] the DisplayOptions of this
Square.sp - [optional] the properties of this Square.
java.lang.IllegalArgumentException| Method Detail |
|---|
public int getHeight()
AND gate.
AND gate.public VHDLElementProperties getProperties()
AND gate.
AND gate.public Node getUpperLeft()
AND gate.
AND gate.public int getWidth()
AND gate.
AND gate.public void setName(java.lang.String newName)
PrimitivePrimitive.
setName in class PrimitivenewName - the new name for this Primitive.Primitive.setName(java.lang.String)public java.util.List<VHDLPin> getPins()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||