Packageorg.apache.flex.html.beads.controllers
Classpublic class ScrollBarMouseControllerBase
InheritanceScrollBarMouseControllerBase Inheritance 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
 PropertyDefined By
  strand : IStrand
The host component for this bead.
ScrollBarMouseControllerBase
Protected Properties
 PropertyDefined By
  sbModel : IScrollBarModel
The data model
ScrollBarMouseControllerBase
  sbView : IScrollBarView
The view
ScrollBarMouseControllerBase
Public Methods
 MethodDefined By
  
Constructor.
ScrollBarMouseControllerBase
Protected Methods
 MethodDefined By
  
Updates the model when the decrement button is clicked.
ScrollBarMouseControllerBase
  
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
  
Handles a mouse down on the thumb.
ScrollBarMouseControllerBase
  
Handles a click in the track.
ScrollBarMouseControllerBase
Property Detail
sbModelproperty
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

sbViewproperty 
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

strandproperty 
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