Home Reference Source
public class | source

OpParampanel

Extends:

Events → OpParampanel

op parameter panel

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public get

op: *

public

panelId: *

public
public
Private Members
private
private

_eleId: *

private
private
private
private

_log: *

private
private
private
private

_portsIn: *[]

private

_portsOut: *[]

private
private

_uiAttrFpsCount: number

private

Method Summary

Public Methods
public

clear()

public
public

isCurrentOp(op: *): *

public

isCurrentOpId(opid: *): *

public

opContextMenu(el: *)

public
public
public
public
public

setParentElementId(eleid: *)

public

show(op: *)

public
public
public
Private Methods
private
private

_onUiAttrChangePort(attr: *, port: *)

private

_showOpParamsCbPortDelete(index: *, op: *)

private
private

Inherited Summary

From class Events
public

off: *

public

on: *

private
private
private

_log: *

private

_logEvents: boolean

private

_logName: string

public

addEventListener(which: *, cb: *, idPrefix: string): string

add event listener

public

emitEvent(which: string, param1: *, param2: *, param3: *, param4: *, param5: *, param6: *)

emit event

public

hasEventListener(id: *, cb: *): boolean

check event listener registration

public

hasListenerForEventName(eventName: *): boolean

check event listener by name

public

logEvents(enabled: boolean, logName: string)

enable/disable logging of events for the class

public

removeEventListener(id: *, cb: *)

rempve event listener registration

Public Constructors

public constructor() source

Override:

Events#constructor

Public Members

public hasExposeListener: * source

public onOpUiAttrChange: * source

public get op: * source

public panelId: * source

public refreshTimeout: * source

public reloadListener: * source

Private Members

private _currentOp: * source

private _eleId: * source

private _eventPrefix: * source

private _htmlGen: * source

private _isPortLineDragDown: boolean source

private _log: * source

Override:

Events#_log

private _paramsListener: * source

private _portLineDraggedName: * source

private _portUiAttrListeners: *[] source

private _portsIn: *[] source

private _portsOut: *[] source

private _startedGlobalListeners: boolean source

private _uiAttrFpsCount: number source

private _uiAttrFpsLast: * source

Public Methods

public clear() source

public dispose() source

public isCurrentOp(op: *): * source

Params:

NameTypeAttributeDescription
op *

Return:

*

public isCurrentOpId(opid: *): * source

Params:

NameTypeAttributeDescription
opid *

Return:

*

public opContextMenu(el: *) source

Params:

NameTypeAttributeDescription
el *

public refresh() source

public refreshDelayed() source

public setCurrentOpComment(v: *) source

Params:

NameTypeAttributeDescription
v *

public setCurrentOpTitle(t: *) source

Params:

NameTypeAttributeDescription
t *

public setParentElementId(eleid: *) source

Params:

NameTypeAttributeDescription
eleid *

public show(op: *) source

Params:

NameTypeAttributeDescription
op *

public subPatchContextMenu(el: *) source

Params:

NameTypeAttributeDescription
el *

public updateUiAttribs() source

public updateUiErrors() source

Private Methods

private _onUiAttrChangeOp(attr: *) source

Params:

NameTypeAttributeDescription
attr *

private _onUiAttrChangePort(attr: *, port: *) source

Params:

NameTypeAttributeDescription
attr *
port *

private _showOpParamsCbPortDelete(index: *, op: *) source

Params:

NameTypeAttributeDescription
index *
op *

private _startListeners(op: *) source

Params:

NameTypeAttributeDescription
op *

private _stopListeners(op: *) source

Params:

NameTypeAttributeDescription
op *