public class Port extends NetObject implements PortReport.PortReportable
NetObject.Type| Constructor and Description |
|---|
Port(java.lang.String name,
PortCharacteristic type,
Wire w) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExport(java.lang.String nm,
PortCharacteristic type,
boolean oneNamePerPort) |
void |
checkMe(Circuit parent)
Make sure this object is OK.
|
java.lang.String |
connectionDescription(int n)
human readable description of things connected this NetObject
|
java.lang.String |
exportNamesString()
Electric allows multiple Exports to be attached to network.
|
java.util.Iterator<NetObject> |
getConnected() |
java.util.Iterator<java.lang.String> |
getExportNames() |
java.lang.String |
getName()
instance name qualified by path prefix
|
NetObject.Type |
getNetObjType()
Distinguish Parts, Wires, and Ports.
|
boolean |
getToBeRenamed() |
PortCharacteristic |
getType() |
Wire |
getWire() |
java.lang.String |
getWireName() |
java.lang.String |
instanceDescription()
human readable identification of instance
|
boolean |
isDeleted() |
boolean |
isImplied() |
void |
setToBeRenamed() |
java.lang.String |
valueDescription()
human readable enumeration of sizes and other values
|
error, fullDescription, getCode, getParent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfullDescriptionpublic Port(java.lang.String name,
PortCharacteristic type,
Wire w)
public java.lang.String getName()
NetObjectgetName in interface NetObjReport.NetObjReportablegetName in class NetObjectpublic NetObject.Type getNetObjType()
NetObjectgetNetObjType in class NetObjectpublic java.util.Iterator<NetObject> getConnected()
getConnected in class NetObjectpublic void addExport(java.lang.String nm,
PortCharacteristic type,
boolean oneNamePerPort)
public PortCharacteristic getType()
public Wire getWire()
public java.lang.String getWireName()
getWireName in interface PortReport.PortReportablepublic void checkMe(Circuit parent)
NetObjectpublic java.lang.String exportNamesString()
exportNamesString in interface PortReport.PortReportablepublic java.util.Iterator<java.lang.String> getExportNames()
public boolean isImplied()
isImplied in interface PortReport.PortReportablepublic void setToBeRenamed()
public boolean getToBeRenamed()
public java.lang.String instanceDescription()
NetObjectinstanceDescription in interface NetObjReport.NetObjReportableinstanceDescription in class NetObjectpublic java.lang.String valueDescription()
NetObjectvalueDescription in class NetObjectpublic java.lang.String connectionDescription(int n)
NetObjectconnectionDescription in class NetObject