Attribute | Mand. | Description | Default |
id | no | NUMBER.id | |
template | no | NUMBER.template | |
label | no | Value displayed for the number. | |
format | no | Display format of the number. | |
vMin | no | Minimum value. The provided value can be a positive or a negative integer, or else a non integer value (the decimal delimiter being a dot). |
Double.NEGATIVE_INFINITY |
vMax | no | Maximum value. The provided value can be a positive or a negative integer, or else a non integer value (the decimal delimiter being a dot). |
Double.POSITIVE_INFINITY |
pitch | no | Incrementation step. The provided value can be a positive or a negative integer, or else a non integer value (the decimal delimiter being a dot). |
0 |
decimals | no | Number of decimals. The expected value is a positive integer value. Any other value is equivalent to the value 0 (indicating a field of integer type). |
-1 |
modulo | no | Indicates if the number value is a modulo of its maximum value. By default the number value is not a modulo of its maximum value. | false |
unit | no | Unit. The expected value is a string which format is free (this label should nevertheless remain short because it it intended to be displayed after the graphical component). Its content is purely informative. |
|
bean | no | Allows specifying the name of a Java class that replaces the default graphical component. | |
font | no | NUMBER.font | |
enabledColor | no | NUMBER.enabledColor | |
disabledColor | no | NUMBER.disabledColor | |
fontColor | no | NUMBER.fontColor | |
arrows | no | Indicates if arrows are displayed or not on the numeric field. | true |
arrowUp | no | Image of the button used for increasing the current value. | |
arrowDown | no | Image of the button used for decreasing the current value. | |
nCols | no | Gives the number of digits used to present the numeric field. | -1 |
<!-- Integer comprised between 1 and 10,000 and expressed in Mbit/s --> <NUMBER label="100" vMin="1" vMax="10000" pitch="100" unit="Mbit/s"/> <!-- Number with 3 decimals and an incrementation step of 0.01 --> <NUMBER vMin="-1" vMax="1" pitch="0.01" decimals="3"/> |
![]() |