Main Page | Packages | Class Tree | Index | Help

xp.events

class CommandEvent

Object
  |
  +--xp.events.Event
        |
        +--xp.events.CommandEvent


class CommandEvent
extends Event

Broadcast when a command is fired.

Notifies listeners that a command should be executed.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


context: Context
The context associated with this command.


name: String
The name of the command.


type: String
The type of event, the string "command".

Fields inherited from class xp.events.Event

bubbles, cancel, currentTarget, handled, target, type

Constructor

public
CommandEvent ( name: String, context: Context)
Constructs a new Command event



Field Documentation

context

var context: Context
The context associated with this command.

name

var name: String
The name of the command.

type

var type: String
The type of event, the string "command".


Constructor Documentation

CommandEvent

public function CommandEvent(name: String,
 context: Context)
Constructs a new Command event

Parameters:
name
The name of the command.
context
The context associated with this command.

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc