ColumnRendererCP class

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new ColumnRendererCP(panel: ColumnsPanel,column: QueryColumn,slot?: HTMLDivElement): ColumnRendererCP

Parameters:


Protected Properties


baseAttr

● baseAttr: EntityAttr


buttonMenu

● buttonMenu: PopupMenu = null


column

● column: QueryColumn


element

● element: HTMLDivElement


functionMenu

● functionMenu: PopupMenu = null


isMouseOverBlock

● isMouseOverBlock: boolean = false


keepShowingButtons

● keepShowingButtons: boolean = false


panel

● panel: ColumnsPanel


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


Public Methods


fireColumnChanged

▸ fireColumnChanged(): void

Returns void


refresh

▸ refresh(): void

Returns void


render

▸ render(): HTMLDivElement

Returns HTMLDivElement


Protected Methods


adjustButtonsVisibility

▸ adjustButtonsVisibility(): void

Returns void


buttonMenuHandler

▸ buttonMenuHandler(action: ColumnAction,evt?: Event): boolean

Parameters:

Returns boolean


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


getAttributeCaption

▸ getAttributeCaption(attr: EntityAttr,format?: string): string

Parameters:

Returns string


getButtonMenuSelectedItems

▸ getButtonMenuSelectedItems(): Array<string>

Returns Array<string>


getButtonsToShow

▸ getButtonsToShow(): Array<string>

Returns Array<string>


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getDefaultColumnCaption

▸ getDefaultColumnCaption(): string

Returns string


getDefaultTitleText

▸ getDefaultTitleText(attr: EntityAttr): string

Parameters:

Returns string


getExtraButtonMenuItems

▸ getExtraButtonMenuItems(): Array<any>

Returns Array<any>


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


processExtraButtonMenuItems

▸ processExtraButtonMenuItems(action: ColumnAction | string,evt: Event): boolean

Parameters:

Returns boolean


renderCaptionBlock

▸ renderCaptionBlock(): HTMLDivElement

Returns HTMLDivElement


renderCheckbox

▸ renderCheckbox(): HTMLElement

Returns HTMLElement


renderColumnTypeButton

▸ renderColumnTypeButton(): HTMLDivElement

Returns HTMLDivElement


renderDeleteButton

▸ renderDeleteButton(): HTMLDivElement

Returns HTMLDivElement


renderEnabledButton

▸ renderEnabledButton(): HTMLDivElement

Returns HTMLDivElement


renderExpressionBlock

▸ renderExpressionBlock(): HTMLDivElement

Returns HTMLDivElement


renderMenuButton

▸ renderMenuButton(): HTMLDivElement

Returns HTMLDivElement


renderSoringButton

▸ renderSoringButton(sorting: SortDirection): HTMLDivElement

Parameters:

Returns HTMLDivElement


showButtons

▸ showButtons(): void

Returns void