ColumnRendererCB class

Index

Constructors

Public Properties

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new ColumnRendererCB(panel: ColumnsBar,column: QueryColumn,slot?: HTMLDivElement): ColumnRendererCB

Parameters:


Public Properties


onHideButtonsMobile

● onHideButtonsMobile: () => void


onShowButtonsMobile

● onShowButtonsMobile: () => void


Protected Properties


bar

● bar: ColumnsBar


baseAttr

● baseAttr: EntityAttr


column

● column: QueryColumn


element

● element: HTMLDivElement


functionMenu

● functionMenu: PopupMenu = null


isMouseOverBlock

● isMouseOverBlock: boolean = false


keepShowingButtons

● keepShowingButtons: boolean = false


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


Public Methods


buttonDeleteClickHandler

▸ buttonDeleteClickHandler(ev: Event): boolean

Parameters:

  • ev: Event

Returns boolean


buttonSortingClickHandler

▸ buttonSortingClickHandler(ev: Event,anchor: HTMLDivElement): boolean

Parameters:

  • ev: Event
  • anchor: HTMLDivElement

Returns boolean


buttonTypeClickHandler

▸ buttonTypeClickHandler(ev: Event): boolean

Parameters:

  • ev: Event

Returns boolean


fireColumnChanged

▸ fireColumnChanged(): void

Returns void


refresh

▸ refresh(): void

Returns void


render

▸ render(): HTMLDivElement

Returns HTMLDivElement


Protected Methods


adjustButtonsVisibility

▸ adjustButtonsVisibility(): void

Returns void


changeTypeHandler

▸ changeTypeHandler(ev: Event): any

Parameters:

  • ev: Event

Returns any


createFunctionMenu

▸ createFunctionMenu(): void

Returns void


enterButtonBlock

▸ enterButtonBlock(): void

Returns void


getAttribute

▸ getAttribute(): EntityAttr

Returns EntityAttr


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getDefaultCaption

▸ getDefaultCaption(): string

Returns string


getDefaultTitleText

▸ getDefaultTitleText(attr: EntityAttr): string

Parameters:

Returns string


getUIS

▸ getUIS(): boolean

Returns boolean


hideButtons

▸ hideButtons(): void

Returns void


isColumnActive

▸ isColumnActive(): boolean

Returns boolean


isEditable

▸ isEditable(): boolean

Returns boolean


leaveButtonBlock

▸ leaveButtonBlock(): void

Returns void


renderButtonsBlock

▸ renderButtonsBlock(): HTMLDivElement

Returns HTMLDivElement


renderButtonsBlockMobile

▸ renderButtonsBlockMobile(): HTMLDivElement

Returns HTMLDivElement


renderCaptionBlock

▸ renderCaptionBlock(): HTMLDivElement

Returns HTMLDivElement


renderCaptionEditorMobile

▸ renderCaptionEditorMobile(): HTMLDivElement

Returns HTMLDivElement


renderColumnTypeButton

▸ renderColumnTypeButton(): HTMLDivElement

Returns HTMLDivElement


renderDeleteButton

▸ renderDeleteButton(): HTMLDivElement

Returns HTMLDivElement


renderSortingButton

▸ renderSortingButton(): HTMLDivElement

Returns HTMLDivElement


renderSortingImage

▸ renderSortingImage(): HTMLDivElement

Returns HTMLDivElement


showButtons

▸ showButtons(): void

Returns void