DateTimeExpressionRender class

Extends

ExpressionRenderer

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new DateTimeExpressionRender(panel: QueryPanel,expression: Expression,valueEditor: ValueEditor,slot?: HTMLDivElement): DateTimeExpressionRender

Parameters:


Protected Properties


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


expression

● expression: Expression


panel

● panel: QueryPanel


valueEditor

● valueEditor: ValueEditor


Protected Accessors


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


expression

● expression: Expression


panel

● panel: QueryPanel


valueEditor

● valueEditor: ValueEditor


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


convertFromInternalFormat

▸ convertFromInternalFormat(dateTime: string): Date

Parameters:

  • dateTime: string

Returns Date


convertToInternalFormat

▸ convertToInternalFormat(dateTime: Date): string

Parameters:

  • dateTime: Date

Returns string


disappear

▸ disappear(): void

Returns void


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getContext

▸ getContext(): EqContext

Returns EqContext


getDisplayedElementText

▸ getDisplayedElementText(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getValue

▸ getValue(): string

Returns string


isEditable

▸ isEditable(): boolean

Returns boolean


isEmptyValue

▸ isEmptyValue(): boolean

Returns boolean


renderDisplayedText

▸ renderDisplayedText(): HTMLElement

Returns HTMLElement


renderEditor

▸ renderEditor(): void

Returns void


setValue

▸ setValue(value: string,silent?: boolean): void

Parameters:

  • value: string
  • silent: boolean, Optional

Returns void


showValidationError

▸ showValidationError(message: string,target?: EventTarget): void

Parameters:

  • message: string
  • target: EventTarget, Optional

Returns void


validateInput

▸ validateInput(value: string): ValidationResult

Parameters:

  • value: string

Returns ValidationResult