Home Reference Source
import GlPort from './ui/glpatch/glport.js'
public class | source

GlPort

rendering ports on GlOp on GlPatch

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public

disposed: boolean

public get

glOp: *

public

groupIndex: number

public get
public get

id: *

public get

name: *

public get

port: *

public
public get

posX: *

public get

rect: *

public get

type: *

public get

width: *

Private Members
private

_activity: number

private
private

_dot: *

private
private

_glop: *

private

_hover: boolean

private

_id: *

private

_log: *

private
private
private
private

_name: *

private

_parent: *

private

_port: *

private

_posX: *

private

_rect: *

private
private

_type: *

Method Summary

Public Methods
public
public
public
public
Private Methods
private

_onHover(rect: *)

private
private

_onMouseDown(e: *, rect: *)

private

_onMouseUp(e: *, rect: *)

private

_onUiAttrChange(attribs: *)

private

_onUnhover(rect: *)

private

Public Constructors

public constructor() source

Public Members

public get direction: * source

public disposed: boolean source

public get glOp: * source

public groupIndex: number source

public get hovering: * source

public get id: * source

public get name: * source

public get port: * source

public portIndex: * source

public get posX: * source

public get rect: * source

public get type: * source

public get width: * source

Private Members

private _activity: number source

private _direction: * source

private _dot: * source

private _glPatch: * source

private _glop: * source

private _hover: boolean source

private _id: * source

private _log: * source

private _longPortRect: * source

private _mouseButtonRightTimeDown: number source

private _mouseEvents: *[] source

private _name: * source

private _parent: * source

private _port: * source

private _posX: * source

private _rect: * source

private _rectInstancer: * source

private _type: * source

Public Methods

public dispose() source

public setFlowModeActivity(a: *) source

Params:

NameTypeAttributeDescription
a *

public updateShape() source

public updateSize() source

Private Methods

private _onHover(rect: *) source

Params:

NameTypeAttributeDescription
rect *

private _onLinkChanged() source

private _onMouseDown(e: *, rect: *) source

Params:

NameTypeAttributeDescription
e *
rect *

private _onMouseUp(e: *, rect: *) source

Params:

NameTypeAttributeDescription
e *
rect *

private _onUiAttrChange(attribs: *) source

Params:

NameTypeAttributeDescription
attribs *

private _onUnhover(rect: *) source

Params:

NameTypeAttributeDescription
rect *

private _updateColor() source