Packagecom.degrafa.states
Classpublic class State
InheritanceState Inheritance flash.events.EventDispatcher

The State class defines a view state, a particular view of a object. Degrafa states work very much like Flex 2 or 3 built in states. For further details reffer to the Flex 2 or 3 documentation.

Default MXML Propertyoverrides



Public Properties
 PropertyDefined by
  basedOn : String
The name of the view state upon which this view state is based
State
  name : String
The name of the view state.
State
  overrides : Array
The overrides for this view state, as an Array of objects that implement the IOverride interface.
State
  stateManager : StateManager
Access to the degrafa state manager.
State
Public Methods
 MethodDefined by
  
Constructor.
State
Events
 EventSummaryDefined by
    State
    State
Property detail
basedOnproperty
public var basedOn:String

The name of the view state upon which this view state is based

nameproperty 
public var name:String

The name of the view state. In skins it is common to use the skin name the state is to be applied to for example upSkin.

overridesproperty 
public var overrides:Array

The overrides for this view state, as an Array of objects that implement the IOverride interface.

stateManagerproperty 
public var stateManager:StateManager

Access to the degrafa state manager.

Constructor detail
State()constructor
public function State()

Constructor.

Event detail
enterStateevent 
Event object type: mx.events.FlexEvent

exitStateevent  
Event object type: mx.events.FlexEvent