Packageorg.apache.flex.html.beads
Classpublic class PanelWithControlBarView
InheritancePanelWithControlBarView Inheritance ContainerView Inheritance BeadViewBase Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IBeadView

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The Panel class creates the visual elements of the org.apache.flex.html.Panel component. A Panel has a org.apache.flex.html.TitleBar, content, and an optional org.apache.flex.html.ControlBar.



Public Properties
 PropertyDefined By
 InheritedcontentView : IParentIUIBase
[read-only] The sub-element used as the parent of the container's elements.
ContainerView
  controlBar : ControlBar
[read-only] The org.apache.flex.html.ControlBar for the Panel; may be null.
PanelWithControlBarView
 Inheritedhost : IUIBase
[read-only] The host component.
BeadViewBase
 InheritedresizableView : IUIBase
[read-only] The view that can be resized.
ContainerView
  strand : IStrand
[override] [write-only] The host component for this bead.
PanelWithControlBarView
 Inherited_strand : IStrand
The strand.
BeadViewBase
  titleBar : TitleBar
[read-only] The org.apache.flex.html.TitleBar component of the org.apache.flex.html.Panel.
PanelWithControlBarView
 InheritedviewportModel : IViewportModel
[read-only] The data model used by the viewport to determine how it should present the content area.
ContainerView
Protected Properties
 PropertyDefined By
 Inheritedviewport : IViewport
[read-only] The viewport used to present the content and may display scroll bars (depending on the actual type of viewport).
ContainerView
Public Methods
 MethodDefined By
  
constructor.
PanelWithControlBarView
Protected Methods
 MethodDefined By
 Inherited
Whenever children are added, listeners are added to detect changes in their size.
ContainerView
 Inherited
This event handles changes to the size of children of the container by running the layout again and adjusting the size of the container or viewport as necessary.
ContainerView
  
[override]
PanelWithControlBarView
 Inherited
Creates the Viewport (or ScrollableViewport) through which the content area is presented.
ContainerView
 Inherited
ContainerView
  
[override] Calculate the space taken up by non-content children like a TItleBar in a Panel.
PanelWithControlBarView
 Inherited
Handles the initComplete event by completing the setup and kicking off the presentation of the Container.
ContainerView
  
[override]
PanelWithControlBarView
  
[override]
PanelWithControlBarView
 Inherited
performLayout(event:Event):void
Executes the layout associated with this container.
ContainerView
 Inherited
resizeHandler(event:Event):void
Handles dynamic changes to the host's size by running the layout once the viewport has been adjusted.
ContainerView
 Inherited
Handles the viewCreated event by performing the first layout if there are children already present (ie, from MXML).
ContainerView
Property Detail
controlBarproperty
controlBar:ControlBar  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The org.apache.flex.html.ControlBar for the Panel; may be null.


Implementation
    public function get controlBar():ControlBar
strandproperty 
strand:IStrand  [write-only] [override]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
titleBarproperty 
titleBar:TitleBar  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The org.apache.flex.html.TitleBar component of the org.apache.flex.html.Panel.


Implementation
    public function get titleBar():TitleBar
Constructor Detail
PanelWithControlBarView()Constructor
public function PanelWithControlBarView()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

constructor.

Method Detail
completeSetup()method
override protected function completeSetup():void

getChromeMetrics()method 
override protected function getChromeMetrics():Rectangle

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Calculate the space taken up by non-content children like a TItleBar in a Panel.

Returns
Rectangle
layoutViewAfterContentLayout()method 
override protected function layoutViewAfterContentLayout():void

layoutViewBeforeContentLayout()method 
override protected function layoutViewBeforeContentLayout():void