javax.swing.text.html
Class CSS.Attribute

java.lang.Object
  extended by javax.swing.text.html.CSS.Attribute
Enclosing class:
CSS

public static final class CSS.Attribute
extends Object

Disabled: no SafeJ information.

Definitions to be used as a key on AttributeSet's that might hold CSS attributes. Since this is a closed set (i.e. defined exactly by the specification), it is final and cannot be extended.


Field Summary
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_COLOR
           
static CSS.Attribute BORDER_BOTTOM_STYLE
           
static CSS.Attribute BORDER_BOTTOM_WIDTH
           
static CSS.Attribute BORDER_COLOR
           
static CSS.Attribute BORDER_LEFT
           
static CSS.Attribute BORDER_LEFT_COLOR
           
static CSS.Attribute BORDER_LEFT_STYLE
           
static CSS.Attribute BORDER_LEFT_WIDTH
           
static CSS.Attribute BORDER_RIGHT
           
static CSS.Attribute BORDER_RIGHT_COLOR
           
static CSS.Attribute BORDER_RIGHT_STYLE
           
static CSS.Attribute BORDER_RIGHT_WIDTH
           
static CSS.Attribute BORDER_STYLE
           
static CSS.Attribute BORDER_TOP
           
static CSS.Attribute BORDER_TOP_COLOR
           
static CSS.Attribute BORDER_TOP_STYLE
           
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
           
 
Method Summary
 String getDefaultValue()
          Fetch the default value for the attribute.
 boolean isInherited()
          Indicates if the attribute should be inherited from the parent or not.
 String toString()
          The string representation of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BACKGROUND

public static final CSS.Attribute BACKGROUND
Class is disabled.


BACKGROUND_ATTACHMENT

public static final CSS.Attribute BACKGROUND_ATTACHMENT
Class is disabled.


BACKGROUND_COLOR

public static final CSS.Attribute BACKGROUND_COLOR
Class is disabled.


BACKGROUND_IMAGE

public static final CSS.Attribute BACKGROUND_IMAGE
Class is disabled.


BACKGROUND_POSITION

public static final CSS.Attribute BACKGROUND_POSITION
Class is disabled.


BACKGROUND_REPEAT

public static final CSS.Attribute BACKGROUND_REPEAT
Class is disabled.


BORDER

public static final CSS.Attribute BORDER
Class is disabled.


BORDER_BOTTOM

public static final CSS.Attribute BORDER_BOTTOM
Class is disabled.


BORDER_BOTTOM_COLOR

public static final CSS.Attribute BORDER_BOTTOM_COLOR
Class is disabled.


BORDER_BOTTOM_STYLE

public static final CSS.Attribute BORDER_BOTTOM_STYLE
Class is disabled.


BORDER_BOTTOM_WIDTH

public static final CSS.Attribute BORDER_BOTTOM_WIDTH
Class is disabled.


BORDER_COLOR

public static final CSS.Attribute BORDER_COLOR
Class is disabled.


BORDER_LEFT

public static final CSS.Attribute BORDER_LEFT
Class is disabled.


BORDER_LEFT_COLOR

public static final CSS.Attribute BORDER_LEFT_COLOR
Class is disabled.


BORDER_LEFT_STYLE

public static final CSS.Attribute BORDER_LEFT_STYLE
Class is disabled.


BORDER_LEFT_WIDTH

public static final CSS.Attribute BORDER_LEFT_WIDTH
Class is disabled.


BORDER_RIGHT

public static final CSS.Attribute BORDER_RIGHT
Class is disabled.


BORDER_RIGHT_COLOR

public static final CSS.Attribute BORDER_RIGHT_COLOR
Class is disabled.


BORDER_RIGHT_STYLE

public static final CSS.Attribute BORDER_RIGHT_STYLE
Class is disabled.


BORDER_RIGHT_WIDTH

public static final CSS.Attribute BORDER_RIGHT_WIDTH
Class is disabled.


BORDER_STYLE

public static final CSS.Attribute BORDER_STYLE
Class is disabled.


BORDER_TOP

public static final CSS.Attribute BORDER_TOP
Class is disabled.


BORDER_TOP_COLOR

public static final CSS.Attribute BORDER_TOP_COLOR
Class is disabled.


BORDER_TOP_STYLE

public static final CSS.Attribute BORDER_TOP_STYLE
Class is disabled.


BORDER_TOP_WIDTH

public static final CSS.Attribute BORDER_TOP_WIDTH
Class is disabled.


BORDER_WIDTH

public static final CSS.Attribute BORDER_WIDTH
Class is disabled.


CLEAR

public static final CSS.Attribute CLEAR
Class is disabled.


COLOR

public static final CSS.Attribute COLOR
Class is disabled.


DISPLAY

public static final CSS.Attribute DISPLAY
Class is disabled.


FLOAT

public static final CSS.Attribute FLOAT
Class is disabled.


FONT

public static final CSS.Attribute FONT
Class is disabled.


FONT_FAMILY

public static final CSS.Attribute FONT_FAMILY
Class is disabled.


FONT_SIZE

public static final CSS.Attribute FONT_SIZE
Class is disabled.


FONT_STYLE

public static final CSS.Attribute FONT_STYLE
Class is disabled.


FONT_VARIANT

public static final CSS.Attribute FONT_VARIANT
Class is disabled.


FONT_WEIGHT

public static final CSS.Attribute FONT_WEIGHT
Class is disabled.


HEIGHT

public static final CSS.Attribute HEIGHT
Class is disabled.


LETTER_SPACING

public static final CSS.Attribute LETTER_SPACING
Class is disabled.


LINE_HEIGHT

public static final CSS.Attribute LINE_HEIGHT
Class is disabled.


LIST_STYLE

public static final CSS.Attribute LIST_STYLE
Class is disabled.


LIST_STYLE_IMAGE

public static final CSS.Attribute LIST_STYLE_IMAGE
Class is disabled.


LIST_STYLE_POSITION

public static final CSS.Attribute LIST_STYLE_POSITION
Class is disabled.


LIST_STYLE_TYPE

public static final CSS.Attribute LIST_STYLE_TYPE
Class is disabled.


MARGIN

public static final CSS.Attribute MARGIN
Class is disabled.


MARGIN_BOTTOM

public static final CSS.Attribute MARGIN_BOTTOM
Class is disabled.


MARGIN_LEFT

public static final CSS.Attribute MARGIN_LEFT
Class is disabled.


MARGIN_RIGHT

public static final CSS.Attribute MARGIN_RIGHT
Class is disabled.


MARGIN_TOP

public static final CSS.Attribute MARGIN_TOP
Class is disabled.


PADDING

public static final CSS.Attribute PADDING
Class is disabled.


PADDING_BOTTOM

public static final CSS.Attribute PADDING_BOTTOM
Class is disabled.


PADDING_LEFT

public static final CSS.Attribute PADDING_LEFT
Class is disabled.


PADDING_RIGHT

public static final CSS.Attribute PADDING_RIGHT
Class is disabled.


PADDING_TOP

public static final CSS.Attribute PADDING_TOP
Class is disabled.


TEXT_ALIGN

public static final CSS.Attribute TEXT_ALIGN
Class is disabled.


TEXT_DECORATION

public static final CSS.Attribute TEXT_DECORATION
Class is disabled.


TEXT_INDENT

public static final CSS.Attribute TEXT_INDENT
Class is disabled.


TEXT_TRANSFORM

public static final CSS.Attribute TEXT_TRANSFORM
Class is disabled.


VERTICAL_ALIGN

public static final CSS.Attribute VERTICAL_ALIGN
Class is disabled.


WORD_SPACING

public static final CSS.Attribute WORD_SPACING
Class is disabled.


WHITE_SPACE

public static final CSS.Attribute WHITE_SPACE
Class is disabled.


WIDTH

public static final CSS.Attribute WIDTH
Class is disabled.

Method Detail

toString

public String toString()
Class is disabled.

The string representation of the attribute. This should exactly match the string specified in the CSS specification.

Overrides:
toString in class Object
Returns:
a string representation of the object.

getDefaultValue

public String getDefaultValue()
Class is disabled.

Fetch the default value for the attribute. If there is no default value (such as for composite attributes), null will be returned.


isInherited

public boolean isInherited()
Class is disabled.

Indicates if the attribute should be inherited from the parent or not.