Flex Dashboard Panel library (Comtaste Consulting | Enterprise RIA consulting and development)
-
I've created a project to explain how to use the "Flex Dashboard Panel library", here the link of the live application complete of source code.
The principal component of the library are:
1) DashPanelContainer
A canvas Container where we place all the DashPanel window.2) DashPanel
The window container where you can put all your content.3) DashLayoutManager
A static multiton manager to control the dashboard.4) DashPanelEvents
Control your panel programmaticaly using events.
DashPanelContainer properties:
1) dashed:
All DashPanels inside will be tiled to fit on the container and panels can be only switched with each others and not resized.2) snapped, snapSize:
All DashPanels can be moved and resized constraint to the guide drawed on the background and the snap size can be changed trough the snapSize propeties3) Nothing:
All DashPanel can be moved and resized without constraint.DashPanel properties:
1) closable, minimizable, maximizable, draggable, resizable
Control what the panel can do2) titleBarHeight="20" default 35
Set the height of the title bar if your skin need this.3) icon, iconXOffset, iconYOffset
Set an icon property an control the position with the offset4) title, titleColor, titleXOffet, showTitleText
Set the panel title and decide if you want to show or not and where with the offset5) status
Return the current status of the panel. This status is defined trough constants property of the DashPanelDashLayoutManager methods:
1) getManager(container.id)
Retrieve the pointer of the manager by passing the container id instance2) getManager(container.id).tile();
All DashPanel elements will be tiled to fit the space.3) getManager(container.id).cascade();
All DashPanel elements will be cascaded.4) getManager(container.id).bringToFront( dashpanel )
Set in fron the element if this is inside the container.5) getManager(container.id).getOpenedPanelList()
Return the list of current opened panels.DashPanelEvents:
Using the events you can listen what happen at your panel, but also you can dispatch an event to force panel do something.1) MAXIMIZE, MINIMIZE, RESTORE, CLOSE
Listen or dispatch this events to control your panel2) PANEL_MOVING, PANEL_RESIZING
This events can be only listened and inform when panel is currently moving or resizing3) STARTLOAD, STOPLOAD
Dispatching this events you will freeze the panel and a progress bar will be shownThat's all! Now you can create a fully dashboard application.
Flex Dashboard Panel library Example
Sponsored Links
Top Tags
View All Recent Tags (50)
- 28flex,
- 15help,
- 11components,
- 9flash,
- 8plugins,
- 7wedding,
- 63d,
- 6hackintosh,
- 6photos,
- 5reference,
- 5video,
- 4puremvc,
- 4springactionscript,
- 4invitation,
- 4library,
- 3api,
- 3objectivec,
- 3box2dflashas3,
- 3player,
- 3gallery,
- 2jquery,
- 2webservice,
- 2pipes,
- 2google,
- 2maps,
- 2firefox,
- 2windows,
- 2degrafa,
- 2dashboard,
- 2mashup,
- 2tools,
- 2browser,
- 2eclipse,
- 2books,
- 2ie,
- 2swfobject,
- 2business,
- 2scrolling,
- 2mouse,
- 2moving,
- 2australia,
- 2songs,
- 2rubiks,
- 2cube,
- 2undo,
- 1soap,
- 1monitor,
- 1arms,
- 1wdtv,
- 1multicore
Public Tags (818)
Aloysius 's Public Lists (0)
No lists have been created yet.
"List" is a great way to organize, share and display your specific collection of bookmarks.
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo