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

Package | org.apache.flex.html.beads.controllers
Class | public class ScrollBarMouseControllerBase
Inheritance | ScrollBarMouseControllerBase Object
Implements | IBeadController
Subclasses | HScrollBarMouseController, VScrollBarMouseController

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ScrollBarMouseControllerBase class is the base class for ScrollBarMouseControllers such as VScrollBarMouseController.

Public Properties

| Property | Defined By
--- | --- | ---
|  | strand : IStrand The host component for this bead. | ScrollBarMouseControllerBase

Protected Properties

| Property | Defined By
--- | --- | ---
|  | sbModel : IScrollBarModel The data model | ScrollBarMouseControllerBase
|  | sbView : IScrollBarView The view | ScrollBarMouseControllerBase

Public Methods

| Method | Defined By
--- | --- | ---
|  | ScrollBarMouseControllerBase() Constructor. | ScrollBarMouseControllerBase

Protected Methods

| Method | Defined By
--- | --- | ---
|  | decrementClickHandler(event:Event):void Updates the model when the decrement button is clicked. | ScrollBarMouseControllerBase
|  | incrementClickHandler(event:Event):void Updates the model when the increment button is clicked. | ScrollBarMouseControllerBase
|  | snap(value:Number):Number Force the input number to be "snapped" to the snapInterval. | ScrollBarMouseControllerBase
|  | thumbMouseDownHandler(event:MouseEvent):void Handles a mouse down on the thumb. | ScrollBarMouseControllerBase
|  | trackClickHandler(event:MouseEvent):void Handles a click in the track. | ScrollBarMouseControllerBase

Property Detail

sbModel | property

`protected var sbModel:IScrollBarModel`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The data model

sbView | property |

`protected var sbView:IScrollBarView`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The view

strand | property |

`strand:IStrand`

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 get strand():IStrand`
`public function set strand(value:IStrand):void`
Constructor Detail

ScrollBarMouseControllerBase | () | Constructor

`public function ScrollBarMouseControllerBase()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

decrementClickHandler | () | method

`protected function decrementClickHandler(event:Event):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Updates the model when the decrement button is clicked.

Parameters

| `event:Event`

incrementClickHandler | () | method |

`protected function incrementClickHandler(event:Event):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Updates the model when the increment button is clicked.

Parameters

| `event:Event`

snap | () | method |

`protected function snap(value:Number):Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Force the input number to be "snapped" to the snapInterval.

Parameters

| `value:Number` — The input number.

Returns

| `Number` — The input number "snapped" to the snapInterval.

thumbMouseDownHandler | () | method |

`protected function thumbMouseDownHandler(event:MouseEvent):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Handles a mouse down on the thumb. Must be overridden. Subclasses process the mouseMove and mouseUp events.

Parameters

| `event:MouseEvent`

trackClickHandler | () | method |

`protected function trackClickHandler(event:MouseEvent):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Handles a click in the track. Must be overridden.

Parameters

| `event:MouseEvent`

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