The NumericStepper control lets the user select a number from an ordered set. The NumericStepper control consists of a single line input text field and a pair of arrow buttons for stepping through the possible values. The up and down arrow keys also cycle through the values.
MXML Syntax
The <mx:NumericStepper< tag inherits all the properties of its parent classes, and the following properties:
<mx:NumericStepper
maximum="10"
minimum="0"
stepSize="1"
value="0"
change="Event handler; no default."
/>
| Methods |
| Methods inherited from class mx.core.UIComponent |
getFocus
setFocus
getFocusManager
|
| Properties | |
static | version:String
ComponentVersion is for internal use only. |
| nextValue:Number
[Read-Only]
Next value that is in the step and range. |
| previousValue:Number
[Read-Only]
Previous value that is in the step and range. |
| value:Number
[Read-Write]
Current value displayed in the text area of the NumericStepper control. |
| minimum:Number
[Read-Write]
Minimum range value. |
| maximum:Number
[Read-Write]
Maximum range value. |
| stepSize:Number
[Read-Write]
Non zero unit change from the current value. |
| Properties inherited from class mx.core.UIComponent |
version
enabled
tabIndex
|
| Effects |
| Effects inherited from class mx.core.UIComponent |
showEffect
hideEffect
focusInEffect
focusOutEffect
|
| Effects inherited from class mx.core.UIObject |
creationCompleteEffect
moveEffect
resizeEffect
mouseDownEffect
mouseOverEffect
mouseOutEffect
mouseUpEffect
|
| Events | |
change | Handler for change events which are broadcast when the value of the NumericStepper control changes as a result of user interaction. Target contains a reference to the component that triggered the event. Type contains the name of the event. |
draw | Broadcast when an object is about to draw its graphics. Target contains a reference to the component that triggered the event. Type contains the name of the event. |
| Events inherited from class: mx.core.UIComponent |
focusIn
focusOut
keyDown
keyUp
show
hide
valid
invalid
valueCommitted
|
| Styles |
| Styles inherited from class mx.core.UIObject |
color
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textDecoration
textIndent
marginLeft
marginRight
horizontalGap
verticalGap
|
| Property Detail |
maximum:Number
[Read-Write]
minimum:Number
[Read-Write]
nextValue:Number
[Read-Only]
previousValue:Number
[Read-Only]
stepSize:Number
[Read-Write]
value:Number
[Read-Write]
static version:String