<context-image>要素 |
 |
ネームスペース: |
http://xmlns.oracle.com/uix/ui/laf |
<context-image>要素は、コンテキスト相対イメージ・アイコンを定義します。
構文 |
 |
<context-image [
width="
positiveInteger" ]
> <!-- The following child can be anything derived from the given element -->
</context-image>
注意:
説明 |
 |
<context-image>要素は、コンテキスト相対URIで指定したイメージ・アイコンを登録します。サーブレットのコンテキスト・パスが、uri属性で指定したURIに自動的に追加されます。
例 |
 |
次の例では、コンテキスト相対イメージ・アイコンを登録する方法を示します。
<!-- Replace the error icon with a context-relative
icon. -->
<icon name="ui:error">
<context-image uri="images/laf/custom/error.gif"/>
</icon>
属性 |
 |
|
説明 |
型 |
height |
イメージ・アイコンの高さ。 |
positiveInteger |
rtl-uri |
右から左へ記述する言語用のアイコンのURI。 rtl-uri 属性を指定しない場合、uri 属性の値が左から右と右から左の両方の記述方向の言語に使用されます。 |
URI |
styleClass |
アイコンのイメージに適用されるスタイル・クラス。 |
string |
uri |
アイコンのURI。 必須。 |
URI |
width |
イメージ・アイコンの幅。 |
positiveInteger |
|
子要素 |
 |
This document was generated on Wed Jul 07 19:22:04 PDT 2004
Copyright © 2001, 2004, Oracle.All rights reserved.