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.
 
hint 
The hint.
 
The error.
 
Indicates whether the value is read-only (always true).
 
Indicates whether the value is required.
 
value 
The value.
 
wrap 
Indicates whether to wrap or truncate the value if there is insufficient space.

Method Summary

Method Attributes Method Name and Description
 
 
constructor(params)
 
displayMessage(message, force)
 
 
 
getErrorMessage(isFocused)
 
 
isValid(isFocused)
 
onBlur(e)
 
onChange(value)
 
 
 
 
 
 
validate(isFocused)

Constructor Detail

pvr.widget.editors.StaticTextEditor()

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

buildRendering()


constructor(params)

Parameters:
params

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

onKeyPress(e)

Parameters:
e

onMouseOut(e)

Parameters:
e

onMouseOver(e)

Parameters:
e

postCreate()


validate(isFocused)

Parameters:
isFocused