Packageardisia.components.dockingCompassContainer.events
Classpublic class DockingCompassContainerEvent
InheritanceDockingCompassContainerEvent Inheritance flash.events.Event

Event used by the DockingCompassContainer class.



Public Properties
 PropertyDefined By
  draggedRegion : CompassRegionContainer
Region being dragged.
DockingCompassContainerEvent
  dropType : String = region
For a drop, the type of drop.
DockingCompassContainerEvent
  eastDockAllowed : Boolean = true
On "enter" events, property indicates if the drop can occur over the east region within the hovered region.
DockingCompassContainerEvent
  newRegion : CompassRegionContainer
Only applicable to DRAG_DROP_COMPLETE events.
DockingCompassContainerEvent
  northDockAllowed : Boolean = true
On "enter" events, property indicates if the drop can occur over the north region within the hovered region.
DockingCompassContainerEvent
  overRegion : UIComponent
Region hovered over while dragging or the drop region on a drop.
DockingCompassContainerEvent
  southDockAllowed : Boolean = true
On "enter" events, property indicates if the drop can occur over the south region within the hovered region.
DockingCompassContainerEvent
  westDockAllowed : Boolean = true
On "enter" events, property indicates if the drop can occur over the west region within the hovered region.
DockingCompassContainerEvent
Public Methods
 MethodDefined By
  
DockingCompassContainerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, draggedRegion:CompassRegionContainer = null, overRegion:UIComponent = null)
DockingCompassContainerEvent
  
clone():Event
[override] Necessary for re-dispatching to work.
DockingCompassContainerEvent
Public Constants
 ConstantDefined By
  DRAG_DROP_COMPLETE : String = dragDropComplete
[static]
DockingCompassContainerEvent
  DRAG_DROP_STARTING : String = dragDropStarting
[static]
DockingCompassContainerEvent
  DRAG_END : String = dragEnd
[static]
DockingCompassContainerEvent
  DRAG_ENTER : String = dragEnter
[static]
DockingCompassContainerEvent
  DRAG_EXIT : String = dragExit
[static]
DockingCompassContainerEvent
  DRAG_REGION_ENTER : String = dragRegionEnter
[static]
DockingCompassContainerEvent
  DRAG_REGION_EXIT : String = dragRegionExit
[static]
DockingCompassContainerEvent
  DRAG_START : String = dragStart
[static]
DockingCompassContainerEvent
  DRAG_STARTING : String = dragStarting
[static]
DockingCompassContainerEvent
Property Detail
draggedRegionproperty
public var draggedRegion:CompassRegionContainer

Region being dragged.

The default value is null.

dropTypeproperty 
public var dropType:String = region

For a drop, the type of drop.

Either a "region" drop, meaning dropped inside of a region or a "topLevel" meaning the drop will add a region to the top level container, A.K.A. the DockingCompassContainer.

The default value is null.

eastDockAllowedproperty 
public var eastDockAllowed:Boolean = true

On "enter" events, property indicates if the drop can occur over the east region within the hovered region.

Set in the event listener.

The default value is true.

newRegionproperty 
public var newRegion:CompassRegionContainer

Only applicable to DRAG_DROP_COMPLETE events.

This is the new region created after the drop. Useful to make changes to the new region.

The default value is null.

northDockAllowedproperty 
public var northDockAllowed:Boolean = true

On "enter" events, property indicates if the drop can occur over the north region within the hovered region.

Set in the event listener.

The default value is true.

overRegionproperty 
public var overRegion:UIComponent

Region hovered over while dragging or the drop region on a drop.

The default value is null.

southDockAllowedproperty 
public var southDockAllowed:Boolean = true

On "enter" events, property indicates if the drop can occur over the south region within the hovered region.

Set in the event listener.

The default value is true.

westDockAllowedproperty 
public var westDockAllowed:Boolean = true

On "enter" events, property indicates if the drop can occur over the west region within the hovered region.

Set in the event listener.

The default value is true.

Constructor Detail
DockingCompassContainerEvent()Constructor
public function DockingCompassContainerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, draggedRegion:CompassRegionContainer = null, overRegion:UIComponent = null)



Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
draggedRegion:CompassRegionContainer (default = null)
 
overRegion:UIComponent (default = null)
Method Detail
clone()method
override public function clone():Event

Necessary for re-dispatching to work.

Returns
Event — DockingCompassContainer
Constant Detail
DRAG_DROP_COMPLETEConstant
public static const DRAG_DROP_COMPLETE:String = dragDropComplete

DRAG_DROP_STARTINGConstant 
public static const DRAG_DROP_STARTING:String = dragDropStarting

DRAG_ENDConstant 
public static const DRAG_END:String = dragEnd

DRAG_ENTERConstant 
public static const DRAG_ENTER:String = dragEnter

DRAG_EXITConstant 
public static const DRAG_EXIT:String = dragExit

DRAG_REGION_ENTERConstant 
public static const DRAG_REGION_ENTER:String = dragRegionEnter

DRAG_REGION_EXITConstant 
public static const DRAG_REGION_EXIT:String = dragRegionExit

DRAG_STARTConstant 
public static const DRAG_START:String = dragStart

DRAG_STARTINGConstant 
public static const DRAG_STARTING:String = dragStarting