Main Page | Packages | Class Tree | Index | Help

xp.events

class DragDropEvent

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


class DragDropEvent
extends Event

DragDropEvent
An event raiased when dragging and dropping. The event is cancelable. Set the cancel property to true to cancel the action.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


context: Object
The context object the event is related to For tree drop events this is an object with the properties: dragTree - The tree which is the parent of the node being dragged dropTree - The tree which is the parent of the node being dropped on node - The node being dragged parentNode - The parent node wher the node is benig dropped index - The index position where the node will be inserted position - The requested position before, after, over copy - True if the node is being copied


type: String
The type of event, the string "node"-one of "drag" or "drop"

Fields inherited from class xp.events.Event

bubbles, cancel, currentTarget, handled, target, type

Constructor

public
DragDropEvent ( type: String, context: Object)
Constructs a new drag and drop event



Field Documentation

context

var context: Object
The context object the event is related to For tree drop events this is an object with the properties: dragTree - The tree which is the parent of the node being dragged dropTree - The tree which is the parent of the node being dropped on node - The node being dragged parentNode - The parent node wher the node is benig dropped index - The index position where the node will be inserted position - The requested position before, after, over copy - True if the node is being copied

type

var type: String
The type of event, the string "node"-one of "drag" or "drop"


Constructor Documentation

DragDropEvent

public function DragDropEvent(type: String,
 context: Object)
Constructs a new drag and drop event

Parameters:
type
The type of event, one of drag or drop
context
The context object the event is related to

The documentation was generated from the following file:


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