SubQueryExpressionRenderer class

Extends

ExpressionRenderer

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new SubQueryExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: ValueEditor,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


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


expression

● expression: Expression


panel

● panel: QueryPanel


queryPanel

● queryPanel: QueryPanel


queryPanelBlock

● queryPanelBlock: HTMLElement


valueEditor

● valueEditor: ValueEditor


Public Methods


refresh

▸ refresh(): void

Returns void


render

▸ render(appeared?: boolean): HTMLDivElement

Parameters:

  • appeared: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


appear

▸ appear(): void

Returns void


disappear

▸ disappear(): void

Returns void


getAttributeText

▸ getAttributeText(attribute: EntityAttr): string

Parameters:

Returns string


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getContext

▸ getContext(): EqContext

Returns EqContext


getDisplayedElementText

▸ getDisplayedElementText(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getSubQuery

▸ getSubQuery(): Query

Returns Query


getValue

▸ getValue(): string

Returns string


isEditable

▸ isEditable(): boolean

Returns boolean


isEmptyValue

▸ isEmptyValue(): boolean

Returns boolean


renderDisplayedText

▸ renderDisplayedText(): HTMLElement

Returns HTMLElement


renderEditor

▸ renderEditor(): void

Returns void


setValue

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

Parameters:

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

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