Het pakket mx.states bevat de klassen die de weergavestatussen ondersteunen. Elke weergavestatus wordt vertegenwoordigd door een State-object en kan de kenmerken van de basisstatus (standaardstatus) overschrijven. Flex kan slechts één weergavestatus tegelijk activeren en u kunt deze status instellen met gebruik van de UIObject-eigenschap currentState
of -methode setCurrentState()
. Het pakket bevat klassen voor het toevoegen of verwijderen van onderliggende weergaveobjecten en voor het instellen van eigenschappen, stijlen en gebeurtenishandlers voor componenten.
Interfaces
Interface | Beschrijving | |
---|---|---|
IOverride | The IOverride interface is used for view state overrides. |
Klassen
Klasse | Beschrijving | |
---|---|---|
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. |
Wed Jun 13 2018, 11:57 AM Z