このトピックでは、行を含む表を作成するステップについて説明します。表にない行を作成するときは、「rowLayoutを使用した行の作成」を参照してください。
tableLayoutとrowLayoutを使用して表と行を挿入するには、次のようにします。
「tableLayout」ノードが、展開された親ノードに挿入され、強調表示されます。
「rowLayout」ノードが、展開された「tableLayout」ノードに挿入され、強調表示されます。
...
<pageLayout>
<!-- Insert tableLayout and rowLayout -->
<contents>
<header text="Here is a table with two rows">
<tableLayout width="75%"
borderWidth="3"
cellSpacing="10"
hAlign="center">
<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="First Column Second Row"/>
<cellFormat columnSpan="2">
<contents>
<header text="Column Span Two"/>
</contents>
</cellFormat>
</contents>
</rowLayout>
</contents>
</tableLayout>
</header>
</contents>
<!-- REST OF PAGE LAYOUT -->
</pageLayout>
...
tableLayoutについて
rowLayoutについて
cellFormatについて
rowLayoutへの子コンポーネントの挿入
rowLayoutの子コンポーネントの周囲でのcellFormatの使用
レイアウト・コンポーネントの使用
Copyright © 1997, 2004, Oracle. All rights reserved.