To specify additional formatting for cell contents using cellFormat:
The cellFormat node is inserted and highlighted under the expanded rowLayout node.
The child component is inserted and highlighted under the expanded cellFormat node.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout>
<!-- Insert cellFormat around child components -->
<contents>
<header text="Example">
<contents>
<rowLayout hAlign=right">
<contents>
First Column
<cellFormat vAlign="bottom">
<contents>
Second Column
</contents>
</cellFormat>
<flowLayout>
<contents>
Third Column
<spacer height="100" width="1"/>
</contents>
</flowLayout>
</contents>
</rowLayout>
<rowLayout>
<contents>
<header text="Second Row"/>
<cellFormat columnSpan="2">
<contents>
<header text="Column Span Two"/>
</contents>
</cellFormat>
</contents>
</rowLayout>
<rowLayout>
<contents>
<cellFormat columnSpan="2" hAlign="right">
<contents>
<text text="Right Aligned Text and Column Span Two"/>
</contents>
</cellFormat>
<text text="Third Column">
</contents>
</rowLayout>
</contents>
</header>
</contents>
<!-- REST OF PAGE LAYOUT -->
</pageLayout>
...
About TableLayout
About RowLayout
About CellFormat
Creating a Row Using RowLayout
Inserting a Table Using TableLayout and RowLayout
Inserting a Child Component in a RowLayout
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.