Class pvr.controller.converters.IntegerConverter
Extends
pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to convert values and obtain the default value for
values of type "integer".
Values of type "integer" are represented by JavaScript number primitives that have integral value and that fall within the range -2147483648 through 2147483647.
Defined in: <pvr\controller\converters\IntegerConverter.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The default pvr.controller.converters.IntegerConverter instance.
|
|
<constant> |
Indicates the type of values that are supported by this converter.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
Overloaded to include the controller's "pattern" attribute value in the settings that are passed to the
pvr.controller.value.Value#to method.
|
|
Overloaded to include the controller's "pattern", "autoRound," and "zeroIfNull" attribute values in the
settings that are passed to the pvr.controller.value.Value#to method.
|
- Methods borrowed from class pvr.controller.converters._Converter:
- format, getDefaultValue, parse
- Methods borrowed from class pvr.logging._LoggerMixin:
- logDebug, logEntry, logError, logExit, logInfo, logWarning
Field Detail
Default
The default pvr.controller.converters.IntegerConverter instance.
<constant> type
Indicates the type of values that are supported by this converter.
Method Detail
computeFormatSettings()
Overloaded to include the controller's "pattern" attribute value in the settings that are passed to the
pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.
computeParseSettings()
Overloaded to include the controller's "pattern", "autoRound," and "zeroIfNull" attribute values in the
settings that are passed to the pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.