Packagecom.gestureworks.cml.events
Classpublic class StateEvent
InheritanceStateEvent Inheritance flash.events.Event

The StateEvent is the primary message event for CML elements and compoenents. It passes the dispatcher's id, the property name that has been changed, and the new property value.

See also

FileEvent


Public Properties
 PropertyDefined By
  id : String
[read-only]
StateEvent
  property : String
[read-only]
StateEvent
  value : *
[read-only]
StateEvent
Public Methods
 MethodDefined By
  
StateEvent(type:String, id:String = null, property:String = null, value:* = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a StateEvent object and sets defaults
StateEvent
  
clone():Event
[override] Overrides event's clone method
StateEvent
Public Constants
 ConstantDefined By
  CHANGE : String = CHANGE
[static] Event constant
StateEvent
Property Detail
idproperty
id:String  [read-only]


Implementation
    public function get id():String
propertyproperty 
property:String  [read-only]


Implementation
    public function get property():String
valueproperty 
value:*  [read-only]


Implementation
    public function get value():*
Constructor Detail
StateEvent()Constructor
public function StateEvent(type:String, id:String = null, property:String = null, value:* = null, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a StateEvent object and sets defaults

Parameters
type:String
 
id:String (default = null)
 
property:String (default = null)
 
value:* (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Overrides event's clone method

Returns
Event
Constant Detail
CHANGEConstant
public static const CHANGE:String = CHANGE

Event constant

The default value is CHANGE.