| Methods | Properties | Effects | Events | Styles | Examples | Frames | No Frames |
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:NumericStepperClick here to view the Examples
maximum="10"
minimum="0"
stepSize="1"
value="0"
change="Event handler; no default."
draw="Event handler; no default."
/>
| Methods |
| Methods inherited from class mx.core.UIComponent |
drawFocus
getFocus
getFocusManager
setEnabled
setFocus
|
| Properties | |
| maximum:
NumberMinimum range value. |
| minimum:
NumberMinimum range value. |
| 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. |
| stepSize:
NumberNon zero unit change from the current value. |
| value:
NumberValue that is in the step and range. |
static | version:
StringVersion string for this class. |
| Properties inherited from class mx.core.UIComponent |
enabled
errorString
tabEnabled
tabIndex
version
|
| Effects |
| Effects inherited from class mx.core.UIComponent |
focusInEffect
focusOutEffect
|
| Effects inherited from class mx.core.UIObject |
creationCompleteEffect
hideEffect
mouseDownEffect
mouseOutEffect
mouseOverEffect
mouseUpEffect
moveEffect
resizeEffect
showEffect
|
| Events | |
change | Broadcast when the value of the NumericStepper control changes as a result of user interaction. The event object contains the properties: - target Reference to the component that triggered the event. - type The name of the event, change. |
draw | Broadcast when an object is about to draw its graphics. The event object contains the properties: - target Reference to the component that triggered the event. - type The name of the event, draw. |
| Events inherited from class: mx.core.UIComponent |
focusIn focusOut invalid keyDown keyUp valid valueCommitted |
| Styles |
| Styles inherited from class mx.core.UIObject |
color
fontFamily
fontSize
fontStyle
fontWeight
horizontalGap
leading
marginLeft
marginRight
textAlign
textDecoration
textIndent
verticalGap
|
| Property Detail |
maximum:
Number
minimum:
Number
nextValue:
Number
[Read-Only]
previousValue:
Number
[Read-Only]
stepSize:
Number
value:
Number
static
version:
String
| Examples |
| NumericStepperExample.mxml |
|
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/asdocs_en/mx/controls/NumericStepper.html
Comments
Niklas said on Feb 16, 2006 at 8:58 AM : alongley said on Mar 16, 2006 at 1:48 PM :