public static class Sim.Trans extends java.lang.Object implements SimAPI.Trans
Constructor and Description |
---|
Sim.Trans() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
describeBaseType() |
java.lang.String |
describeState() |
int |
getBaseType() |
Sim.Node |
getDrain() |
Sim.Node |
getGate() |
java.util.Collection<SimAPI.Trans> |
getGateList() |
long |
getLength() |
Sim.Trans |
getLink() |
Sim.Node |
getOtherNode(SimAPI.Node n)
figure what's on the *other* terminal node of a transistor
|
double[] |
getResists() |
Sim.Node |
getSource() |
Sim.Trans |
getSTrans() |
long |
getWidth() |
int |
getX() |
int |
getY() |
public Sim.Trans getSTrans()
public int getBaseType()
getBaseType
in interface SimAPI.Trans
public java.lang.String describeBaseType()
describeBaseType
in interface SimAPI.Trans
public java.lang.String describeState()
describeState
in interface SimAPI.Trans
public Sim.Node getGate()
getGate
in interface SimAPI.Trans
public Sim.Node getSource()
getSource
in interface SimAPI.Trans
public Sim.Node getDrain()
getDrain
in interface SimAPI.Trans
public int getX()
getX
in interface SimAPI.Trans
public int getY()
getY
in interface SimAPI.Trans
public double[] getResists()
getResists
in interface SimAPI.Trans
public long getLength()
getLength
in interface SimAPI.Trans
public long getWidth()
getWidth
in interface SimAPI.Trans
public Sim.Node getOtherNode(SimAPI.Node n)
getOtherNode
in interface SimAPI.Trans
public Sim.Trans getLink()
getLink
in interface SimAPI.Trans
public java.util.Collection<SimAPI.Trans> getGateList()
getGateList
in interface SimAPI.Trans