<subTabBar>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui |
派生元: | <ui:linkContainer>要素 |
グループ: | UIX Components |
要素の型: | UINode |
構文 |
![]() |
<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>