Packagevegas.events
Classpublic class BooleanEvent
InheritanceBooleanEvent Inheritance BasicEvent Inheritance flash.events.Event

The BooleanEvent to dispatch an event with a Boolean object.
     var e:Event = new BooleanEvent("change", true) ;
     trace( (e as BooleanEvent).getBoolean() ) ;
     



Public Properties
 PropertyDefined by
 Inheritedcontext : *
Returns the optional context of this event.
BasicEvent
 Inheritedtarget : Object
Returns the event target.
BasicEvent
 InheritedtimeStamp : Number
Returns the timestamp of the event.
BasicEvent
 Inheritedtype : String
Returns the type of event.
BasicEvent
Public Methods
 MethodDefined by
  
BooleanEvent(type:String, b:Boolean = false, target:Object = null, context:Boolean = null, bubbles:Boolean = false, cancelable:Number = false, time:* = 0)
Creates a new BooleanEvent instance.
BooleanEvent
  
clone():Event
Returns the shallow copy of this event.
BooleanEvent
 Inherited
dispatch(channel:String = null):void
Dispatch the event with the global event flow.
BasicEvent
  
getBoolean():Boolean
Returns the Boolean value.
BooleanEvent
 Inherited
Returns the optional context of this event.
BasicEvent
 Inherited
getTarget():Object
Returns the event target.
BasicEvent
 Inherited
getTimeStamp():Number
Returns the timestamp of the event.
BasicEvent
 Inherited
getType():String
Returns the type of event.
BasicEvent
  
setBoolean(b:Boolean):void
Sets the Boolean value.
BooleanEvent
 Inherited
setContext(context:*):void
Sets the optional context object of this event.
BasicEvent
 Inherited
setTarget(target:Object):void
Sets the event target.
BasicEvent
 Inherited
setType(type:String):void
Sets the event type of this event.
BasicEvent
 Inherited
toString():String
Returns the string representation of this event.
BasicEvent
Protected Methods
 MethodDefined by
 Inherited
setTimeStamp(time:Number):void
Sets the timestamp of the event (used this method only in internal in the Event class).
BasicEvent
Constructor detail
BooleanEvent()constructor
public function BooleanEvent(type:String, b:Boolean = false, target:Object = null, context:Boolean = null, bubbles:Boolean = false, cancelable:Number = false, time:* = 0)

Creates a new BooleanEvent instance.

Parameters
type:String — the string type of the instance.
 
b:Boolean (default = false) — the Boolean object of this event.
 
target:Object (default = null) — the target of the event.
 
context:Boolean (default = null) — the optional context object of the event.
 
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
 
cancelable:Number (default = false) — indicates if the event is a cancelable event.
 
time:* (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
Method detail
clone()method
public override function clone():Event

Returns the shallow copy of this event.

Returns
Event — the shallow copy of this event.
getBoolean()method 
public function getBoolean():Boolean

Returns the Boolean value.

Returns
Boolean — the Boolean value.
setBoolean()method 
public function setBoolean(b:Boolean):void

Sets the Boolean value.

Parameters
b:Boolean