Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ContainerDestructionPolicy

Package | spark.core
Class | public final class ContainerDestructionPolicy
Inheritance | ContainerDestructionPolicy Object

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The ContainerCreationPolicy class defines the constant values for the `destructionPolicy` property of spark view classes.

See also

spark.components.supportClasses.ViewNavigatorBase.destructionPolicy
spark.components.View.destructionPolicy

Public Constants

| Constant | Defined By
--- | --- | ---
|  | AUTO : String = auto [static] The lifespan of the container's children is automatically managed by the container based on the container's own heuristic. | ContainerDestructionPolicy
|  | NEVER : String = never [static] The container never destroys its children. | ContainerDestructionPolicy

Constant Detail

AUTO | Constant

`public static const AUTO:String = auto`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The lifespan of the container's children is automatically managed by the container based on the container's own heuristic.

NEVER | Constant |

`public static const NEVER:String = never`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The container never destroys its children.

Sun Mar 5 2017, 03:42 PM +11:00