public class Wire extends WiringComponent
Constructor and Description |
---|
Wire() |
Wire(java.lang.String name) |
Wire(java.lang.String name,
java.lang.String longName) |
Modifier and Type | Method and Description |
---|---|
Symbol |
addSymbol(int xPosition,
int yPosition) |
Wire |
connect(System toSys)
Connects an additional output of the MuxWire to a system input.
|
void |
connect(System fromSys,
int fromPortIdNumber,
System toSys,
int toPortIdNumber) |
void |
connect(System fromSys,
System toSys) |
WireImpl |
getImplementation() |
void |
set(Params<?,?> params) |
void |
setParamsSet(ParamsSet paramsSet) |
void |
setSymbol(CanvasFactory symbol) |
getMainParameters, getName, hide, longName, name, name, name, notifyBeforeParameterChange, setStepInterceptor, show, show, toString
public Wire()
public Wire(java.lang.String name)
name
- name of this Wirepublic Wire(java.lang.String name, java.lang.String longName)
public WireImpl getImplementation()
getImplementation
in class WiringComponent
public void set(Params<?,?> params)
public void setParamsSet(ParamsSet paramsSet)
public void connect(System fromSys, System toSys)
fromSys
- the system output (port 0) is connected to this
wiretoSys
- the system input (port 0) is connected to this wirepublic void connect(System fromSys, int fromPortIdNumber, System toSys, int toPortIdNumber)
fromSys
- the system which output will be connected to this wirefromPortIdNumber
- portIdnumber (tentative: field index) of the system which
output will be connected to this wiretoSys
- the system which input will be connected to this wiretoPortIdNumber
- portIdnumber (tentative: field index) of the system which
input will be connected to this wirepublic Wire connect(System toSys)
toSys
- input 0 is taken.public Symbol addSymbol(int xPosition, int yPosition)
addSymbol
in class WiringComponent
public void setSymbol(CanvasFactory symbol)
setSymbol
in class WiringComponent