Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ScrollPad class extends NavSkinnableComponent to implements "touch-like" scrolling
of multipage documents.
dataProvider:IList
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The dataProvider for the list of pages.
This property can be used as the source for data binding.
Implementation public function get dataProvider():IList
public function set dataProvider(value:IList):void
protected var delayScrollCount:int = 0
protected var delayScrollTimer:Timer
enabled:Boolean
[write-only] [override]
Implementation public function set enabled(value:Boolean):void
protected var initScrollPosition:int
model:IPreviewMultiPageModel
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The model of the multipage document being scrolled.
This property can be used as the source for data binding.
Implementation public function get model():IPreviewMultiPageModel
public function set model(value:IPreviewMultiPageModel):void
pageNavigationEnabled:Boolean
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.1 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Whether page navigation is enabled (via keyboard, mousewheel)
This property can be used as the source for data binding.
Implementation public function get pageNavigationEnabled():Boolean
public function set pageNavigationEnabled(value:Boolean):void
pageNumber:uint
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The current page number. Setting it will cause ScrollPad to scroll to the indicated page.
This property can be used as the source for data binding.
Implementation public function get pageNumber():uint
public function set pageNumber(value:uint):void
scrollDuration:Number
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The duration in msec of the scrolling action (effect).
This property can be used as the source for data binding.
Implementation public function get scrollDuration():Number
public function set scrollDuration(value:Number):void
protected var scrollEffect:Effect
scrollPosition:int
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The current scroll position. Different from the page index, it basically specifies
the vertical edge of pages.
This property can be used as the source for data binding.
Implementation public function get scrollPosition():int
public function set scrollPosition(value:int):void
protected var scrollTimer:Timer
scrollToValue:int
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The index of the page that should be scrolled to.
This property can be used as the source for data binding.
Implementation public function get scrollToValue():int
public function set scrollToValue(value:int):void
showButtons:Boolean
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Whether to show the next / previous buttons on a rollOver.
This property can be used as the source for data binding.
Implementation public function get showButtons():Boolean
public function set showButtons(value:Boolean):void
protected var wheelDelta:int = 0
public function ScrollPad()
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor.
override protected function attachSkin():void
protected function button_clickHandler(event:MouseEvent):void
Parameters
protected function chooseActivePage(index1:int, index2:int):void
Parameters
override protected function commitProperties():void
protected function dataPending():Boolean
Returns protected function delayedButtonScroll():void
protected function handleDelayScroll(e:Event):void
Parameters
public function invalidateScrolling():void
protected function jumpToPage():void
protected function onAddedToStage(e:Event):void
Parameters
protected function onEndScroll(e:Event):void
Parameters
protected function onModelPageNumberChanged(value:uint):void
Parameters
protected function onRemovedFromStage(e:Event):void
Parameters
protected function onResize(e:Event):void
Parameters
protected function pageByDelta(delta:int):void
Parameters
override protected function partAdded(partName:String, instance:Object):void
Parameters
| partName:String |
|
| instance:Object |
protected function playButtonScroll():void
protected function setModelPageNumber(pageNumber:uint):void
Parameters
protected function setPageNumber(value:uint):void
Parameters
protected function touchPad_keyDownHandler(event:KeyboardEvent):void
Parameters
protected function touchPad_mouseDownHandler(event:MouseEvent):void
Parameters
protected function touchPad_mouseUpHandler(event:MouseEvent):void
Parameters
protected function touchPad_mouseWheelHandler(event:MouseEvent):void
Parameters
protected function touchPad_rollOutHandler(event:MouseEvent):void
Parameters
protected function touchPad_rollOverHandler(event:MouseEvent):void
Parameters
protected function watchMovement(event:MouseEvent):void
Parameters
protected static const INIT_SCROLL_DURATION:int = 200
protected static const logger:ILogger
protected const MIN_SCROLL_DURATION:int = 200
Mon Apr 25 2011, 05:54 PM -07:00