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

Package | org.apache.flex.html.supportClasses
Class | public class ScrollingViewport
Inheritance | ScrollingViewport Viewport Object
Implements | IBead, IViewport

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ScrollingViewport extends the Viewport class by adding horizontal and vertical scroll bars, if needed, to the content area of a Container. In addition, the content of the Container is clipped so that items extending outside the Container are hidden and reachable only by scrolling.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | contentView : IUIBase [read-only] Get the actual parent of the container's content. | Viewport
|  | horizontalScroller : IViewportScroller [read-only] | ScrollingViewport
|  | horizontalScrollPosition : Number | ScrollingViewport
|  | strand : IStrand [write-only] | Viewport
|  | verticalScroller : IViewportScroller [read-only] | ScrollingViewport
|  | verticalScrollPosition : Number | ScrollingViewport

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | contentArea : UIBase | Viewport
|  | _strand : IStrand | Viewport

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ScrollingViewport() Constructor | ScrollingViewport
|  | layoutViewportAfterContentLayout():Size [override] | ScrollingViewport
|  | layoutViewportBeforeContentLayout(width:Number, height:Number):void [override] | ScrollingViewport
|  | setPosition(x:Number, y:Number):void Sets the upper left position of the viewport | Viewport

Property Detail

horizontalScroller | property

`horizontalScroller:IViewportScroller` [read-only]

Implementation
`public function get horizontalScroller():IViewportScroller`

horizontalScrollPosition | property |

`horizontalScrollPosition:Number`

Implementation
`public function get horizontalScrollPosition():Number`
`public function set horizontalScrollPosition(value:Number):void`

verticalScroller | property |

`verticalScroller:IViewportScroller` [read-only]

Implementation
`public function get verticalScroller():IViewportScroller`

verticalScrollPosition | property |

`verticalScrollPosition:Number`

Implementation
`public function get verticalScrollPosition():Number`
`public function set verticalScrollPosition(value:Number):void`
Constructor Detail

ScrollingViewport | () | Constructor

`public function ScrollingViewport()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor

Method Detail

layoutViewportAfterContentLayout | () | method

`override public function layoutViewportAfterContentLayout():Size`

Returns

| `Size`

layoutViewportBeforeContentLayout | () | method |

`override public function layoutViewportBeforeContentLayout(width:Number, height:Number):void`

Parameters

| `width:Number`
| `height:Number`

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