Packagecom.kapit.diagram
Classpublic class DiagramDragEvent
InheritanceDiagramDragEvent Inheritance flash.events.Event

This class implements an event type used to notify registered listeners while drag operations



Public Properties
 PropertyDefined by
  group : DiagramGroup
[read-only] The temporary DiagramGroup containing the dragged DiagramObjects
DiagramDragEvent
Protected Properties
 PropertyDefined by
  _group : DiagramGroup = null
DiagramDragEvent
Public Methods
 MethodDefined by
  
DiagramDragEvent(type:String, group:DiagramGroup)
DiagramDragEvent
Public Constants
 ConstantDefined by
  DRAG_FINISHED_WITH_GROUP : String = "dragEventFinishedWithGroup"
[static] Dispatched after the drag operation has completed and before the ungroup of the selection
DiagramDragEvent
  DRAG_FINISHED_WITHOUT_GROUP : String = "dragEventFinishedWithoutGroup"
[static] Dispatched after the drag operation has completed and after the ungroup of the selection
DiagramDragEvent
  DRAGGING : String = "dragEventDragging"
[static] Dispatched when the user moves around the mouse while a drag operation is pending
DiagramDragEvent
  DRAG_STARTED : String = "dragEventStarted"
[static] Dispatched when the user initiates a drag operation
DiagramDragEvent
Property detail
_groupproperty
protected var _group:DiagramGroup = null
groupproperty 
group:DiagramGroup  [read-only]

The temporary DiagramGroup containing the dragged DiagramObjects

Implementation
    public function get group():DiagramGroup
Constructor detail
DiagramDragEvent()constructor
public function DiagramDragEvent(type:String, group:DiagramGroup)

Parameters
type:String — is one of DiagramDragEvent.DRAG_STARTED, DiagramDragEvent.DRAGGING, DiagramDragEvent.DRAG_FINISHED
 
group:DiagramGroup
Constant detail
DRAG_FINISHED_WITH_GROUPconstant
public static const DRAG_FINISHED_WITH_GROUP:String = "dragEventFinishedWithGroup"

Dispatched after the drag operation has completed and before the ungroup of the selection

DRAG_FINISHED_WITHOUT_GROUPconstant 
public static const DRAG_FINISHED_WITHOUT_GROUP:String = "dragEventFinishedWithoutGroup"

Dispatched after the drag operation has completed and after the ungroup of the selection

DRAGGINGconstant 
public static const DRAGGING:String = "dragEventDragging"

Dispatched when the user moves around the mouse while a drag operation is pending

DRAG_STARTEDconstant 
public static const DRAG_STARTED:String = "dragEventStarted"

Dispatched when the user initiates a drag operation