|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.technology.PrimitiveNodeSize
com.sun.electric.technology.TransistorSize
public class TransistorSize
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 |
|---|
| Fields inherited from class com.sun.electric.technology.PrimitiveNodeSize |
|---|
length, width |
| Constructor Summary | |
|---|---|
TransistorSize(java.lang.Object width,
java.lang.Object length,
java.lang.Object activeLen,
java.lang.Object mFactor,
boolean polyAlignX)
Constructor creates a TransistorSize with a given size. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getActiveLength()
Method to return the length of the active area of this TransistorSize. |
double |
getDoubleActiveLength()
Gets the active length *ONLY IF* the active length can be converted to a double. |
double |
getDoubleArea()
Gets the area *ONLY IF* the width and length can be converted to a double. |
double |
getMFactor()
Gets the m multiplier factor *ONLY IF* the m factor can be converted to a double. |
| Methods inherited from class com.sun.electric.technology.PrimitiveNodeSize |
|---|
getDoubleAlongX, getDoubleAlongY, getDoubleLength, getDoubleWidth, getLength, getLengthInString, getWidth, getWidthInString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransistorSize(java.lang.Object width,
java.lang.Object length,
java.lang.Object activeLen,
java.lang.Object mFactor,
boolean polyAlignX)
width - the width of the TransistorSize.length - the length of the TransistorSize.activeLen - the length of the active area of the TransistorSize.polyAlignX - mFactor - the m multiplier factor. This is only populated for schematics.| Method Detail |
|---|
public java.lang.Object getActiveLength()
public double getDoubleArea()
public double getDoubleActiveLength()
public double getMFactor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||