Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
State

Package | org.apache.flex.states
Class | public class State
Inheritance | State 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

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | State(properties:Object = null) Constructor. | State

Property Detail

name | property

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

overrides | property |

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

stateGroups | property |

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

Mon Sep 5 2016, 07:19 AM -07:00