<look-and-feel>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui/laf |
構文 |
![]() |
<look-and-feel
extends="string"
family="string"
id="string"
[ style-sheet-name="anyURI" ] > <!-- The following children, if present, should be in the order shown --> <renderers></renderers> <icons></icons> <bundles></bundles> <!-- The children above, if present, should be in the order shown --> </look-and-feel>
説明 |
![]() |
<look-and-feel>要素は、ルック・アンド・フィール構成ファイル内のルート要素です。 ルック・アンド・フィール構成ファイルでは、カスタム・スタイルシート、カスタム・レンダラ、カスタム・アイコンなどのカスタム・ルック・アンド・フィールのすべてのプロパティを定義します。
例 |
![]() |
次の例では、Minimal Desktopのルック・アンド・フィールを拡張するカスタム・ルック・アンド・フィールを定義する方法を示します。 カスタム・ルック・アンド・フィールでは、カスタム・スタイルシートおよびカスタム・レンダラが指定されます。
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- A custom look and feel that extends the Minimal
Desktop Look And Feel -->
<look-and-feel xmlns="http://xmlns.oracle.com/uix/ui/laf"
id="custom.desktop"
family="custom"
extends="minimal.desktop"
style-sheet-name="custom.xss">
<!-- Define a custom Renderer -->
<renderers>
<!-- Replace the pageLayout Renderer with our own
template-based Renderer -->
<renderer namespace="http://xmlns.oracle.com/uix/ui"
name="pageLayout">
<template name="templates/laf/custom/pageLayout.uit"/>
</renderer>
</renderers>
</look-and-feel>
属性 |
![]() |
子要素 |
![]() |
|