Class idx.form.CurrencyTextBox


Extends dijit.form.CurrencyTextBox, idx.form._CompositeMixin, idx.form._CssStateMixin.
One UI version widget, it is a composite widget which enhanced dijit.form.CurrencyTextBox with following features:

.
Defined in: <idx\form\CurrencyTextBox.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
Set the template path for the desktop template in case the template was not loaded initially, but is later needed due to an instance being constructed with "desktop" platform.
Fields borrowed from class idx.form._CompositeMixin:
fieldWidth, help, hint, hintPosition, label, labelAlignment, labelWidth, required, unit

Method Summary

Method Attributes Method Name and Description
 
displayMessage(message, force)
Show error message using a hoverHelpTooltip, hide the tooltip if message is empty.
 
 
Provides a method to return focus to the widget without triggering revalidation.
Methods borrowed from class idx.form._CompositeMixin:
_setFieldWidthAttr, _setHintAttr, _setLabelAlignmentAttr, _setLabelAttr, _setLabelWidthAttr, _setRequiredAttr, _setUnitAttr, postMixInProperties, reset, resize, validateAndFocus

Constructor Detail

idx.form.CurrencyTextBox()

Field Detail

templatePath

Set the template path for the desktop template in case the template was not loaded initially, but is later needed due to an instance being constructed with "desktop" platform.

Method Detail

displayMessage(message, force)

Show error message using a hoverHelpTooltip, hide the tooltip if message is empty.
Parameters:
{string} message
Error message
force

postCreate()


refocus()

Provides a method to return focus to the widget without triggering revalidation. This is typically called when the validation tooltip is closed.