Home Reference Source Test
public class | source

FZPConnectorView

FZPConnectorView class

Example:

const {FZPConnectorView} = require('fzp-js')

let connectorView = new FZPConnectorView({layer: 'sample', svgId: 'sample.svg'})
connectorView.legId = 'sample-leg'
connectorView.terminalId = 'sample-terminal'

Constructor Summary

Public Constructor
public

FZPConnectorView constructor

Member Summary

Public Members
public

the FZP connector view layer

public

the FZP connector view leg

public

the FZP connector view svg

public

the FZP connector view terminal

Method Summary

Public Methods
public
public
public
public
public
public
public
public

Public Constructors

public constructor(opt: Object) source

FZPConnectorView constructor

Params:

NameTypeAttributeDescription
opt Object

Public Members

public layer: String source

the FZP connector view layer

public legId: String source

the FZP connector view leg

public svgId: String source

the FZP connector view svg

public terminalId: String source

the FZP connector view terminal

Public Methods

public getLayer(): String source

Return:

String

public getLegId(): String source

Return:

String

public getSvgId(): String source

Return:

String

public getTerminalId(): String source

Return:

String

public setLayer(l: String) source

Params:

NameTypeAttributeDescription
l String

public setLegId(leg: String) source

Params:

NameTypeAttributeDescription
leg String

public setSvgId(id: String) source

Params:

NameTypeAttributeDescription
id String

public setTerminalId(term: String) source

Params:

NameTypeAttributeDescription
term String