BooleanEvent

Kind of class:public class
Package:com.bourre.events
Inherits from:BasicEvent < Event
Author:Francis Bourre
Classpath:com.bourre.events.BooleanEvent
File last modified:Monday, 24 November 2008, 11:36:53
An event object which carry a boolean value.
See also:

Summary


Constructor
  • BooleanEvent (type:String, target:Object = null, bool:Boolean = false)
    • Creates a new BooleanEvent object.
Instance properties
Instance properties inherited from BasicEvent
Instance methods
  • getBoolean : Boolean
    • Returns the boolean value carried by this event.
  • clone : Event
    • Clone the event
Instance methods inherited from BasicEvent

Constructor

BooleanEvent

public function BooleanEvent (
type:String, target:Object = null, bool:Boolean = false)

Creates a new BooleanEvent object.
Parameters:
type :
name of the event type
target:
target of this event
bool :
boolean value carried by this event

Instance methods

clone

override public function clone (
) : Event

Clone the event
Returns:
  • a clone of the event
Overrides:

getBoolean

public function getBoolean (
) : Boolean

Returns the boolean value carried by this event.
Returns:
  • the boolean value carried by this event.