| Package | com.comtaste.pantaste.components |
| Class | public class DashDock |
| Inheritance | DashDock mx.containers.Canvas |
The DashPanelContainer can show several DashPanels. However, if minimized, they can be resumed interacting with the DashContainer's DashDock. Each minimized DashPanel is represented on the DashDock as a Button.
See also
| Property | Defined by | ||
|---|---|---|---|
| menuData : Array
Entries of the start menu.
| DashDock | ||
| Method | Defined by | ||
|---|---|---|---|
|
DashDock(container:DashPanelContainer)
Constructor.
| DashDock | ||
|
Adds a DashPanel to the DashDock.
| DashDock | ||
|
removePanel(panel:DashPanel):void
Removes a DashPanel from the DashDock.
| DashDock | ||
| Method | Defined by | ||
|---|---|---|---|
|
createMenuLoadWorkspace():void
Populates the menu related (
workspaceMenu) to the saved and loadable sessions. | DashDock | ||
|
createMenuPanel():void
Populates the menu related to the minimized and started panels of the current session.
| DashDock | ||
|
onMenuClick(event:MenuEvent):void
Handler to the menu events on the menu Menu.
| DashDock | ||
|
onSaveClick(event:MouseEvent):void
Event handler for the buttons in the savePop dialog.
| DashDock | ||
|
onStartClick(event:MouseEvent):void
Handler of the click event over the startButton Button.
| DashDock | ||
|
restore(event:MouseEvent):void
Handler of the click event over the Button representing a minimized DashPanel.
| DashDock | ||
|
setSavedAspect(chiave:String):void
Loads and resumes a previously saved status of the DashContainer.
| DashDock | ||
| menuData | property |
public var menuData:ArrayEntries of the start menu.
This property can be used as the source for data binding.
See also
| DashDock | () | constructor |
public function DashDock(container:DashPanelContainer)Constructor.
Parameterscontainer:DashPanelContainer — The DashPanelContainer this DashDock refers to.
|
| addPanel | () | method |
public function addPanel(panel:DashPanel):voidAdds a DashPanel to the DashDock.
Whenever a panel is minimized, a button is added to this.hbox.
Furthermore it becomes the DashPanel's key in the dockedPanel dictionary.
panel:DashPanel — The DashPanel to add.
|
| createMenuLoadWorkspace | () | method |
protected function createMenuLoadWorkspace():void
Populates the menu related (workspaceMenu) to the saved and loadable sessions.
See also
| createMenuPanel | () | method |
protected function createMenuPanel():voidPopulates the menu related to the minimized and started panels of the current session.
See also
| onMenuClick | () | method |
protected function onMenuClick(event:MenuEvent):voidHandler to the menu events on the menu Menu.
Depending on the chosen item, one can restore a panel, save the current workspace, or load a previously saved workspace.
Parametersevent:MenuEvent — The MenuEvent to handle.
|
See also
| onSaveClick | () | method |
protected function onSaveClick(event:MouseEvent):voidEvent handler for the buttons in the savePop dialog.
This method saves the current workspace configuration, saving the opened windows and storing them in the storedSession instance variable.
Parametersevent:MouseEvent |
See also
| onStartClick | () | method |
protected function onStartClick(event:MouseEvent):voidHandler of the click event over the startButton Button.
Parametersevent:MouseEvent — The MouseEvent this method handles.
|
See also
| removePanel | () | method |
public function removePanel(panel:DashPanel):voidRemoves a DashPanel from the DashDock.
Whenever a Panel has to be removed from the DashPanelContainer, it must be removed from the dockedPanel dictionary.
panel:DashPanel — The DashPanel to remove.
|
| restore | () | method |
protected function restore(event:MouseEvent):voidHandler of the click event over the Button representing a minimized DashPanel.
The DashPanel corresponding to the clicked button is retrieved, then the DashPanelEvent.RESTORE event is dispatched.
Parametersevent:MouseEvent — the MouseEvent on the minimized DashPanel.
|
See also
| setSavedAspect | () | method |
protected function setSavedAspect(chiave:String):voidLoads and resumes a previously saved status of the DashContainer.
Parameterschiave:String — the name of the previously saved status.
|
See also