Flex4 容器

 

Spark containers

 

Container                    type                          description

Application                Layout                         應用程序中的第一個容器。默認佈局是絕對的。

BorderContainer     Layout                         定義的CSS樣式控制邊框的外觀和背景填充容器的集合。

DataGroup                Layout                        Simple container that lays out it children, including data items, based on the specified layout. The default layout is absolute. 

Group                        Layout                       Simple container that lays out it children, including graphic children, based on the specified layout. The default layout is absolute.

Flex defines subclasses of Group: HGroup with horizontal layout, VGroup with vertical layout, and TileGroup with tile layout.

NavigatorContent  Layout                 Simple container that can be used in an MX navigator container, such as the ViewStack, TabNavigator and Accordion containers.

Panel                 Layout                   Displays a title bar, a caption, a border, and its children. The default layout is absolute.

SkinnableContainer     Layout    Skinnable container that lays out it children, including graphic children, based on the specified layout. This container supports skinning. The default layout is vertical.

SkinnableDataContainer  Layout  Skinnable container that lays out it children, including data items, based on the specified layout. This container supports skinning. The default layout is vertical.

TitleWindow  layout      Skinnable Panel container that is optimized for use as a pop-up window.

 

MX containers

Container                   type                Description

Accordion                  Navigator        Organizes information in a series of child panels, where one panel is active at any time.

Application              Layout           he first container in an application. The default layout is absolute.

ApplicationControlBar   Layout          Holds components that provide global navigation and application commands. Can be docked at the top of an Application container.

Box (HBox and VBox)    Layout         Displays content in a uniformly spaced row or column. An HBox container horizontally aligns its children; a VBox container vertically aligns its children.

Adobe recommends that you use the Spark containers when possible, instead of the MX Box container.

Canvas                 Layout            Defines a container in which you must explicitly position its children.

Adobe recommends that you use the Spark containers with BasicLayout when possible, instead of the MX Canvas container.

ControlBar           Layout           Places controls at the lower edge of a Panel or TitleWindow container.

DividedBox (HDividedBox and VDividedBox)   Layout           Lays out its children horizontally or vertically, much like a Box container, except that it inserts an adjustable divider between the children.

Form                Layout         Arranges its children in a standard form format.

Grid                 Layout         Arranges children as rows and columns of cells, much like an HTML table.

Panel             Layout          Displays a title bar, a caption, a border, and its children.

Adobe recommends that you use the Spark Panel container when possible, instead of the MX Panel container.

TabNavigator     Navigator   Displays a container with tabs to let users switch between different content areas.

Tile            Layout        Defines a layout that arranges its children in multiple rows or columns.

Adobe recommends that you use the Spark containers with the TileLayout when possible, instead of the MX Tile container.

TitleWindow    Layout    Displays a popup window that contains a title bar, a caption, border, a close button, and its children. The user can move the container.

ViewStack       Navigator   Defines a stack of containers that displays a single container at a time.

    

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章