Packagemx.core
Classpublic final class ScrollPolicy
InheritanceScrollPolicy Inheritance Object

Values for the horizontalScrollPolicy and verticalScrollPolicy properties of the Container and ScrollControlBase classes.

See also

mx.core.Container
mx.core.ScrollControlBase
ScrollBar control


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined 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
Constant Detail
AUTOConstant
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.

OFFConstant 
public static const OFF:String = "off"

Never show the scrollbar.

ONConstant 
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.