Packagecom.comtaste.pantaste.components
Classpublic class DashPanelContainer
InheritanceDashPanelContainer Inheritance mx.containers.Canvas

A DashPanelContainer is the component containing the DashPanels of an application.

Each DashPanelContainer references a DashLayoutManager to place the DashPanels it shows. It furthermore has a DashDock in which are displayed the minimized DashPanels in a fashion similar to most window-based OS user interfaces.



Public Properties
 PropertyDefined by
  availHeight : Number
The available height to place the DashPanels.
DashPanelContainer
  availWidth : Number
The available width to place the DashPanels.
DashPanelContainer
  cascadeSize : Number
Vertical and horizontal offset when cascading the DashPanels.
DashPanelContainer
  dashed : Boolean
Indicates whether the container area is dashed.
DashPanelContainer
  dock : DashDock
Reference to this DashPanelContainer's DashDock bar.
DashPanelContainer
  snapped : Boolean
Indicates whether there exists a snap grid in the container area.
DashPanelContainer
  snapSize : Number
Side length of each square cell of the snap grid.
DashPanelContainer
Protected Properties
 PropertyDefined by
  layoutManager : DashLayoutManager
Reference to this DashPanelContainer's DashLayoutManager.
DashPanelContainer
Public Methods
 MethodDefined by
  
Constructor.
DashPanelContainer
  
generatepantasteChangeEvent(changeType:String):void
Dispatches the DashPanelContainerEvent related to a change in the content of the DashPanelContainer
DashPanelContainer
Protected Methods
 MethodDefined by
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
DashPanelContainer
Events
 EventSummaryDefined by
   Dispatched when some change occours in sub panels moved minimized maximized restored added removed DashPanelContainer
Public Constants
 ConstantDefined by
  PANEL_ADDED : String = "pantastePanelAdded"
[static] Constant defining the type of change event of adding a DashPanel.
DashPanelContainer
  PANEL_MAXIMIZED : String = "pantastePanelMaximized"
[static] Constant defining the type of change event of maximizing a DashPanel.
DashPanelContainer
  PANEL_MINIMIZED : String = "pantastePanelMinimized"
[static] Constant defining the type of change event of minimizing a DashPanel.
DashPanelContainer
  PANEL_MOVED : String = "pantastePanelMoved"
[static] Constant defining the type of change event of moving a DashPanel.
DashPanelContainer
  PANEL_REMOVED : String = "pantastePanelRemoved"
[static] Constant defining the type of change event of removing a DashPanel.
DashPanelContainer
  PANEL_RESTORED : String = "pantastePanelRestored"
[static] Constant defining the type of change event of restoring a DashPanel.
DashPanelContainer
Property detail
availHeightproperty
public var availHeight:Number

The available height to place the DashPanels.

availWidthproperty 
public var availWidth:Number

The available width to place the DashPanels.

cascadeSizeproperty 
cascadeSize:Number  [read-write]

Vertical and horizontal offset when cascading the DashPanels.

This property can be used as the source for data binding.

Implementation
    public function get cascadeSize():Number
    public function set cascadeSize(value:Number):void
dashedproperty 
dashed:Boolean  [read-write]

Indicates whether the container area is dashed.

This property can be used as the source for data binding.

Implementation
    public function get dashed():Boolean
    public function set dashed(value:Boolean):void
dockproperty 
public var dock:DashDock

Reference to this DashPanelContainer's DashDock bar.

See also

layoutManagerproperty 
protected var layoutManager:DashLayoutManager

Reference to this DashPanelContainer's DashLayoutManager.

See also

snappedproperty 
snapped:Boolean  [read-write]

Indicates whether there exists a snap grid in the container area.

This property can be used as the source for data binding.

Implementation
    public function get snapped():Boolean
    public function set snapped(value:Boolean):void
snapSizeproperty 
snapSize:Number  [read-write]

Side length of each square cell of the snap grid.

This property can be used as the source for data binding.

Implementation
    public function get snapSize():Number
    public function set snapSize(value:Number):void
Constructor detail
DashPanelContainer()constructor
public function DashPanelContainer()

Constructor.

Method detail
generatepantasteChangeEvent()method
public function generatepantasteChangeEvent(changeType:String):void

Dispatches the DashPanelContainerEvent related to a change in the content of the DashPanelContainer

Parameters
changeType:String — The string specifying the type of change occurred

See also

updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters
unscaledWidth:Number
 
unscaledHeight:Number
Event detail
pantasteChangedevent 
Event object type: com.comtaste.pantaste.events.DashPanelContainerEvent

Dispatched when some change occours in sub panels moved minimized maximized restored added removed

Constant detail
PANEL_ADDEDconstant
public static const PANEL_ADDED:String = "pantastePanelAdded"

Constant defining the type of change event of adding a DashPanel.

PANEL_MAXIMIZEDconstant 
public static const PANEL_MAXIMIZED:String = "pantastePanelMaximized"

Constant defining the type of change event of maximizing a DashPanel.

PANEL_MINIMIZEDconstant 
public static const PANEL_MINIMIZED:String = "pantastePanelMinimized"

Constant defining the type of change event of minimizing a DashPanel.

PANEL_MOVEDconstant 
public static const PANEL_MOVED:String = "pantastePanelMoved"

Constant defining the type of change event of moving a DashPanel.

PANEL_REMOVEDconstant 
public static const PANEL_REMOVED:String = "pantastePanelRemoved"

Constant defining the type of change event of removing a DashPanel.

PANEL_RESTOREDconstant 
public static const PANEL_RESTORED:String = "pantastePanelRestored"

Constant defining the type of change event of restoring a DashPanel.