AggrFuncColumnRendererCP class

Extends

SimpleColumnRendererCP

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new AggrFuncColumnRendererCP(panel: ColumnsPanel,column: Column,slot?: HTMLDivElement): AggrFuncColumnRendererCP

Parameters:


Protected Properties


baseAttr

● baseAttr: EntityAttr


column

● column: Column


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


changeTypeToSimple

▸ changeTypeToSimple(): void

Returns void


fireColumnChanged

▸ fireColumnChanged(): void

Returns void


refresh

▸ refresh(): void

Returns void


render

▸ render(): HTMLDivElement

Returns HTMLDivElement


Protected Methods


adjustButtonsVisibility

▸ adjustButtonsVisibility(): void

Returns void


baseExpressionItemSelectedCallback

▸ baseExpressionItemSelectedCallback(data: any,item: any): void

Parameters:

  • data: any
  • item: any

Returns void


changeTypeHandler

▸ changeTypeHandler(ev: Event): void

Parameters:

  • ev: Event

Returns void


changeTypeToAggr

▸ changeTypeToAggr(funcId: string): void

Parameters:

  • funcId: string

Returns void


changeTypeToCustomSql

▸ changeTypeToCustomSql(): void

Returns void


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


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getDefaultColumnCaption

▸ getDefaultColumnCaption(): 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


renderBaseExpression

▸ renderBaseExpression(): HTMLElement

Returns HTMLElement


renderCaptionBlock

▸ renderCaptionBlock(): HTMLDivElement

Returns HTMLDivElement


renderColumnTypeButton

▸ renderColumnTypeButton(): HTMLDivElement

Returns HTMLDivElement


renderDeleteButton

▸ renderDeleteButton(): HTMLDivElement

Returns HTMLDivElement


renderEnabledButton

▸ renderEnabledButton(): HTMLDivElement

Returns HTMLDivElement


renderExpressionBlock

▸ renderExpressionBlock(): HTMLDivElement

Returns HTMLDivElement


renderSoringButton

▸ renderSoringButton(sorting: SortDirection): HTMLDivElement

Parameters:

Returns HTMLDivElement


showButtons

▸ showButtons(): void

Returns void