Packageorg.apache.flex.states
Classpublic class State
InheritanceState Inheritance Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The State class is one of the classes in the view states subsystem. It is used to declare a view state in an MXML document. This is one of the few classes in FlexJS that use the same name as a Flex SDK class because some of the IDEs and compilers are hard-coded to assume this name.



Public Properties
 PropertyDefined By
  name : String
The name of the state.
State
  overrides : Array
The array of overrides.
State
  stateGroups : String
Comma-delimited list of state groups of the state.
State
Public Methods
 MethodDefined By
  
State(properties:Object = null)
Constructor.
State
Property Detail
nameproperty
public var name:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The name of the state.

overridesproperty 
public var overrides:Array

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The array of overrides. This is normally set by the compiler.

stateGroupsproperty 
public var stateGroups:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Comma-delimited list of state groups of the state. It is not an array so don't use square brackets [].

Constructor Detail
State()Constructor
public function State(properties:Object = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
properties:Object (default = null) — This parameter is not used in FlexJS and exists to make legacy compilers happy.