|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.tool.ncc.netlist.NetObject
com.sun.electric.tool.ncc.netlist.Part
com.sun.electric.tool.ncc.netlist.Resistor
public class Resistor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.electric.tool.ncc.netlist.NetObject |
|---|
NetObject.Type |
| Field Summary |
|---|
| Fields inherited from class com.sun.electric.tool.ncc.netlist.Part |
|---|
pins, TYPE_FIELD_WIDTH |
| Constructor Summary | |
|---|---|
Resistor(PrimitiveNode.Function type,
NccNameProxy.PartNameProxy name,
double width,
double length,
Wire w1,
Wire w2)
|
|
| Method Summary | |
|---|---|
void |
connect(Wire ss,
Wire ee)
|
java.lang.String |
connectionDescription(int n)
human readable description of things connected this NetObject |
java.lang.String |
connectionDescription(Wire w)
comma separated list of pins connected to w |
double |
getLength()
|
int[] |
getPinCoeffs()
Here is an accessor method for the coefficient array for this Part. |
PinType |
getPinTypeOfNthPin(int n)
|
double |
getWidth()
|
java.lang.Integer |
hashCodeForParallelMerge()
Compute a hash code for this part for the purpose of performing parallel merge. |
boolean |
parallelMerge(Part p,
NccOptions nccOpt)
Never perform series/parallel combination of resistors. |
int |
typeCode()
returns a unique int value for each distinct Part type |
java.lang.String |
typeString()
returns String describing Part's type |
java.lang.String |
valueDescription()
Report the numeric values of this Part, for example: width, length, resistance. |
| Methods inherited from class com.sun.electric.tool.ncc.netlist.Part |
|---|
checkMe, computeHashCode, getConnected, getHashFor, getName, getNameProxy, getNetObjType, instanceDescription, isDeleted, isMos, isResistor, numDistinctWires, numPins, numPinsConnected, setDeleted, type |
| Methods inherited from class com.sun.electric.tool.ncc.netlist.NetObject |
|---|
error, fullDescription, getCode, getParent, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.electric.tool.ncc.result.NetObjReport.NetObjReportable |
|---|
fullDescription |
| Constructor Detail |
|---|
public Resistor(PrimitiveNode.Function type,
NccNameProxy.PartNameProxy name,
double width,
double length,
Wire w1,
Wire w2)
| Method Detail |
|---|
public int[] getPinCoeffs()
Part
getPinCoeffs in class Partpublic java.lang.String valueDescription()
Part
valueDescription in class Partpublic java.lang.Integer hashCodeForParallelMerge()
Part
hashCodeForParallelMerge in class Partpublic double getWidth()
getWidth in interface PartReport.PartReportablegetWidth in class Partpublic double getLength()
getLength in interface PartReport.PartReportablegetLength in class Part
public void connect(Wire ss,
Wire ee)
public boolean parallelMerge(Part p,
NccOptions nccOpt)
parallelMerge in class Partp - the other Part with which to mergenccOpt - NccOptions. Used for size tolerance specification.
public int typeCode()
Part
typeCode in class Partpublic PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin in class Partpublic java.lang.String typeString()
Part
typeString in interface PartReport.PartReportabletypeString in class Partpublic java.lang.String connectionDescription(int n)
NetObject
connectionDescription in class NetObjectpublic java.lang.String connectionDescription(Wire w)
Part
connectionDescription in class Part
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||