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

Package | org.apache.flex.html.beads
Class | public class ScrollBarView
Inheritance | ScrollBarView Strand EventDispatcher 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | beads : 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
|  | id : 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
|  | model : 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

| Property | Defined 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ScrollBarView() Constructor. | ScrollBarView
|  | addBead(bead:IBead):void Add a bead to the strand. | Strand
|  | getBeadByType(classOrInterface:Class):IBead Find a bead on the strand. | Strand
|  | removeBead(value:IBead):IBead Remove a bead from the strand. | Strand

Protected Methods

| Method | Defined By
--- | --- | ---
|  | changeHandler(event:Event):void | ScrollBarView

Public Constants

| Constant | Defined 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

_decrement | property

`protected var _decrement:DisplayObject`

_increment | property |

`protected var _increment:DisplayObject`

_strand | property |

`protected var _strand:IStrand`

_thumb | property |

`protected var _thumb:DisplayObject`

_track | property |

`protected var _track:DisplayObject`

decrement | property |

`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`

host | property |

`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`

increment | property |

`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`

layout | property |

`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.

sbModel | property |

`protected var sbModel:IScrollBarModel`

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`

thumb | property |

`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`

track | property |

`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`

viewHeight | property |

`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`

viewWidth | property |

`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

FullSize | Constant

`public static const FullSize:int = 12`

HalfSize | Constant |

`public static const HalfSize:int = 6`

QuarterSize | Constant |

`public static const QuarterSize:int = 3`

ThirdSize | Constant |

`public static const ThirdSize:int = 4`

ThreeQuarterSize | Constant |

`public static const ThreeQuarterSize:int = 9`

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