ValueEditor class

Represents a value editor.

Index

Constructors

Public Properties

Public Methods

Constructors


constructor

The default constructor. ⊕ new ValueEditor(): ValueEditor


Public Properties


defValue

The default value of the editor.

● defValue: string


extraParams

Extra parameters

● extraParams?: any


id

The ID.

● id: string


name

The name of the value editor.

● name?: string


processValues

● processValues?: (values: any[]) => any


resType

The type of the result.

● resType: DataType


statement

The statement.

● statement?: string


tag

The tag.

● tag: EditorTag


values

The values.

● values?: any[]


Public Methods


getValueText

▸ getValueText(value: string | string[]): string

Parameters:

  • value: string | string[]

Returns string


loadFromData

Loads value editor from its JSON representation object.

▸ loadFromData(data: ValueEditorDTO): void

Parameters:

Returns void