Main Page | Packages | Class Tree | Index | Help

xp.events

class ItemChangeEvent

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


class ItemChangeEvent
extends Event

Broadcast when the an item is changing

Broadcast to all registered listeners when data item changes are being applied. Handlers of this event can set cancel to true to cancel applying the changes.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


newItem: Object
The new item.


oldItem: Object
The previous item.

Fields inherited from class xp.events.Event

bubbles, cancel, currentTarget, handled, target, type

Constructor

public
ItemChangeEvent ( type: String, oldItem: Object, newItem: Object)
Constructs a new item change event



Field Documentation

newItem

var newItem: Object
The new item.

oldItem

var oldItem: Object
The previous item.


Constructor Documentation

ItemChangeEvent

public function ItemChangeEvent(type: String,
 oldItem: Object,
 newItem: Object)
Constructs a new item change event

Parameters:
type
The event type
oldItem
The new item.
newItem
The previous item.

The documentation was generated from the following file:


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