Packageorg.apache.flex.html.beads
Classpublic class ScrollBarView
InheritanceScrollBarView Inheritance Strand Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IBeadView, IStrand, IScrollBarView
Subclasses HScrollBarView, VScrollBarView

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The ScrollBarView class is the default view for the org.apache.flex.html.supportClasses.ScrollBar class. It implements the classic desktop-like ScrollBar. A different view would implement more modern scrollbars that hide themselves until hovered over with the mouse.



Public Properties
 PropertyDefined By
 Inheritedbeads : Array
Strand
  decrement : DisplayObject
[read-only] The up arrow button in a vertical ScrollBar or left arrow button in a horizontal ScrollBar
ScrollBarView
  host : IUIBase
[read-only] The host component.
ScrollBarView
 Inheritedid : String
An id property for MXML documents.
Strand
  increment : DisplayObject
[read-only] The down arrow button in a vertical ScrollBar or right arrow button in a horizontal ScrollBar
ScrollBarView
 Inheritedmodel : IBeadModel
An IBeadModel that serves as the data model for the component.
Strand
  strand : IStrand
[write-only] The host component for this bead.
ScrollBarView
  thumb : DisplayObject
[read-only] The thumb in a ScrollBar
ScrollBarView
  track : DisplayObject
[read-only] The track in a ScrollBar
ScrollBarView
  viewHeight : Number
[read-only]
ScrollBarView
  viewWidth : Number
[read-only]
ScrollBarView
Protected Properties
 PropertyDefined By
  _decrement : DisplayObject
ScrollBarView
  _increment : DisplayObject
ScrollBarView
  layout : IBeadLayout
The layout.
ScrollBarView
  sbModel : IScrollBarModel
ScrollBarView
  _strand : IStrand
ScrollBarView
  _thumb : DisplayObject
ScrollBarView
  _track : DisplayObject
ScrollBarView
Public Methods
 MethodDefined By
  
Constructor.
ScrollBarView
 Inherited
addBead(bead:IBead):void
Add a bead to the strand.
Strand
 Inherited
getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand.
Strand
 Inherited
Remove a bead from the strand.
Strand
Protected Methods
 MethodDefined By
  
changeHandler(event:Event):void
ScrollBarView
Public Constants
 ConstantDefined By
  FullSize : int = 12
[static]
ScrollBarView
  HalfSize : int = 6
[static]
ScrollBarView
  QuarterSize : int = 3
[static]
ScrollBarView
  ThirdSize : int = 4
[static]
ScrollBarView
  ThreeQuarterSize : int = 9
[static]
ScrollBarView
Property Detail
_decrementproperty
protected var _decrement:DisplayObject

_incrementproperty 
protected var _increment:DisplayObject

_strandproperty 
protected var _strand:IStrand

_thumbproperty 
protected var _thumb:DisplayObject

_trackproperty 
protected var _track:DisplayObject

decrementproperty 
decrement:DisplayObject  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The up arrow button in a vertical ScrollBar or left arrow button in a horizontal ScrollBar


Implementation
    public function get decrement():DisplayObject
hostproperty 
host:IUIBase  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component.


Implementation
    public function get host():IUIBase
incrementproperty 
increment:DisplayObject  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The down arrow button in a vertical ScrollBar or right arrow button in a horizontal ScrollBar


Implementation
    public function get increment():DisplayObject
layoutproperty 
protected var layout:IBeadLayout

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The layout.

sbModelproperty 
protected var sbModel:IScrollBarModel

strandproperty 
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
thumbproperty 
thumb:DisplayObject  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The thumb in a ScrollBar


Implementation
    public function get thumb():DisplayObject
trackproperty 
track:DisplayObject  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The track in a ScrollBar


Implementation
    public function get track():DisplayObject
viewHeightproperty 
viewHeight:Number  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6


Implementation
    public function get viewHeight():Number
viewWidthproperty 
viewWidth:Number  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6


Implementation
    public function get viewWidth():Number
Constructor Detail
ScrollBarView()Constructor
public function ScrollBarView()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
changeHandler()method
protected function changeHandler(event:Event):void

Parameters

event:Event

Constant Detail
FullSizeConstant
public static const FullSize:int = 12

HalfSizeConstant 
public static const HalfSize:int = 6

QuarterSizeConstant 
public static const QuarterSize:int = 3

ThirdSizeConstant 
public static const ThirdSize:int = 4

ThreeQuarterSizeConstant 
public static const ThreeQuarterSize:int = 9