<subTabBar>要素 |
 |
このタグは、リンク・ノードにより定義される一連の項目を作成します。選択されている項目にはタブが付けられます。このBeanは、エージェントのタイプがPDA、携帯電話、音声の場合にはサポートされません。
構文 |
 |
<subTabBar ></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 Servlet"
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 Servlet"
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 Servlet"
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です。その他の値はtopおよびbottomです。 |
ui:subTabOrientationType |
selectedIndex |
選択されている項目の索引。 |
int |
|
This document was generated on Wed Jul 07 19:21:56 PDT 2004
Copyright © 2001, 2004, Oracle.All rights reserved.