Link
Extends:
A link is a connection between two ports: one input and one output port.
Static Member Summary
| Static Public Members | ||
| public static |
|
|
Static Method Summary
| Static Public Methods | ||
| public static |
return true if ports can be linked |
|
| public static |
canLinkText(p1: Port, p2: Port): string return a text message with human readable reason if ports can not be linked, or can be |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(p: Patch) |
|
Member Summary
| Public Members | ||
| public |
activityCounter: number |
|
| public |
|
|
| public |
ignoreInSerialize: boolean |
|
| public |
|
|
| public |
|
|
| Private Members | ||
| private |
|
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
activity() |
|
| public |
getOtherPort(p: Port): * Returns the port of the link that is not the given port. |
|
| public |
getSerialized(): * |
|
| public |
Links the two ports. |
|
| public |
remove() Unlinks/removes this link from both ports. |
|
| public |
setValue(v: any) |
|
| Private Methods | ||
| private |
|
|
Static Public Methods
Public Constructors
Public Members
public activityCounter: number source
public ignoreInSerialize: boolean source
Private Members
Public Methods
public activity() source
public getOtherPort(p: Port): * source
Returns the port of the link that is not the given port.
Params:
| Name | Type | Attribute | Description |
| p | Port | port |
public setValue(v: any) source
Params:
| Name | Type | Attribute | Description |
| v | any |