Packageorg.apache.flex.html.beads
Classpublic class ContainerView
InheritanceContainerView Inheritance BeadViewBase Inheritance Object
Implements IBeadView, ILayoutParent
Subclasses PanelView

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

The ContainerView class is the default view for the org.apache.flex.html.Container class. It lets you use some CSS styles to manage the border, background and padding around the content area.



Public Properties
 PropertyDefined By
  border : Border
[read-only] The border.
ContainerView
  contentView : DisplayObjectContainer
[read-only] The parent of the children.
ContainerView
  hScrollBar : ScrollBar
[read-only] The horizontal ScrollBar, if it exists.
ContainerView
  resizableView : DisplayObject
[read-only] The host component, which can resize to different slots.
ContainerView
  strand : IStrand
[override] [write-only] The host component for this bead.
ContainerView
 InheritedviewHeight : Number
[read-only] The height of the view.
BeadViewBase
 InheritedviewWidth : Number
[read-only] The width of the view.
BeadViewBase
  vScrollBar : ScrollBar
[read-only] The vertical ScrollBar, if it exists.
ContainerView
Protected Properties
 PropertyDefined By
  actualParent : DisplayObjectContainer
The actual parent that parents the children.
ContainerView
 Inherited_strand : IStrand
The strand
BeadViewBase
Public Methods
 MethodDefined By
  
Constructor.
ContainerView
Protected Methods
 MethodDefined By
  
Returns true if container to create a separate ContainerContentArea.
ContainerView
  
Determines the top and left padding values, if any, as set by padding style values.
ContainerView
Property Detail
actualParentproperty
protected var actualParent:DisplayObjectContainer

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

The actual parent that parents the children.

borderproperty 
border:Border  [read-only]

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

The border.


Implementation
    public function get border():Border
contentViewproperty 
contentView:DisplayObjectContainer  [read-only]

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

The parent of the children.


Implementation
    public function get contentView():DisplayObjectContainer
hScrollBarproperty 
hScrollBar:ScrollBar  [read-only]

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

The horizontal ScrollBar, if it exists.


Implementation
    public function get hScrollBar():ScrollBar
resizableViewproperty 
resizableView:DisplayObject  [read-only]

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

The host component, which can resize to different slots.


Implementation
    public function get resizableView():DisplayObject
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
vScrollBarproperty 
vScrollBar:ScrollBar  [read-only]

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

The vertical ScrollBar, if it exists.


Implementation
    public function get vScrollBar():ScrollBar
Constructor Detail
ContainerView()Constructor
public function ContainerView()

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

Constructor.

Method Detail
contentAreaNeeded()method
protected function contentAreaNeeded():Boolean

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

Returns true if container to create a separate ContainerContentArea.

Returns
Boolean
determinePadding()method 
protected function determinePadding():Object

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

Determines the top and left padding values, if any, as set by padding style values. This includes "padding" for all padding values as well as "padding-left" and "padding-top". Returns an object with paddingLeft and paddingTop properties.

Returns
Object