Extends
Index
Constructors
Protected Properties
Protected Accessors
Public Methods
Protected Methods
- closeEditor
- getClassesToAdd
- getContext
- getEmptyText
- getLabelText
- getValue
- isEditable
- isEmptyValue
- isReadOnly
- renderEditor
- renderLabelElement
- setValue
- showEditor
- showValidationError
- validateInput
- validateListInput
- validateScalarInput
Constructors
constructor
⊕ new InputExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: EqValueEditor,slot?: HTMLDivElement
): InputExpressionRenderer
Parameters:
- panel: QueryPanel
- expression: Expression
- valueEditor: EqValueEditor
- slot:
HTMLDivElement
, Optional
Protected Properties
element
● element: HTMLDivElement
expression
● expression: Expression
labelElement
● labelElement: HTMLElement
panel
● panel: QueryPanel
valueEditor
● valueEditor: EqValueEditor
Protected Accessors
cssPrefix
⇄ get cssPrefix(): string
Returns string
Public Methods
adjustWidth
▸ adjustWidth(): void
Returns void
refresh
▸ refresh(): void
Returns void
render
▸ render(isEditMode?: boolean
): HTMLDivElement
Parameters:
- isEditMode:
boolean
, Default value =false
Returns HTMLDivElement
Protected Methods
closeEditor
▸ closeEditor(): void
Returns void
getClassesToAdd
▸ getClassesToAdd(): string
Returns string
getContext
▸ getContext(): EqContext
Returns EqContext
getEmptyText
▸ getEmptyText(): string
Returns string
getLabelText
▸ getLabelText(): string
Returns string
getValue
▸ getValue(): string
Returns string
isEditable
▸ isEditable(): boolean
Returns boolean
isEmptyValue
▸ isEmptyValue(): boolean
Returns boolean
isReadOnly
▸ isReadOnly(): boolean
Returns boolean
renderEditor
▸ renderEditor(): void
Returns void
renderLabelElement
▸ renderLabelElement(): HTMLElement
Returns HTMLElement
setValue
▸ setValue(value: string
,silent?: boolean
): void
Parameters:
- value:
string
- silent:
boolean
, Optional
Returns void
showEditor
▸ showEditor(): void
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