Class pvr.widget.editors.StaticTextEditor
Extends
dijit._WidgetBase, dijit._TemplatedMixin, idx.form._CompositeMixin, idx.form._CssStateMixin,
pvr.widget.editors.mixins._EditorMixin,.
Provides a static text editor widget for editing properties of any type.
This editor widget is used for render the property value as static text. It cannot be used to modify the property value.
Defined in: <pvr\widget\editors\StaticTextEditor.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The choices.
|
|
The error.
|
|
The hint.
|
|
The error.
|
|
Indicates whether the value is read-only (always true).
|
|
Indicates whether the value is required.
|
|
The value.
|
|
Indicates whether to wrap or truncate the value if there is insufficient space.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
adjustWidth(widthSettings)
|
|
constructor(params)
|
|
destroy()
|
|
displayMessage(message, force)
|
|
focus()
|
|
getErrorMessage(isFocused)
|
|
isValid(isFocused)
|
|
onBlur(e)
|
|
onChange(value)
|
|
onDblClick(e)
|
|
onKeyPress(e)
|
|
onMouseOut(e)
|
|
onMouseOver(e)
|
|
validate(isFocused)
|
Field Detail
choices
The choices.
If specified, the choice label is rendered instead of the value.
externalError
The error.
hint
The hint.
internalError
The error.
readOnly
Indicates whether the value is read-only (always true).
required
Indicates whether the value is required.
value
The value.
wrap
Indicates whether to wrap or truncate the value if there is insufficient space.
Even if the value is truncated, a tooltip is provided to see the complete text.
Method Detail
adjustWidth(widthSettings)
- Parameters:
- widthSettings
buildRendering()
constructor(params)
- Parameters:
- params
destroy()
displayMessage(message, force)
- Parameters:
- message
- force
focus()
formatValue()
getErrorMessage(isFocused)
- Parameters:
- isFocused
initializeEditor()
isValid(isFocused)
- Parameters:
- isFocused
onBlur(e)
- Parameters:
- e
onChange(value)
- Parameters:
- value
onDblClick(e)
- Parameters:
- e
onIconDblClick(e)
- Parameters:
- e
onKeyPress(e)
- Parameters:
- e
onMouseOut(e)
- Parameters:
- e
onMouseOver(e)
- Parameters:
- e
postCreate()
validate(isFocused)
- Parameters:
- isFocused