NumberEvent
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.events |
| Inherits from: | BasicEvent < Event |
| Author: | Francis Bourre |
| Classpath: | com.bourre.events.NumberEvent |
| File last modified: | Monday, 24 November 2008, 11:36:53 |
An event object which carry a numeric value.
See also:
Summary
Constructor
- NumberEvent (type:String, target:Object = null, num:Number = 0)
- Creates a new NumberEvent object.
Instance properties
Instance properties inherited from BasicEvent
Constructor
NumberEvent
public function NumberEvent (
type:String,
target:Object = null,
num:Number = 0)
Creates a new
NumberEvent object. Parameters:
type :
name of the event type
target:
target of this event
num :
numeric value carried by this event
Instance methods
clone
override public function clone (
) : Event
Clone the event
Returns:
- a clone of the event
Overrides:
getNumber
public function getNumber (
) : Number
Returns the numeric value carried by this event.
Returns:
- the numeric value carried by this event.