Package | com.myflashlab.air.extensions.richWebView.ios |
Class | public class ScrollView |
Inheritance | ScrollView Object |
Property | Defined By | ||
---|---|---|---|
alwaysBounceHorizontal : Boolean
if YES and bounces is YES, even if content is smaller than bounds, allow drag horizontally. | ScrollView | ||
alwaysBounceVertical : Boolean
if YES and bounces is YES, even if content is smaller than bounds, allow drag vertically. | ScrollView | ||
bounces : Boolean
if true, bounces past edge of content and back again. | ScrollView | ||
contentOffsetX : int [read-only] | ScrollView | ||
contentOffsetY : int [read-only] | ScrollView | ||
contentSizeHeight : int [read-only] | ScrollView | ||
contentSizeWidth : int [read-only] | ScrollView | ||
indicatorStyle : int
indicates the current active scroll indicator style. | ScrollView | ||
maximumZoomScale : Number
must be > minimum zoom scale to enable zooming. | ScrollView | ||
minimumZoomScale : Number
default is 1.0. | ScrollView | ||
pagingEnabled : Boolean
default false. | ScrollView | ||
scrollEnabled : Boolean default YES. | ScrollView | ||
scrollsToTop : Boolean
When the user taps the status bar, the scroll view beneath the touch which is closest to the status bar will be
scrolled to top, but only if its `scrollsToTop` property is YES, its delegate does not return NO from
`-scrollViewShouldScrollToTop:`, and it is not already at the top. | ScrollView | ||
showsHorizontalScrollIndicator : Boolean
show indicator while we are tracking. | ScrollView | ||
showsVerticalScrollIndicator : Boolean
show indicator while we are tracking. | ScrollView | ||
zoomScale : Number [read-only]
default is 1.0. | ScrollView |
Method | Defined By | ||
---|---|---|---|
flashScrollIndicators():void
displays the scroll indicators for a short time. | ScrollView | ||
keyboardDismissMode(a:int):void | ScrollView | ||
scrollBy($x:Boolean, $y:Boolean, $animated:Boolean):void | ScrollView | ||
scrollTo($x:Boolean, $y:Boolean, $animated:Boolean):void | ScrollView | ||
setContentOffset($x:int, $y:int, $animated:Boolean):void
animate at constant velocity to new offset
| ScrollView | ||
setZoomScale($value:Number, $animated:Boolean):void | ScrollView |
alwaysBounceHorizontal | property |
alwaysBounceHorizontal:Boolean
if YES and bounces is YES, even if content is smaller than bounds, allow drag horizontally. default value is false
public function get alwaysBounceHorizontal():Boolean
public function set alwaysBounceHorizontal(value:Boolean):void
alwaysBounceVertical | property |
alwaysBounceVertical:Boolean
if YES and bounces is YES, even if content is smaller than bounds, allow drag vertically. default value is false
public function get alwaysBounceVertical():Boolean
public function set alwaysBounceVertical(value:Boolean):void
bounces | property |
bounces:Boolean
if true
, bounces past edge of content and back again. default value is true.
public function get bounces():Boolean
public function set bounces(value:Boolean):void
contentOffsetX | property |
contentOffsetX:int
[read-only] public function get contentOffsetX():int
contentOffsetY | property |
contentOffsetY:int
[read-only] public function get contentOffsetY():int
contentSizeHeight | property |
contentSizeHeight:int
[read-only] public function get contentSizeHeight():int
contentSizeWidth | property |
contentSizeWidth:int
[read-only] public function get contentSizeWidth():int
indicatorStyle | property |
indicatorStyle:int
indicates the current active scroll indicator style.
public function get indicatorStyle():int
public function set indicatorStyle(value:int):void
maximumZoomScale | property |
maximumZoomScale:Number
must be > minimum zoom scale to enable zooming. default is 1.0.
public function get maximumZoomScale():Number
public function set maximumZoomScale(value:Number):void
minimumZoomScale | property |
minimumZoomScale:Number
default is 1.0.
public function get minimumZoomScale():Number
public function set minimumZoomScale(value:Number):void
pagingEnabled | property |
pagingEnabled:Boolean
default false
. if true
, stop on multiples of view bounds.
public function get pagingEnabled():Boolean
public function set pagingEnabled(value:Boolean):void
scrollEnabled | property |
scrollEnabled:Boolean
default YES. turn off any dragging
public function get scrollEnabled():Boolean
public function set scrollEnabled(value:Boolean):void
scrollsToTop | property |
scrollsToTop:Boolean
When the user taps the status bar, the scroll view beneath the touch which is closest to the status bar will be scrolled to top, but only if its `scrollsToTop` property is YES, its delegate does not return NO from `-scrollViewShouldScrollToTop:`, and it is not already at the top.
On iPhone, we execute this gesture only if there's one on-screen scroll view with `scrollsToTop` == YES. If more than one is found, none will be scrolled.
default is YES.
public function get scrollsToTop():Boolean
public function set scrollsToTop(value:Boolean):void
showsHorizontalScrollIndicator | property |
showsHorizontalScrollIndicator:Boolean
show indicator while we are tracking. fades out after tracking. default value is true.
public function get showsHorizontalScrollIndicator():Boolean
public function set showsHorizontalScrollIndicator(value:Boolean):void
showsVerticalScrollIndicator | property |
showsVerticalScrollIndicator:Boolean
show indicator while we are tracking. fades out after tracking. default value is true.
public function get showsVerticalScrollIndicator():Boolean
public function set showsVerticalScrollIndicator(value:Boolean):void
zoomScale | property |
zoomScale:Number
[read-only] default is 1.0.
public function get zoomScale():Number
See also
flashScrollIndicators | () | method |
public function flashScrollIndicators():void
displays the scroll indicators for a short time. This should be done whenever you bring the scroll view to front.
keyboardDismissMode | () | method |
public function keyboardDismissMode(a:int):void
Parameters
a:int |
See also
scrollBy | () | method |
public function scrollBy($x:Boolean, $y:Boolean, $animated:Boolean):void
Parameters
$x:Boolean | |
$y:Boolean | |
$animated:Boolean |
scrollTo | () | method |
public function scrollTo($x:Boolean, $y:Boolean, $animated:Boolean):void
Parameters
$x:Boolean | |
$y:Boolean | |
$animated:Boolean |
setContentOffset | () | method |
public function setContentOffset($x:int, $y:int, $animated:Boolean):void
animate at constant velocity to new offset
Parameters
$x:int | |
$y:int | |
$animated:Boolean |
setZoomScale | () | method |
public function setZoomScale($value:Number, $animated:Boolean):void
Parameters
$value:Number | |
$animated:Boolean |
See also