Packagenet.goozo.mx.dockalbe
Classpublic class ClosablePanel
InheritanceClosablePanel Inheritance mx.containers.TitleWindow
SubclassesDockablePanel, FloatPanel

The ClosablePanel class is the base class of DockablePanel and FloatPanel.



Public Properties
 PropertyDefined by
  autoCreatePanelEnabled : Boolean
[read-only] If autoCreatePanelEnabled is false, the children in this DockableTabNavigator can only be dropped into another existing DockableTabNavigator.
ClosablePanel
  floatEnabled : Boolean
[read-only] floatEnabled indicates whether the children in this tabnavigator can be dragged out and canverted to a FloatPanel.
ClosablePanel
  lockPanel : Boolean = false
Set lockPanel to true so that the panel can not be converted to FloatPanel.( If it's a DockablePanel ) And if lockPanel is set to true, the panel won't be removed by the system even if all it's children have be removed.
ClosablePanel
  multiTabEnabled : Boolean
[read-only] multiTabEnabled indicates whether the tabNavigator allows more than one child.
ClosablePanel
Public Methods
 MethodDefined by
  
ClosablePanel(fromChild:Container = null)
Constructor
ClosablePanel
Property detail
autoCreatePanelEnabledproperty
autoCreatePanelEnabled:Boolean  [read-only]

If autoCreatePanelEnabled is false, the children in this DockableTabNavigator can only be dropped into another existing DockableTabNavigator. If autoCreatePanelEnabled is true, A DockablePanel or a FloatPanel will be created when necessary. And the child will be put into a new DockableTabNavigator.

Implementation
    public function get autoCreatePanelEnabled():Boolean
floatEnabledproperty 
floatEnabled:Boolean  [read-only]

floatEnabled indicates whether the children in this tabnavigator can be dragged out and canverted to a FloatPanel.

Implementation
    public function get floatEnabled():Boolean
lockPanelproperty 
public var lockPanel:Boolean = false

Set lockPanel to true so that the panel can not be converted to FloatPanel.( If it's a DockablePanel ) And if lockPanel is set to true, the panel won't be removed by the system even if all it's children have be removed.

multiTabEnabledproperty 
multiTabEnabled:Boolean  [read-only]

multiTabEnabled indicates whether the tabNavigator allows more than one child.

Implementation
    public function get multiTabEnabled():Boolean
Constructor detail
ClosablePanel()constructor
public function ClosablePanel(fromChild:Container = null)

Constructor

Parameters
fromChild:Container (default = null) — If fromChild is not an IDockableContainer instance, a new DockableTabNavigator will be created, and put it as its first tab child.