<config-image>要素 |
 |
ネームスペース: |
http://xmlns.oracle.com/uix/ui/laf |
<config-image>要素は、Configuration.IMAGES_DIRECTORY URIへの相対URIでイメージ・アイコンを定義します。
構文 |
 |
<config-image [
width="
positiveInteger" ]
> <!-- The following child can be anything derived from the given element -->
</config-image>
注意:
説明 |
 |
<config-image>要素は、Configuration.IMAGES_DIRECTORYへの相対URIを使用してイメージ・アイコンを登録します。Configuration.IMAGES_DIRECTORYのURI(通常は/cabo/images/)が、uri属性で指定したURIに自動的に追加されます。
例 |
 |
次の例では、IMAGES_DIRECTORYへの相対URIでイメージ・アイコンを登録する方法を示します。
<!-- Replace the tip icon with a context-relative
icon. -->
<icon name="ui:tip">
<config-image uri="laf/custom/tip.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.