dojox/mobile/FixedSplitter
This widget is a container that shows its children side by side. The children can be laid out either
horizontally or vertically. The children of FixedSplitter are expected to be either
dojox/mobile/Container, dojox/mobile/Pane or dojox/mobile/ContentPane
instances. The choice of which type of container to use is governed by:
• dojox/mobile/Container – Children of the container are only Dojo widgets.
• dojox/mobile/Pane – Children of the container are either Dojo widgets or HTML.
• dojox/mobile/ContentPane – Content is externally sourced.
Don't be confused by the name of this container, the widths of the items are fixed and can not be re-
sized like some other splitter technologies on the desktop.
When the children are added, they specify their width (for horizontal) our height (for vertical). The
last pane (default) is sized to the remaining space available.
Some of the key properties of this widget include:
• orientation – How the child panes are shown. The choices are either "H" (Default) for
horizontal which means that the children are laid out horizontally. The other choice is "V"
which means the children are laid out vertically.
dojox/mobile/FormLayout
dojox/mobile/GridLayout
This widget is a container for a set of other containers. It specifies a number of columns. As
children are added, if a child exceeds the maximum column it is added as a new row at the start
column. Effectively, this generates a rectangular grid of containers.
Some of the key properties of this widget include:
• cols – The number of of child items in a row. This is the same as saying the number of
columns in the grid.
dojox/mobile/Heading
This widget provides a heading bar which can have navigation buttons as well as toolbar buttons.
Here is a basic Heading:
Some of its core properties of interest include:
• label – The label shown in the primary part of the heading.
• back – A label to show which when clicked will return us to the previous view. When
added, it looks as follows:
Page 237
Kommentare zu diesen Handbüchern