<cellFormat>要素
ネームスペース:  http://xmlns.oracle.com/uix/ui
派生元:  <ui:base>要素
グループ:  UIX Components
要素の型:  UINode

<cellFormat>要素は、RowLayoutBeanでのセルの書式設定に使用します。

構文
<cellFormat
    [ columnSpan="unsignedInt" ]
    [ headers="IDREFS" ]
    [ height="string" ]
    [ hAlign="string" ]
    [ rowSpan="unsignedInt" ]
    [ shortText="string" ]
    [ vAlign="string" ]
    [ width="string" ]
    [ wrappingDisabled="boolean" ]
>
   <contents> <!-- indexed children --> </contents>
</cellFormat>

注意: 
  • この要素は派生元要素のすべての属性と子要素を持つことができます。

  • 説明

    <cellFormat>要素は、RowLayoutBeanでのセルの書式設定に使用します。CellFormatBeanは他のレイアウト要素のコンテナであり、この中に垂直方向位置、幅または列スパンなどの書式を追加できます。


    <tableLayout width="75%"
                 borderWidth="3"
                 cellSpacing="10"
                 hAlign="center">
      <contents>
        <rowLayout hAlign="right">
          <contents>
            First Column
    
            <cellFormat vAlign="bottom">
              <contents>
                SecondColumn
              </contents>
            </cellFormat>
    
            <flowLayout>
              <contents>
                Third Column
                <spacer height="100" width="1"/>
              </contents>
            </flowLayout>
    
          </contents>
        </rowLayout>
    
        <rowLayout>
          <contents>
    
            <header text="UIX Components"/>
    
            <cellFormat columnSpan="2">
              <contents>
                <header text="UIX Controller"/>
              </contents>
            </cellFormat>
    
          </contents>
        </rowLayout>
      </contents>
    </tableLayout>

    属性

    説明
    columnSpan 子のレイアウト要素の幅となるセル数。
    unsignedInt
    headers このセルのヘッダーとなる表のセルの指定。この属性は、ヘッダー情報をデータ・セルと関連付ける際、スクリーン・リーダーによって使用されます。これはスペース区切りのIDのリストとして設定する必要があります。各IDは、関連付けられたヘッダー・セルのIDです。
    IDREFS
    height 含まれるレイアウト要素の高さの設定。
    string
    hAlign グリッド行要素の、横方向の位置揃え。指定可能な値はcenter、left、right、startおよびendです。
    string
    rowSpan 子のレイアウト要素の高さとなるセル数。
    unsignedInt
    shortText この属性はセルの内容を簡単に表すために使用され、セルの内容のかわりに適宜ユーザー・エージェントによりレンダリングされます。この名前は、ユーザー・エージェントにより頻繁にレンダリングされるため、短くする必要があります(特にこのセルがヘッダー・セルの場合)。
    string
    vAlign グリッド行要素の、縦方向の位置揃え。指定可能な値はmiddle、topおよびbottomです。
    string
    width 含まれるレイアウト要素の幅の設定。
    string
    wrappingDisabled このセルで自動テキスト折返しを使用不可にするかどうかの指定。
    boolean

    子要素

    説明 必須 組込み可能な数
    <contents> Beanの索引付けされた子。 いいえ 1