4.4.4. RichFaces のスキンパラメータテーブル
RichFaces は最も単純なレベルの一般的なカスタマイズで 8 つの事前定義されたスキンパラメータ (スキン) を備えています。
- DEFAULT
- plain
- emeraldTown
- blueSky
- wine
- japanCherry
- ruby
- classic
- deepMarine
スキンを適用するには、
org.richfaces.SKIN コンテキストパラメータにスキン名を指定する必要があります。
下表は
blueSky スキンの各パラメータの値を表しています。
| パラメータ名 | デフォルト値 |
|---|---|
| headerBackgroundColor | #BED6F8 |
| headerGradientColor | #F2F7FF |
| headTextColor | #000000 |
| headerWeightFont | bold |
| generalBackgroundColor | #FFFFFF |
| generalTextColor | #000000 |
| generalSizeFont | 11px |
| generalFamilyFont | Arial、 Verdana、 sans-serif |
| controlTextColor | #000000 |
| controlBackgroundColor | #FFFFFF |
| additionalBackgroundColor | #ECF4FE |
| shadowBackgroundColor | #000000 |
| shadowOpacity | 1 |
| panelBorderColor | #BED6F8 |
| subBorderColor | #FFFFFF |
| tabBackgroundColor | #C6DEFF |
| tabDisabledTextColor | #8DB7F3 |
| trimColor | #D6E6FB |
| tipBackgroundColor | #FAE6B0 |
| tipBorderColor | #E5973E |
| selectControlColor | #E79A00 |
| generalLinkColor | #0078D0 |
| hoverLinkColor | #0090FF |
| visitedLinkColor | #0090FF |
| パラメータ名 | デフォルト値 |
|---|---|
| headerSizeFont | 11px |
| headerFamilyFont | Arial、 Verdana、 sans-serif |
| tabSizeFont | 11px |
| tabFamilyFont | Arial、 Verdana、 sans-serif |
| buttonSizeFont | 11px |
| buttonFamilyFont | Arial、 Verdana、 sans-serif |
| tableBackgroundColor | #FFFFFF |
| tableFooterBackgroundColor | #cccccc |
| tableSubfooterBackgroundColor | #f1f1f1 |
| tableBorderColor | #C0C0C0 |
バージョン 3.0.2 に
plain スキンが追加されました。 このスキンにはパラメータがなく、 独自のスタイルで RichFaces コンポーネントを既存のプロジェクトへ組み込む時に重要となります。