|
||||||||||
| 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,
boolean widthOnX)
Constructor creates a PrimitiveNodeSize with a given size. |
|
| Method Summary | |
|---|---|
double |
getDoubleAlongX()
Method to get correct value along X axis. |
double |
getDoubleAlongY()
Method to get correct value along Y axis. |
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.String |
getLengthInString()
Method to return the actual length of the element based on the object used to store the information. |
java.lang.Object |
getWidth()
Method to return the width of this TransistorSize. |
java.lang.String |
getWidthInString()
Method to return the actual width of the element based on the object used to store the information. |
| 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,
boolean widthOnX)
width - the width of the PrimitiveNodeSize.length - the length of the PrimitiveNodeSize.widthOnX - | Method Detail |
|---|
public java.lang.Object getWidth()
public java.lang.Object getLength()
public double getDoubleWidth()
public double getDoubleLength()
public double getDoubleAlongX()
public double getDoubleAlongY()
public java.lang.String getWidthInString()
public java.lang.String getLengthInString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||