JavaTM 2 Platform
Standard Ed. 6

javax.swing.text.html
類別 CSS.Attribute

java.lang.Object
  繼承者 javax.swing.text.html.CSS.Attribute
正在封閉類別:
CSS

public static final class CSS.Attribute
extends Object

用作 AttributeSet 的鍵的定義,此屬性集可存儲 CSS 屬性。因為這是一個封閉集合(即由規範精確定義),因此它是最終集合並且不能擴充。


欄位摘要
static CSS.Attribute BACKGROUND
           
static CSS.Attribute BACKGROUND_ATTACHMENT
           
static CSS.Attribute BACKGROUND_COLOR
           
static CSS.Attribute BACKGROUND_IMAGE
           
static CSS.Attribute BACKGROUND_POSITION
           
static CSS.Attribute BACKGROUND_REPEAT
           
static CSS.Attribute BORDER
           
static CSS.Attribute BORDER_BOTTOM
           
static CSS.Attribute BORDER_BOTTOM_WIDTH
           
static CSS.Attribute BORDER_COLOR
           
static CSS.Attribute BORDER_LEFT
           
static CSS.Attribute BORDER_LEFT_WIDTH
           
static CSS.Attribute BORDER_RIGHT
           
static CSS.Attribute BORDER_RIGHT_WIDTH
           
static CSS.Attribute BORDER_STYLE
           
static CSS.Attribute BORDER_TOP
           
static CSS.Attribute BORDER_TOP_WIDTH
           
static CSS.Attribute BORDER_WIDTH
           
static CSS.Attribute CLEAR
           
static CSS.Attribute COLOR
           
static CSS.Attribute DISPLAY
           
static CSS.Attribute FLOAT
           
static CSS.Attribute FONT
           
static CSS.Attribute FONT_FAMILY
           
static CSS.Attribute FONT_SIZE
           
static CSS.Attribute FONT_STYLE
           
static CSS.Attribute FONT_VARIANT
           
static CSS.Attribute FONT_WEIGHT
           
static CSS.Attribute HEIGHT
           
static CSS.Attribute LETTER_SPACING
           
static CSS.Attribute LINE_HEIGHT
           
static CSS.Attribute LIST_STYLE
           
static CSS.Attribute LIST_STYLE_IMAGE
           
static CSS.Attribute LIST_STYLE_POSITION
           
static CSS.Attribute LIST_STYLE_TYPE
           
static CSS.Attribute MARGIN
           
static CSS.Attribute MARGIN_BOTTOM
           
static CSS.Attribute MARGIN_LEFT
           
static CSS.Attribute MARGIN_RIGHT
           
static CSS.Attribute MARGIN_TOP
           
static CSS.Attribute PADDING
           
static CSS.Attribute PADDING_BOTTOM
           
static CSS.Attribute PADDING_LEFT
           
static CSS.Attribute PADDING_RIGHT
           
static CSS.Attribute PADDING_TOP
           
static CSS.Attribute TEXT_ALIGN
           
static CSS.Attribute TEXT_DECORATION
           
static CSS.Attribute TEXT_INDENT
           
static CSS.Attribute TEXT_TRANSFORM
           
static CSS.Attribute VERTICAL_ALIGN
           
static CSS.Attribute WHITE_SPACE
           
static CSS.Attribute WIDTH
           
static CSS.Attribute WORD_SPACING
           
 
方法摘要
 String getDefaultValue()
          獲取屬性的預設值。
 boolean isInherited()
          指示是否應該從父級繼承屬性。
 String toString()
          屬性的字元串表示形式。
 
從類別 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

欄位詳細資訊

BACKGROUND

public static final CSS.Attribute BACKGROUND

BACKGROUND_ATTACHMENT

public static final CSS.Attribute BACKGROUND_ATTACHMENT

BACKGROUND_COLOR

public static final CSS.Attribute BACKGROUND_COLOR

BACKGROUND_IMAGE

public static final CSS.Attribute BACKGROUND_IMAGE

BACKGROUND_POSITION

public static final CSS.Attribute BACKGROUND_POSITION

BACKGROUND_REPEAT

public static final CSS.Attribute BACKGROUND_REPEAT

BORDER

public static final CSS.Attribute BORDER

BORDER_BOTTOM

public static final CSS.Attribute BORDER_BOTTOM

BORDER_BOTTOM_WIDTH

public static final CSS.Attribute BORDER_BOTTOM_WIDTH

BORDER_COLOR

public static final CSS.Attribute BORDER_COLOR

BORDER_LEFT

public static final CSS.Attribute BORDER_LEFT

BORDER_LEFT_WIDTH

public static final CSS.Attribute BORDER_LEFT_WIDTH

BORDER_RIGHT

public static final CSS.Attribute BORDER_RIGHT

BORDER_RIGHT_WIDTH

public static final CSS.Attribute BORDER_RIGHT_WIDTH

BORDER_STYLE

public static final CSS.Attribute BORDER_STYLE

BORDER_TOP

public static final CSS.Attribute BORDER_TOP

BORDER_TOP_WIDTH

public static final CSS.Attribute BORDER_TOP_WIDTH

BORDER_WIDTH

public static final CSS.Attribute BORDER_WIDTH

CLEAR

public static final CSS.Attribute CLEAR

COLOR

public static final CSS.Attribute COLOR

DISPLAY

public static final CSS.Attribute DISPLAY

FLOAT

public static final CSS.Attribute FLOAT

FONT

public static final CSS.Attribute FONT

FONT_FAMILY

public static final CSS.Attribute FONT_FAMILY

FONT_SIZE

public static final CSS.Attribute FONT_SIZE

FONT_STYLE

public static final CSS.Attribute FONT_STYLE

FONT_VARIANT

public static final CSS.Attribute FONT_VARIANT

FONT_WEIGHT

public static final CSS.Attribute FONT_WEIGHT

HEIGHT

public static final CSS.Attribute HEIGHT

LETTER_SPACING

public static final CSS.Attribute LETTER_SPACING

LINE_HEIGHT

public static final CSS.Attribute LINE_HEIGHT

LIST_STYLE

public static final CSS.Attribute LIST_STYLE

LIST_STYLE_IMAGE

public static final CSS.Attribute LIST_STYLE_IMAGE

LIST_STYLE_POSITION

public static final CSS.Attribute LIST_STYLE_POSITION

LIST_STYLE_TYPE

public static final CSS.Attribute LIST_STYLE_TYPE

MARGIN

public static final CSS.Attribute MARGIN

MARGIN_BOTTOM

public static final CSS.Attribute MARGIN_BOTTOM

MARGIN_LEFT

public static final CSS.Attribute MARGIN_LEFT

MARGIN_RIGHT

public static final CSS.Attribute MARGIN_RIGHT

MARGIN_TOP

public static final CSS.Attribute MARGIN_TOP

PADDING

public static final CSS.Attribute PADDING

PADDING_BOTTOM

public static final CSS.Attribute PADDING_BOTTOM

PADDING_LEFT

public static final CSS.Attribute PADDING_LEFT

PADDING_RIGHT

public static final CSS.Attribute PADDING_RIGHT

PADDING_TOP

public static final CSS.Attribute PADDING_TOP

TEXT_ALIGN

public static final CSS.Attribute TEXT_ALIGN

TEXT_DECORATION

public static final CSS.Attribute TEXT_DECORATION

TEXT_INDENT

public static final CSS.Attribute TEXT_INDENT

TEXT_TRANSFORM

public static final CSS.Attribute TEXT_TRANSFORM

VERTICAL_ALIGN

public static final CSS.Attribute VERTICAL_ALIGN

WORD_SPACING

public static final CSS.Attribute WORD_SPACING

WHITE_SPACE

public static final CSS.Attribute WHITE_SPACE

WIDTH

public static final CSS.Attribute WIDTH
方法詳細資訊

toString

public String toString()
屬性的字元串表示形式。這應該精確比對 CSS 規範中指定的字元串。

覆寫:
類別 Object 中的 toString
返回:
該物件的字元串表示形式。

getDefaultValue

public String getDefaultValue()
獲取屬性的預設值。如果沒有預設值(如對於復合屬性),則將返回 null。


isInherited

public boolean isInherited()
指示是否應該從父級繼承屬性。


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only