Layout Container (deprecated) @see BorderContainer
|
The layout container widget is a
frame with
a specified size that can be in either pixels, or the entirety of the
screen. Its purpose is to contain children containers, widgets or
views that have a special layout alignment associated with them, such as
top, bottom, right, left, and so on. This container widget is
useful for your top-level layout. You can position a banner,
side items, and so on.
|
Split Container (deprecated) @see BorderContainer
|
The split container widget does what
the function frames did in basic HTML: division of the current container
into independent views. The previous illustration shows use of
the split container widget. One split container widget divides the
page into a
right and left view. The right view contains another
split container widget that splits into a top and bottom view.
|
Border Container
|
The border container is a flexible meta container for holding other views.
It allows the region to be split into multiple, much like SplitContainer, but does so in a cleaner and more
configurable fashion. Use this container in place of the older Split Container.
|
Tab Container
|
The tab container widget
implements a tab view. Each tab can be another container
that controls content independently. Most often, a tab container
widget is a collection of content pane widgets, each of which display
independent
information. By selecting a tab, the selected content pane widget is brought to the front and rendered into the
browser.
|
Accordion Container
|
The accordion container widget is similar to a stack of books on a table: only one book in that stack can be visible at any time. Like tab container widgets, each view in the accordion container widget is often a content pane widget. When the required container is clicked to view, the
currently opened one is moved and closed.
You can compare this widget as a well animated sliding
view container.
|
Content Pane
|
The content pane widget is one of
the
most highly used containers in the Dojo Toolit. This widget
encapsulates
the ability to display HTML content through parsing of contents
within the ContentPage tag or through the loading of external HTML files by setting the href attibute. The
latter is more robust because you can define each of your single views as HTML
documents with embedded Dojo widgets. Doing so provides modularity in how your views are loaded and is useful for constructing
individual views. The content pane widget also supports easy
one-to-one controller to view mapping, as discussed in more
detail in the controller section of this tutorial and demonstrated in
the example at the end.
|