Packagefeathers.controls
Classpublic class ScrollPolicy
InheritanceScrollPolicy Inheritance Object

Constants that define whether a container allows scrolling or not.



Public Constants
 ConstantDefined By
  AUTO : String = "auto"
[static] The scroller may scroll if the content is larger than the view port's bounds.
ScrollPolicy
  OFF : String = "off"
[static] The scroller does not scroll at all, even if the content is larger than the view port's bounds.
ScrollPolicy
  ON : String = "on"
[static] The scroller will always scroll.
ScrollPolicy
Constant Detail
AUTOConstant
public static const AUTO:String = "auto"

The scroller may scroll if the content is larger than the view port's bounds. If the interaction mode is touch, the elastic edges will only be active if the maximum scroll position is greater than zero. If the scroll bar display mode is fixed, the scroll bar will only be visible when the maximum scroll position is greater than zero.

OFFConstant 
public static const OFF:String = "off"

The scroller does not scroll at all, even if the content is larger than the view port's bounds. If the scroll bar display mode is fixed or float, the scroll bar will never be visible.

ONConstant 
public static const ON:String = "on"

The scroller will always scroll. If the interaction mode is touch, elastic edges will always be active, even when the maximum scroll position is zero. If the scroll bar display mode is fixed, the scroll bar will always be visible.