AddRowRenderer class

Extends

DropDownRenderer

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new AddRowRenderer(panel: QueryPanel,entitiesMenu: PopupMenu,slot?: HTMLDivElement): AddRowRenderer

Parameters:


Protected Properties


element

● element: HTMLDivElement


labelElement

● labelElement: HTMLElement


● menu: PopupMenu


panel

● panel: QueryPanel


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


Public Methods


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


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getLabelText

▸ getLabelText(): string

Returns string


getMenu

▸ getMenu(): PopupMenu

Returns PopupMenu


isEditable

▸ isEditable(): boolean

Returns boolean


itemSelected

▸ itemSelected(id: string): void

Parameters:

  • id: string

Returns void


renderEditor

▸ renderEditor(): void

Returns void


renderLabelElement

▸ renderLabelElement(): HTMLElement

Returns HTMLElement


showEditor

▸ showEditor(): void

Returns void