OperatorRenderer class

Extends

DropDownRenderer

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new OperatorRenderer(panel: QueryPanel,condition: Condition,text: string,slot?: HTMLDivElement): OperatorRenderer

Parameters:


Protected Properties


condition

● condition: Condition


displayedText

● displayedText: string


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


● menu: PopupMenu


panel

● panel: QueryPanel


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


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getDisplayedElementText

▸ getDisplayedElementText(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getMenu

▸ getMenu(): PopupMenu

Returns PopupMenu


isEditable

▸ isEditable(): boolean

Returns boolean


itemSelected

▸ itemSelected(id: string): void

Parameters:

  • id: string

Returns void


renderDisplayedText

▸ renderDisplayedText(): HTMLElement

Returns HTMLElement


renderEditor

▸ renderEditor(): void

Returns void