UiOp
Extends:
Static Member Summary
| Static Public Members | ||
| public static |
|
|
| public static |
portChangeTo: * |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(patch: import("cables").Patch<any>, objName: string) |
|
Member Summary
| Public Members | ||
| public |
hasUiErrors: * |
|
| public |
|
|
| public |
shakeLink: * |
|
| Private Members | ||
| private |
_ignoreParentChecks: boolean |
|
| private |
log: * |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
countFittingPorts(otherPort: Port, countConverters: boolean): * |
|
| public |
countVisiblePorts(ports: Port[]): * |
|
| public |
findFittingPort(otherPort: Port, inPortsFirst: boolean, useConverters: undefined): * |
|
| public |
getFirstLinkedInOp(): * |
|
| public |
getFirstLinkedInPort(): * |
|
| public |
getFirstPortIn(): * |
|
| public |
getFirstPortOut(): * |
|
| public |
getHeight(glpatch: *): * |
|
| public |
getLowestLinkedInOp(): * |
|
| public |
getNumVisiblePortsIn(): * |
|
| public |
|
|
| public |
getParentSubPatch(): number |
|
| public |
getPortPosX(name: string, opid: string, center: boolean, opwidth: number): number |
|
| public |
getSubPatch(): * |
|
| public |
getTempPosX(): * |
|
| public |
getTempPosY(): * |
|
| public |
getUiAttribs(): * |
|
| public |
getUiError(id: string): * |
|
| public |
getWidth(glpatch: *): * |
|
| public |
hasAnyInLinked(): boolean |
|
| public |
hasAnyOutLinked(): boolean |
|
| public |
|
|
| public |
hasFirstInLinked(): * |
|
| public |
hasFirstOutLinked(): * |
|
| public |
hasLinks(): boolean |
|
| public |
hasMultipleOutLinked(): boolean |
|
| public |
hasParent(type: number, name: string, count: number): boolean |
|
| public |
initUi() |
|
| public |
isAnimated(): boolean |
|
| public |
isBlueprint2(): * |
|
| public |
isConnectedTo(op2: UiOp | Op): * |
|
| public |
isCoreOp(): * |
|
| public |
isInBlueprint2(): boolean |
|
| public |
isInLinkedToOpOutside(ops: *): boolean |
|
| public |
isLinked(): * |
|
| public |
isLinkedIn(): Boolean |
|
| public |
isLinkedOut(): Boolean |
|
| public |
isPatchOp(): * |
|
| public |
isTeamOp(): * |
|
| public |
isUserOp(): * |
|
| public |
posByIndex(portIndex: number, numports: number, center: boolean): * |
|
| public |
selectChilds(options: *) |
|
| public |
setPos(x: number, y: number) |
|
| public |
setTempOpPos(x: number, y: number, w: number, h: number) |
|
| public |
setTempOpPosX(x: *) |
|
| public |
setTempOpPosY(y: *) |
|
| public |
setUiError(id: string, txt: string, level: number, options: any) |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
testTempCollision(ops: *, glpatch: *): * |
|
| public |
unLink() disconnect all links |
|
| public |
unLinkOptions(tryRelink: boolean, temporary: boolean) |
|
| public |
|
|
| public |
|
|
| public |
|
|
| Private Methods | ||
| private |
|
|
Static Public Members
public static PORT_UIATTR_HOVER: * source
public static portChangeTo: * source
Public Constructors
public constructor(patch: import("cables").Patch<any>, objName: string) source
Params:
| Name | Type | Attribute | Description |
| patch | import("cables").Patch<any> | ||
| objName | string |
Public Members
public hasUiErrors: * source
public oldLinks: LinkObject[] source
public shakeLink: * source
Private Members
private _ignoreParentChecks: boolean source
private log: * source
Public Methods
public checkLinkTimeWarnings() source
public countFittingPorts(otherPort: Port, countConverters: boolean): * source
Params:
| Name | Type | Attribute | Description |
| otherPort | Port | ||
| countConverters | boolean |
Return:
| * |
public countVisiblePorts(ports: Port[]): * source
Params:
| Name | Type | Attribute | Description |
| ports | Port[] |
Return:
| * |
public findFittingPort(otherPort: Port, inPortsFirst: boolean, useConverters: undefined): * source
Params:
| Name | Type | Attribute | Description |
| otherPort | Port | ||
| inPortsFirst | boolean | ||
| useConverters | undefined |
Return:
| * |
public getPortPosX(name: string, opid: string, center: boolean, opwidth: number): number source
Params:
| Name | Type | Attribute | Description |
| name | string | ||
| opid | string | ||
| center | boolean |
|
|
| opwidth | number |
|
Return:
| number |
public hasParent(type: number, name: string, count: number): boolean source
Params:
| Name | Type | Attribute | Description |
| type | number | ||
| name | string | ||
| count | number |
|
Return:
| boolean |
public initUi() source
public isConnectedTo(op2: UiOp | Op): * source
Params:
| Name | Type | Attribute | Description |
| op2 | UiOp | Op |
Return:
| * |
public isInLinkedToOpOutside(ops: *): boolean source
Params:
| Name | Type | Attribute | Description |
| ops | * |
Return:
| boolean |
public posByIndex(portIndex: number, numports: number, center: boolean): * source
Params:
| Name | Type | Attribute | Description |
| portIndex | number | ||
| numports | number | ||
| center | boolean |
Return:
| * |
public selectChilds(options: *) source
Params:
| Name | Type | Attribute | Description |
| options | * |
public setPos(x: number, y: number) source
Params:
| Name | Type | Attribute | Description |
| x | number | ||
| y | number |
public setTempOpPos(x: number, y: number, w: number, h: number) source
Params:
| Name | Type | Attribute | Description |
| x | number | ||
| y | number | ||
| w | number |
|
|
| h | number |
|
public setTempOpPosX(x: *) source
Params:
| Name | Type | Attribute | Description |
| x | * |
public setTempOpPosY(y: *) source
Params:
| Name | Type | Attribute | Description |
| y | * |
public setUiError(id: string, txt: string, level: number, options: any) source
Params:
| Name | Type | Attribute | Description |
| id | string | ||
| txt | string | ||
| level | number | ||
| options | any |
public startProfile() source
public startStepDebug() source
public stopStepDebug() source
public testTempCollision(ops: *, glpatch: *): * source
Params:
| Name | Type | Attribute | Description |
| ops | * | ||
| glpatch | * |
Return:
| * |
public unLinkOptions(tryRelink: boolean, temporary: boolean) source
Params:
| Name | Type | Attribute | Description |
| tryRelink | boolean | ||
| temporary | boolean |