User Guide
969
32
CHAPTER 32
NumericStepper component
The NumericStepper component allows a user to step through an ordered set of numbers.
The component consists of a number in a text box displayed beside small up and down arrow
buttons. When a user presses the buttons, the number is raised or lowered incrementally
according to the unit specified in the
stepSize parameter, until the user releases the buttons
or until the maximum or minimum value is reached. The text in the NumericStepper
component’s text box is also editable.
The NumericStepper component handles only numeric data. Also, you must resize the
stepper while authoring to display more than two numeric places (for example, the numbers
5246 or 1.34).
A stepper can be enabled or disabled in an application. In the disabled state, a stepper doesn’t
receive mouse or keyboard input. An enabled stepper receives focus if you click it or tab to it
and its internal focus is set to the text box. When a NumericStepper instance has focus, you
can use the following keys control it:
Key Description
Down Arrow Value changes by one unit.
Left Arrow Moves the insertion point to the left within the text box.
Right Arrow Moves the insertion point to the right within the text box.
Shift+Tab Moves focus to the previous object.
Tab Moves focus to the next object.
Up Arrow Value changes by one unit.