Extends
Index
Constructors
Protected Properties
Public Methods
Protected Methods
- appear
- disappear
- getClassesToAdd
- getContext
- getDisplayedElementText
- getEmptyText
- getValue
- isEditable
- isEmptyValue
- renderDisplayedText
- renderEditor
- setValue
- showValidationError
- validateInput
- validateListInput
- validateScalarInput
Constructors
constructor
⊕ new InputExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: ValueEditor,slot?: HTMLDivElement
): InputExpressionRenderer
Parameters:
- panel: QueryPanel
- expression: Expression
- valueEditor: ValueEditor
- slot:
HTMLDivElement
, Optional
Protected Properties
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
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(inputValue: string
): ValidationResult
Parameters:
- inputValue:
string
Returns ValidationResult
validateListInput
▸ validateListInput(inputValue: string
,result: ValidationResult): void
Parameters:
- inputValue:
string
- result: ValidationResult
Returns void
validateScalarInput
▸ validateScalarInput(inputValue: string
,result: ValidationResult): void
Parameters:
- inputValue:
string
- result: ValidationResult
Returns void