mx.states 패키지에는 뷰 상태를 지원하는 클래스가 들어 있습니다. 상태 객체로 표현되는 각 뷰 상태는 기본 상태의 특성을 무시할 수 있습니다. Flex는 한 번에 한 가지 뷰 상태로만 표현될 수 있으며 뷰 상태를 설정하려면 UIObject currentState 속성이나 setCurrentState() 메서드를 사용합니다. 이 패키지에는 구성 요소에 대해 속성, 스타일 및 이벤트 핸들러를 설정하고 자식 표시 객체를 추가 또는 삭제하는 클래스가 포함되어 있습니다.
인터페이스
| 인터페이스 | 설명 | |
|---|---|---|
| IOverride | The IOverride interface is used for view state overrides. |
클래스
| 클래스 | 설명 | |
|---|---|---|
| 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. | |
| InterruptionBehavior | The InterruptionBehavior class defines constants for use with the interruptionBehavior property of the mx.states.Transition class. | |
| 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. |
Tue Jun 12 2018, 03:32 PM Z