|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wirefusion.player.Wire
public class Wire
Represents a Wire object
| Constructor Summary | |
|---|---|
Wire()
Creates a Wire. |
|
| Method Summary | |
|---|---|
void |
connect(Port sourcePort,
Port destPort,
Wob optionalWireParameter)
Make sure the argument of the source port is compatible with the destination port or, if not, that optionalWireParameter is compatible. |
void |
disconnect()
Disconnects the Wire if it is connected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Wire()
| Method Detail |
|---|
public void connect(Port sourcePort,
Port destPort,
Wob optionalWireParameter)
sourcePort - The source port. Must be an out-port.destPort - The destination port. Must be an in-port.optionalWireParameter - Optional parameter. Allowed types are NumberWob, BoolWob, ColorWob, TextWob or Number2DWob.public void disconnect()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||