| Package | com.flexicious.components.dashboard |
| Class | public class DragDropZone |
| Inheritance | DragDropZone spark.components.BorderContainer |
Default MXML PropertymxmlContentFactory
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
addDashlets(ds:Array):void
Adds the specified dashlets to the content group
| DragDropZone | ||
setDashboardContainer(value:DashboardContainer):void
Associates the given dashboard container will all the individual dashlets in this zone. | DragDropZone | ||
| dashboardContainer | property |
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.
public function get dashboardContainer():DashboardContainer public function set dashboardContainer(value:DashboardContainer):void| dashlets | property |
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
public function get dashlets():Array public function set dashlets(value:Array):void| uniqueIdentifier | property |
uniqueIdentifier:StringA key used to uniquely identify a zone. Defaults to the element index Used in print and preference persistence to identify drag drop zones.
public function get uniqueIdentifier():String public function set uniqueIdentifier(value:String):void| DragDropZone | () | Constructor |
public function DragDropZone()| addDashlet | () | method |
public function addDashlet(dashlet:Dashlet, idx:Number = -1):voidAdds 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):voidAdds 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):DragDropZoneClones 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) |
DragDropZone — The cloned dashboard
|
| setDashboardContainer | () | method |
protected function setDashboardContainer(value:DashboardContainer):voidAssociates the given dashboard container will all the individual dashlets in this zone.
Parameters
value:DashboardContainer |