{ "type": "class", | |
"qname": "mx.controls.NumericStepper", | |
"baseClassname": "mx.core.UIComponent" | |
, | |
"description": "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 Arrow and Down Arrow keys also cycle through the values. <p>The NumericStepper control has the following default characteristics:</p> <table class="innertable"> <tr> <th>Characteristic</th> <th>Description</th> </tr> <tr> <td>Default size</td> <td>Wide enough to display the maximum number of digits used by the control</td> </tr> <tr> <td>Minimum size</td> <td>Based on the size of the text.</td> </tr> <tr> <td>Maximum size</td> <td>Undefined</td> </tr> </table> The <code><mx:NumericStepper></code> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes: <pre>\\n <mx:NumericStepper\\n <strong>Properties</strong>\\n imeMode="null"\\n maxChars="10"\\n maximum="10"\\n minimum="0"\\n stepSize="1"\\n value="0"\\n \\n <strong>Styles</strong>\\n backgroundAlpha="1.0"\\n backgroundColor="undefined"\\n backgroundImage="undefined"\\n backgroundSize="auto"\\n borderColor="0xAAB3B3"\\n borderSides="left top right bottom"\\n borderSkin="HaloBorder"\\n borderStyle="inset"\\n borderThickness="1"\\n color="0x0B333C"\\n cornerRadius="0"\\n disabledColor="0xAAB3B3"\\n disabledIconColor="0x999999"\\n downArrowDisabledSkin="NumericStepperDownSkin"\\n downArrowDownSkin="NumericStepperDownSkin"\\n downArrowOverSkin="NumericStepperDownSkin"\\n downArrowUpSkin="NumericStepperDownSkin"\\n dropShadowEnabled="false"\\n dropShadowColor="0x000000"\\n focusAlpha="0.5"\\n focusRoundedCorners="tl tr bl br"\\n fontAntiAliasType="advanced"\\n fontFamily="Verdana"\\n fontGridFitType="pixel"\\n fontSharpness="0"\\n fontSize="10"\\n fontStyle="normal|italic"\\n fontThickness="0"\\n fontWeight="normal|bold"\\n highlightAlphas="[0.3,0.0]"\\n iconColor="0x111111"\\n leading="2"\\n paddingLeft="0"\\n paddingRight="0"\\n shadowDirection="center"\\n shadowDistance="2"\\n textAlign="left|center|right"\\n textDecoration="none|underline"\\n textIndent="0"\\n upArrowDisabledSkin="NumericStepperUpSkin"\\n upArrowDownSkin="NumericStepperUpSkin"\\n upArrowOverSkin="NumericStepperUpSkin"\\n upArrowUpSkin="NumericStepperUpSkin"\\n \\n <strong>Events</strong>\\n change="<i>No default</i>"\\n dataChange="<i>No default</i>"\\n />\\n </pre>", | |
"tags": [ | |
{ "tagName": "includeExample", | |
"values": ["examples/NumericStepperExample.mxml"]}, | |
{ "tagName": "mxml", | |
"values": []}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "method", | |
"qname": "mx.controls.NumericStepper", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Constructor.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": []} | |
, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Object", | |
"qname": "data", | |
"namespace": "public", | |
"bindable": ["dataChange"], | |
"details": [], | |
"deprecated": {}, | |
"description": "The <code>data</code> property lets you pass a value to the component when you use it in an item renderer or item editor. You typically use data binding to bind a field of the <code>data</code> property to a property of this component. <p>When you use the control as a drop-in item renderer or drop-in item editor, Flex automatically writes the current value of the item to the <code>value</code> property of this control.</p>", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["null"]}, | |
{ "tagName": "see", | |
"values": ["mx.core.IDataRenderer"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Object", | |
"qname": "listData", | |
"namespace": "public", | |
"bindable": ["dataChange"], | |
"details": [], | |
"deprecated": {}, | |
"description": "When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the <code>listData</code> property of the component with the appropriate data from the List control. The component can then use the <code>listData</code> property to initialize the <code>data</code> property of the drop-in item renderer or drop-in item editor. <p>You do not set this property in MXML or ActionScript; Flex sets it when the component is used as a drop-in item renderer or drop-in item editor.</p>", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["null"]}, | |
{ "tagName": "see", | |
"values": ["mx.controls.listClasses.IDropInListItemRenderer"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "int", | |
"qname": "maxChars", | |
"namespace": "public", | |
"bindable": ["maxCharsChanged"], | |
"details": [], | |
"deprecated": {}, | |
"description": "The maximum number of characters that can be entered in the field. A value of 0 means that any number of characters can be entered.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["0"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "maximum", | |
"namespace": "public", | |
"bindable": ["maximumChanged"], | |
"details": [], | |
"deprecated": {}, | |
"description": "Maximum value of the NumericStepper. The maximum can be any number, including a fractional value.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["10"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "minimum", | |
"namespace": "public", | |
"bindable": ["minimumChanged"], | |
"details": [], | |
"deprecated": {}, | |
"description": "Minimum value of the NumericStepper. The minimum can be any number, including a fractional value.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["0"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "stepSize", | |
"namespace": "public", | |
"bindable": ["stepSizeChanged"], | |
"details": [], | |
"deprecated": {}, | |
"description": "Non-zero unit of change between values. The <code>value</code> property must be a multiple of this number.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["1"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Number", | |
"qname": "value", | |
"namespace": "public", | |
"bindable": ["change","valueCommit"], | |
"details": [], | |
"deprecated": {}, | |
"description": "Current value displayed in the text area of the NumericStepper control. If a user enters number that is not a multiple of the <code>stepSize</code> property or is not in the range between the <code>maximum</code> and <code>minimum</code> properties, this property is set to the closest valid value.", | |
"tags": [ | |
{ "tagName": "default", | |
"values": ["0"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "String", | |
"qname": "errorString", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["override"], | |
"deprecated": {}, | |
"description": "The text that displayed by a component's error tip when a component is monitored by a Validator and validation fails. <p>You can use the <code>errorString</code> property to show a validation error for a component, without actually using a validator class. When you write a String value to the <code>errorString</code> property, Flex draws a red border around the component to indicate the validation error, and the String appears in a tooltip as the validation error message when you move the mouse over the component, just as if a validator detected a validation error.</p> <p>To clear the validation error, write an empty String, "", to the <code>errorString</code> property.</p> <p>Note that writing a value to the <code>errorString</code> property does not trigger the valid or invalid events; it only changes the border color and displays the validation error message.</p>", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3", "Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0", "3.0"]} ]}, | |
{ "type": "method", | |
"qname": "addedToParent", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["override"], | |
"deprecated": {}, | |
"return": "void", | |
"params": []} | |
] | |
, | |
"events": [ | |
{ "qname": "change", | |
"type": "mx.events.NumericStepperEvent" | |
, | |
"description": "Dispatched when the value of the NumericStepper control changes as a result of user interaction.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "eventType", | |
"values": ["mx.events.NumericStepperEvent.CHANGE"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "qname": "dataChange", | |
"type": "mx.events.FlexEvent" | |
, | |
"description": "Dispatched when the <code>data</code> property changes. <p>When you use a component as an item renderer, the <code>data</code> property contains the data to display. You can listen for this event and update the component when the <code>data</code> property changes.</p>", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "eventType", | |
"values": ["mx.events.FlexEvent.DATA_CHANGE"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}] | |
} |