<icon>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui/laf |
構文 |
![]() |
<icon
name="QName"> <config-image></config-image> <context-image></context-image> <instance></instance> <null></null> <resource-image></resource-image> <text></text> <uri-image></uri-image> </icon>
説明 |
![]() |
<icon>要素は、ルック・アンド・フィールによって提供されるアイコンを登録します。 各<icon>要素には1つの子要素が含まれます。この子要素は、次のいずれかのアイコン要素タイプである必要があります。 各<html:code>icon>エントリには、これらの要素のいずれか1つのみを指定できます。
例 |
![]() |
次の例では、コンテキスト相対アイコンを登録する要素と完全なURIのアイコンを登録する要素の2つの<icon>要素を示します。
<icon name="ui:error">
<context-image uri="images/laf/custom/error.gif"/>
</icon>
<!-- Replace the warning icon with a fully
specified URI icon -->
<icon name="ui:warning">
<uri-image uri="/webapp/laf/custom/warning.gif"/>
</icon>
属性 |
![]() |
子要素 |
![]() |
|