SubQueryExpressionRenderer class

Extends

ExpressionRenderer

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new SubQueryExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: EqValueEditor,slot?: HTMLDivElement): SubQueryExpressionRenderer

Parameters:


Protected Properties


colEntitiesList

● colEntitiesList: Entity[]


colEntitiesMenu

● colEntitiesMenu: PopupMenu


columnBlock

● columnBlock: HTMLElement


columnElement

● columnElement: HTMLElement


dialogBackground

● dialogBackground: HTMLElement


dialogBlock

● dialogBlock: HTMLElement


dialogBlockBody

● dialogBlockBody: HTMLElement


element

● element: HTMLDivElement


expression

● expression: Expression


labelElement

● labelElement: HTMLElement


panel

● panel: QueryPanel


queryPanel

● queryPanel: QueryPanel


queryPanelBlock

● queryPanelBlock: HTMLElement


valueEditor

● valueEditor: EqValueEditor


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


Public Methods


adjustWidth

▸ adjustWidth(): void

Returns void


refresh

▸ refresh(): void

Returns void


render

▸ render(isEditMode?: boolean): HTMLDivElement

Parameters:

  • isEditMode: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


closeEditor

▸ closeEditor(): void

Returns void


getAttributeText

▸ getAttributeText(attribute: EntityAttr): string

Parameters:

Returns string


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getContext

▸ getContext(): EqContext

Returns EqContext


getEmptyText

▸ getEmptyText(): string

Returns string


getLabelText

▸ getLabelText(): string

Returns string


getSubQuery

▸ getSubQuery(): Query

Returns Query


getValue

▸ getValue(): string

Returns string


isEditable

▸ isEditable(): boolean

Returns boolean


isEmptyValue

▸ isEmptyValue(): boolean

Returns boolean


isReadOnly

▸ isReadOnly(): boolean

Returns boolean


renderEditor

▸ renderEditor(): void

Returns void


renderLabelElement

▸ renderLabelElement(): HTMLElement

Returns HTMLElement


setValue

▸ setValue(value: string | Query,silent?: boolean): void

Parameters:

  • value: string | Query
  • silent: boolean, Optional

Returns void


showEditor

▸ showEditor(): void

Returns void


showValidationError

▸ showValidationError(message: string,target?: EventTarget): void

Parameters:

  • message: string
  • target: EventTarget, Optional

Returns void


validateInput

▸ validateInput(value: string): ValidationResult

Parameters:

  • value: string

Returns ValidationResult