|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.technology.PrimitiveNodeSize
public class PrimitiveNodeSize
Holds the Width and Length of a PrimitiveNode that is a transistor. This holds the width, length, and area as objects, because the width and length, may be specified as strings if they are java code, or just numbers.
Field Summary | |
---|---|
protected java.lang.Object |
length
|
protected java.lang.Object |
width
|
Constructor Summary | |
---|---|
PrimitiveNodeSize(java.lang.Object width,
java.lang.Object length)
Constructor creates a PrimitiveNodeSize with a given size. |
Method Summary | |
---|---|
double |
getDoubleLength()
Gets the length *ONLY IF* the length can be converted to a double. |
double |
getDoubleWidth()
Gets the width *ONLY IF* the width can be converted to a double. |
java.lang.Object |
getLength()
Method to return the length of this TransistorSize. |
java.lang.Object |
getWidth()
Method to return the width of this TransistorSize. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.Object width
protected final java.lang.Object length
Constructor Detail |
---|
public PrimitiveNodeSize(java.lang.Object width, java.lang.Object length)
width
- the width of the PrimitiveNodeSize.length
- the length of the PrimitiveNodeSize.Method Detail |
---|
public java.lang.Object getWidth()
public java.lang.Object getLength()
public double getDoubleWidth()
public double getDoubleLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |