Packagemx.core
Interfacepublic interface IStateClient2 extends flash.events.IEventDispatcher, IStateClient
Implementors AccordionHeaderSkin, AccordionSkin, AlertSkin, AlignToolSkin, ApplicationSkin, ArrowDownToggleButtonSkin, ArrowRightToggleButtonSkin, ButtonBarFirstButtonSkin, ButtonBarFirstButtonSkin, ButtonBarLastButtonSkin, ButtonBarLastButtonSkin, ButtonBarMiddleButtonSkin, ButtonBarMiddleButtonSkin, ButtonBarSkin, ButtonSkin, ButtonSkin, CheckBoxSkin, CheckBoxSkin, CloseButtonSkin, ColorPickerButtonSkin, ColorPickerSkin, ColorPickerSkin, ComboBoxButtonSkin, ComboBoxSkin, ComboBoxSkin, ComboBoxTextInputSkin, DataAccordionSkin, DataGridSkin, DataNavigatorSkin, DateChooserNextMonthSkin, DateChooserNextYearSkin, DateChooserPrevMonthSkin, DateChooserPrevYearSkin, DefaultButtonSkin, DefaultButtonSkin, DefaultGridHeaderRenderer, DropDownListButtonSkin, DropDownListSkin, EditableComboBoxSkin, FormHeadingSkin, FormItemSkin, FormSkin, FullScreenButtonSkin, FullScreenButtonSkin, GripperSkin, HNoTrackNoThumbScrollBarSkin, HScrollBarSkin, HScrollBarThumbSkin, HScrollBarTrackSkin, HSliderSkin, HSliderThumbSkin, HSliderTrackSkin, ImageSkin, LinkButtonSkin, ListSkin, MacCloseButtonSkin, MacMaximizeButtonSkin, MacMinimizeButtonSkin, MacTitleBarSkin, MaximizeButtonSkin, MenuBarSkin, MenuItemSkin, MenuSkin, MinimizeButtonSkin, MuteButtonSkin, MuteButtonSkin, NavigatorSkin, NumericStepperDecrementButtonSkin, NumericStepperIncrementButtonSkin, NumericStepperSkin, NumericStepperTextInputSkin, PanelSkin, PlayPauseButtonSkin, PlayPauseButtonSkin, PopUpButtonSkin, RadioButtonSkin, RadioButtonSkin, RestoreButtonSkin, ScrollBarDownButtonSkin, ScrollBarDownButtonSkin, ScrollBarLeftButtonSkin, ScrollBarRightButtonSkin, ScrollBarThumbSkin, ScrollBarTrackSkin, ScrollBarUpButtonSkin, ScrollBarUpButtonSkin, ScrubBarSkin, ScrubBarSkin, ScrubBarThumbSkin, ScrubBarThumbSkin, ScrubBarTrackSkin, ScrubBarTrackSkin, SkinnableContainerSkin, SkinnableDataContainerSkin, SkinnablePopUpContainerSkin, SliderThumbSkin, SparkChromeWindowedApplicationSkin, SpinnerDecrementButtonSkin, SpinnerIncrementButtonSkin, SpinnerSkin, StackedFormHeadingSkin, StackedFormItemSkin, StackedFormSkin, StepperDecrButtonSkin, StepperIncrButtonSkin, TabBarButtonSkin, TabBarSkin, TabNavigatorSkin, TabSkin, TextAreaSkin, TextInputSkin, TitleBarSkin, TitleWindowCloseButtonSkin, TitleWindowSkin, ToggleButtonSkin, VNoTrackNoThumbScrollBarSkin, VScrollBarSkin, VScrollBarThumbSkin, VScrollBarTrackSkin, VSliderSkin, VSliderThumbSkin, VSliderTrackSkin, VideoPlayerSkin, ViewMenuSkin, ViewMenuSkin, ViewMenuSkin, VolumeBarSkin, VolumeBarSkin, VolumeBarThumbSkin, VolumeBarThumbSkin, VolumeBarTrackSkin, VolumeBarTrackSkin, WindowedApplicationSkin

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

The IStateClient2 interface defines the interface that components must implement to support Flex 4 view state semantics.



Public Properties
 PropertyDefined By
 InheritedcurrentState : String
The current view state.
IStateClient
  states : Array
The set of view state objects.
IStateClient2
  transitions : Array
The set of view state transitions.
IStateClient2
Public Methods
 MethodDefined By
  
hasState(stateName:String):Boolean
Determines whether the specified state has been defined on this UIComponent.
IStateClient2
Property Detail
statesproperty
states:Array

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

The set of view state objects.


Implementation
    public function get states():Array
    public function set states(value:Array):void
transitionsproperty 
transitions:Array

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

The set of view state transitions.


Implementation
    public function get transitions():Array
    public function set transitions(value:Array):void
Method Detail
hasState()method
public function hasState(stateName:String):Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Determines whether the specified state has been defined on this UIComponent.

Parameters

stateName:String — The name of the state being checked.

Returns
Boolean — Whether or not the specified state has been defined