Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
mx.states 

The mx.states package contains the classes to support view states. Each view state, represented by a State object, can override the characteristics of the base (default) state. Flex can be in only one view state at a time, and you set the view state by using the UIObject currentState property or setCurrentState() method. The package includes classes to add or delete child display objects, and to set properties, styles, and event handlers on components.



Interfaces
 InterfaceDescription
 IOverride The IOverride interface is used for view state overrides.
Classes
 ClassDescription
 AddChild The AddChild class adds a child display object, such as a component, to a container as part of a view state.
 AddItems Documentation is not currently available.
 OverrideBase The OverrideBase class is the base class for the override classes used by view states.
 RemoveChild The RemoveChild class removes a child display object, such as a component, from a container as part of a view state.
 SetEventHandler The SetEventHandler class specifies an event handler that is active only during a particular view state.
 SetProperty The SetProperty class specifies a property value that is in effect only during the parent view state.
 SetStyle The SetStyle class specifies a style that is in effect only during the parent view state.
 State The State class defines a view state, a particular view of a component.
 Transition The Transition class defines a set of effects that play in response to a change of view state.