Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
RangeModelExtended

Package | org.apache.flex.html.beads.models
Class | public class RangeModelExtended
Inheritance | RangeModelExtended RangeModel EventDispatcher flash.events.EventDispatcher

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The RangeModelExtended bead expands on the RangeModel and adds a function to display a value from the model.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | labelFunction : Function A function used to format a value in the model. | RangeModelExtended
|  | maximum : Number The maximum value for the range (defaults to 100). The maximum value. | RangeModel
|  | minimum : Number The minimum value for the range (defaults to 0). The minimum value. | RangeModel
|  | snapInterval : Number The modulus value for the range. The interval that the value is rounded to when the user is drag selecting the value or entering an arbitrary value. | RangeModel
|  | stepSize : Number The amount to adjust the value either up or down toward the edge of the range. The change in value by which the increment and decrement buttons and arrow keys will affect the curent value.. | RangeModel
|  | strand : IStrand [write-only] The host component for this bead. | RangeModel
|  | value : Number [override] | RangeModelExtended

Public Methods

| Method | Defined By
--- | --- | ---
|  | RangeModelExtended() constructor. | RangeModelExtended
|  | getLabelForIndex(index:Number):String Returns the label, using the labelFunction (if provided) for the value at the given index. | RangeModelExtended

Property Detail

labelFunction | property

`labelFunction:Function`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A function used to format a value in the model.

Implementation
`public function get labelFunction():Function`
`public function set labelFunction(value:Function):void`

value | property |

`value:Number`[override]

Implementation
`public function get value():Number`
`public function set value(value:Number):void`
Constructor Detail

RangeModelExtended | () | Constructor

`public function RangeModelExtended()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Method Detail

getLabelForIndex | () | method

`public function getLabelForIndex(index:Number):String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the label, using the labelFunction (if provided) for the value at the given index.

Parameters

| `index:Number`

Returns

| `String`

Mon Sep 5 2016, 07:19 AM -07:00