Java™ Platform
Standard Edition 7
 
 
- 
- すべての実装されたインタフェース:
 
- Serializable
 
public class CSS
extends Object
implements Serializable
CSS 属性のセットを型保証された列挙型として定義します。HTML View 実装は、CSS 属性を使用してどのように描画するかを決定します。同時に CSS/HTML/StyleConstants をマップするメソッドを定義します。たとえば、フォントのような任意の短縮形プロパティーは組み込みプロパティーにマップされています。
 
次に、描画エンジンがサポートする CSS プロパティーを挙げます。
- font-family
 - font-style
 - font-size (相対単位をサポート)
 - font-weight
 - font
 - color
 - background-color (透明の例外を含む)
 - background-image
 - background-repeat
 - background-position
 - background
 - text-decoration (点滅やオーバーラインの例外を含む)
 - vertical-align (スーパークラスだけ)
 - text-align (中央揃え)
 - margin-top
 - margin-right
 - margin-bottom
 - margin-left
 - margin
 - padding-top
 - padding-right
 - padding-bottom
 - padding-left
 - padding
 - border-top-style
 - border-right-style
 - border-bottom-style
 - border-left-style
 - border-style (インセット、アウトセットだけサポート、または何もサポートせず)
 - border-top-color
 - border-right-color
 - border-bottom-color
 - border-left-color
 - border-color
 - list-style-image
 - list-style-type
 - list-style-position
 
 
次がモデル化されていますが、現在は描画されていません。
- font-variant
 - background-attachment (バックグラウンドは常にスクロール)
 - word-spacing
 - letter-spacing
 - text-indent
 - text-transform
 - line-height
 - border-top-width (ボーダーを使用する必要があることを示す場合に使用)
 - border-right-width
 - border-bottom-width
 - border-left-width
 - border-width
 - border-top
 - border-right
 - border-bottom
 - border-left
 - border
 - width
 - height
 - float
 - clear
 - display
 - white-space
 - list-style
 
 
注: 特に注記がないかぎり、当分の間相対単位をサポートせず、p {margin-top :10% } を上部マージン指定なしと見なします。
- 関連項目:
 StyleSheet
 
 
- 
- 
ネストされたクラスのサマリー
ネストされたクラス 
| 修飾子と型 | 
クラスと説明 | 
static class  | 
CSS.Attribute
CSS 属性を保持する AttributeSet のキーとして使用される定義です。 
 | 
 
- 
メソッドのサマリー
- 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
 
 
 
 
Java™ Platform
Standard Edition 7
 
 バグまたは機能を送信 
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.