Packagecom.flexicious.components.dashboard
Classpublic class DragDropZone
InheritanceDragDropZone Inheritance spark.components.BorderContainer

DragDropZone is a class that holds widgets. Widgets can be dragged and dropped between these zones or within these zones.

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  dashboardContainer : DashboardContainer
The Dashboard Container that this Drag Drop Zone belongs to.
DragDropZone
  dashlets : Array
An array of Dashlet widgets.
DragDropZone
  uniqueIdentifier : String
A key used to uniquely identify a zone.
DragDropZone
Public Methods
 MethodDefined By
  
DragDropZone
  
addDashlet(dashlet:Dashlet, idx:Number = -1):void
Adds the dashlet to the specified index (if no specified, adds to the end).
DragDropZone
  
clone(to:DragDropZone = null, dbFactory:IFactory = null, dzFactory:IFactory = null, dlFactory:IFactory = null, propertiesToTransfer:Array = null, stylesToTransfer:Array = null):DragDropZone
Clones the current Drag Drop Zone.
DragDropZone
Protected Methods
 MethodDefined By
  
addDashlets(ds:Array):void
Adds the specified dashlets to the content group
DragDropZone
  
Associates the given dashboard container will all the individual dashlets in this zone.
DragDropZone
Property Detail
dashboardContainerproperty
dashboardContainer:DashboardContainer

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

The Dashboard Container that this Drag Drop Zone belongs to.


Implementation
    public function get dashboardContainer():DashboardContainer
    public function set dashboardContainer(value:DashboardContainer):void
dashletsproperty 
dashlets:Array

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

An array of Dashlet widgets. The list of widgets in this zone


Implementation
    public function get dashlets():Array
    public function set dashlets(value:Array):void
uniqueIdentifierproperty 
uniqueIdentifier:String

A key used to uniquely identify a zone. Defaults to the element index Used in print and preference persistence to identify drag drop zones.


Implementation
    public function get uniqueIdentifier():String
    public function set uniqueIdentifier(value:String):void
Constructor Detail
DragDropZone()Constructor
public function DragDropZone()



Method Detail
addDashlet()method
public function addDashlet(dashlet:Dashlet, idx:Number = -1):void

Adds the dashlet to the specified index (if no specified, adds to the end). Keeps dashlets array in synch

Parameters

dashlet:Dashlet — Dashlet to be added
 
idx:Number (default = -1) — Index to added at. If none is specified -1

addDashlets()method 
protected function addDashlets(ds:Array):void

Adds the specified dashlets to the content group

Parameters

ds:Array

clone()method 
public function clone(to:DragDropZone = null, dbFactory:IFactory = null, dzFactory:IFactory = null, dlFactory:IFactory = null, propertiesToTransfer:Array = null, stylesToTransfer:Array = null):DragDropZone

Clones the current Drag Drop Zone.

Parameters

to:DragDropZone (default = null) — The dashboard to clone this to. Can be null. IF null, instantiated from dzFactory.newInstance()
 
dbFactory:IFactory (default = null) — The factory used to initialize the resultant dashboard
 
dzFactory:IFactory (default = null) — The factory used to initialize the resultant drag drop zone
 
dlFactory:IFactory (default = null) — The factory used to initialize the resultant dashlet
 
propertiesToTransfer:Array (default = null)
 
stylesToTransfer:Array (default = null)

Returns
DragDropZone — The cloned dashboard
setDashboardContainer()method 
protected function setDashboardContainer(value:DashboardContainer):void

Associates the given dashboard container will all the individual dashlets in this zone.

Parameters

value:DashboardContainer