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

Package | org.apache.flex.html.beads.models
Class | public class RangeModel
Inheritance | RangeModel EventDispatcher flash.events.EventDispatcher
Implements | IBead, IRangeModel
Subclasses | RangeModelExtended, ScrollBarModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The RangeModel class bead defines a set of for a numeric range of values which includes a minimum, maximum, and current value.

Public Properties

| Property | Defined By
--- | --- | ---
|  | 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 The current value of the range, between the minimum and maximum values. The current value. | RangeModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | RangeModel() constructor. | RangeModel

Property Detail

maximum | property

`maximum:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The maximum value for the range (defaults to 100).

The maximum value.
Implementation
`public function get maximum():Number`
`public function set maximum(value:Number):void`

minimum | property |

`minimum:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The minimum value for the range (defaults to 0).

The minimum value.
Implementation
`public function get minimum():Number`
`public function set minimum(value:Number):void`

snapInterval | property |

`snapInterval:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

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. For example, if the snapInterval is 0.5, then only integers and values endnig in 0.5 are selectable.
Implementation
`public function get snapInterval():Number`
`public function set snapInterval(value:Number):void`

stepSize | property |

`stepSize:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

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..
Implementation
`public function get stepSize():Number`
`public function set stepSize(value:Number):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`

value | property |

`value:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The current value of the range, between the minimum and maximum values. Attempting to set the value outside of the minimum-maximum range changes the value to still be within the range. Note that the value is adjusted by the stepSize.

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

RangeModel | () | Constructor

`public function RangeModel()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

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