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

<subTabBar>要素は、リンク・ノードにより定義される一連の項目を作成します。選択されている項目にはタブが付けられます。このBeanは、エージェントのタイプがPDAの場合にはサポートされません。

構文
<subTabBar
    [ orientation="string" ]
    [ selectedIndex="int" ]
>
</subTabBar>

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

  • 説明

    <subTabBar>要素は、リンク・ノードにより定義される一連の項目を作成します。(リンクの追加および削除に使用するメソッドについては、スーパークラスを参照してください。)選択されている項目にはタブが付けられます。

    属性

    selectedIndex属性は、選択されている項目の索引です。子のselected属性がtrueに設定されている場合、それが優先されます。

    orientation属性は、タブが下向きに開くようにtopバーを、またはタブが上向きに開くようにbottomバーを指定します。この属性に使用可能な値は、top、bottomおよびdefaultです。デフォルトはdefaultです。


    次の2つの例では、まったく同じsubTabBarがレンダリングされます。

    <subTabBar>
      <contents>
        <link text="UIX Components"
              destination="http://www.oracle.com" />
        <link text="UIX Controller"
              destination="http://www.oracle.com"
              selected="true"/>
        <link text="Architecture"
              destination="http://www.oracle.com"/>
        <link text="Release"
              destination="http://www.oracle.com"
              disabled="true"/>
      </contents>
    </subTabBar>
    
    
    <subTabBar selectedIndex="1">
      <contents>
        <link text="UIX Components"
              destination="http://www.oracle.com" />
        <link text="UIX Controller"
              destination="http://www.oracle.com"/>
        <link text="Architecture"
              destination="http://www.oracle.com"/>
        <link text="Release"
              destination="http://www.oracle.com"
              disabled="true"/>
      </contents>
    </subTabBar>

    次の例では、開いているタブ付きでレンダリングされます。

    <subTabBar selectedIndex="1" orientation="bottom">
      <contents>
        <link text="UIX Components"
              destination="http://www.oracle.com" />
        <link text="UIX Controller"
              destination="http://www.oracle.com"/>
        <link text="Architecture"
              destination="http://www.oracle.com"/>
        <link text="Release"
              destination="http://www.oracle.com"
              disabled="true"/>
      </contents>
    </subTabBar>

    属性

    説明
    orientation バーの方向。デフォルトはdefaultです。
    string
    selectedIndex 選択されている項目の索引。
    int