LoopEvent

Kind of class:public class
Package:com.bourre.events
Inherits from:BasicEvent < Event
Author:Cédric Néhémie
Classpath:com.bourre.events.LoopEvent
File last modified:Monday, 24 November 2008, 11:36:53
Event dispatched by the LoopCommand class
to its listeners.
See also:
  • BasicEvent
  • com.bourre.event.LoopCommand
  • com.bourre.event.LoopCommandListener

Summary


Constructor
  • LoopEvent (type:String, target:Object = null, count:Number = 0)
    • Creates a new LoopEvent object.
Instance properties
Instance properties inherited from BasicEvent
Instance methods
  • getCount : Number
    • Returns the iterations count since this event be fired.
  • clone : Event
    • Clone the event
Instance methods inherited from BasicEvent

Constructor

LoopEvent

public function LoopEvent (
type:String, target:Object = null, count:Number = 0)

Creates a new LoopEvent object.
Parameters:
type :
name of the event type
target:
target object of this event
count :
the number of iterations realized
since this event be fired

Instance methods

clone

override public function clone (
) : Event

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

getCount

public function getCount (
) : Number

Returns the iterations count since this event be fired.
Returns:
  • the number of iterations realized
    since this event be fired