Package | mx.core |
Class | public final class ScrollPolicy |
Inheritance | ScrollPolicy ![]() |
horizontalScrollPolicy
and
verticalScrollPolicy
properties
of the Container and ScrollControlBase classes.
See also
Constant | Defined By | ||
---|---|---|---|
AUTO : String = "auto" [static]
Show the scrollbar if the children exceed the owner's dimension. | ScrollPolicy | ||
OFF : String = "off" [static]
Never show the scrollbar. | ScrollPolicy | ||
ON : String = "on" [static]
Always show the scrollbar. | ScrollPolicy |
AUTO | Constant |
public static const AUTO:String = "auto"
Show the scrollbar if the children exceed the owner's dimension. The size of the owner is not adjusted to account for the scrollbars when they appear, so this may cause the scrollbar to obscure the contents of the control or container.
OFF | Constant |
public static const OFF:String = "off"
Never show the scrollbar.
ON | Constant |
public static const ON:String = "on"
Always show the scrollbar. The size of the scrollbar is automatically added to the size of the owner's contents to determine the size of the owner if explicit sizes are not specified.