java.lang.Object
javax.swing.text.html.CSS.Attribute
- Enclosing class:
- CSS
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final CSS.AttributeCSS attribute "background".static final CSS.AttributeCSS attribute "background-attachment".static final CSS.AttributeCSS attribute "background-color".static final CSS.AttributeCSS attribute "background-image".static final CSS.AttributeCSS attribute "background-position".static final CSS.AttributeCSS attribute "background-repeat".static final CSS.AttributeCSS attribute "border".static final CSS.AttributeCSS attribute "border-bottom".static final CSS.AttributeCSS attribute "border-bottom-color".static final CSS.AttributeCSS attribute "border-bottom-style".static final CSS.AttributeCSS attribute "border-bottom-width".static final CSS.AttributeCSS attribute "border-color".static final CSS.AttributeCSS attribute "border-left".static final CSS.AttributeCSS attribute "margin-right".static final CSS.AttributeCSS attribute "border-left-style".static final CSS.AttributeCSS attribute "border-left-width".static final CSS.AttributeCSS attribute "border-right".static final CSS.AttributeCSS attribute "border-right-color".static final CSS.AttributeCSS attribute "border-right-style".static final CSS.AttributeCSS attribute "border-right-width".static final CSS.AttributeCSS attribute "border-style".static final CSS.AttributeCSS attribute "border-top".static final CSS.AttributeCSS attribute "border-top-color".static final CSS.AttributeCSS attribute "border-top-style".static final CSS.AttributeCSS attribute "border-top-width".static final CSS.AttributeCSS attribute "border-width".static final CSS.AttributeCSS attribute "clear".static final CSS.AttributeCSS attribute "color".static final CSS.AttributeCSS attribute "display".static final CSS.AttributeCSS attribute "float".static final CSS.AttributeCSS attribute "font".static final CSS.AttributeCSS attribute "font-family".static final CSS.AttributeCSS attribute "font-size".static final CSS.AttributeCSS attribute "font-style".static final CSS.AttributeCSS attribute "font-variant".static final CSS.AttributeCSS attribute "font-weight".static final CSS.AttributeCSS attribute "height".static final CSS.AttributeCSS attribute "letter-spacing".static final CSS.AttributeCSS attribute "line-height".static final CSS.AttributeCSS attribute "list-style".static final CSS.AttributeCSS attribute "list-style-image".static final CSS.AttributeCSS attribute "list-style-position".static final CSS.AttributeCSS attribute "list-style-type".static final CSS.AttributeCSS attribute "margin".static final CSS.AttributeCSS attribute "margin-bottom".static final CSS.AttributeCSS attribute "margin-left".static final CSS.AttributeCSS attribute "margin-right".static final CSS.AttributeCSS attribute "margin-top".static final CSS.AttributeCSS attribute "padding".static final CSS.AttributeCSS attribute "padding-bottom".static final CSS.AttributeCSS attribute "padding-left".static final CSS.AttributeCSS attribute "padding-right".static final CSS.AttributeCSS attribute "padding-top".static final CSS.AttributeCSS attribute "text-align".static final CSS.AttributeCSS attribute "text-decoration".static final CSS.AttributeCSS attribute "text-indent".static final CSS.AttributeCSS attribute "text-transform".static final CSS.AttributeCSS attribute "vertical-align".static final CSS.AttributeCSS attribute "white-space".static final CSS.AttributeCSS attribute "width".static final CSS.AttributeCSS attribute "word-spacing".
- 
Method SummaryModifier and TypeMethodDescriptionFetch the default value for the attribute.booleanIndicates if the attribute should be inherited from the parent or not.toString()The string representation of the attribute.
- 
Field Details- 
BACKGROUNDCSS attribute "background".
- 
BACKGROUND_ATTACHMENTCSS attribute "background-attachment".
- 
BACKGROUND_COLORCSS attribute "background-color".
- 
BACKGROUND_IMAGECSS attribute "background-image".
- 
BACKGROUND_POSITIONCSS attribute "background-position".
- 
BACKGROUND_REPEATCSS attribute "background-repeat".
- 
BORDERCSS attribute "border".
- 
BORDER_BOTTOMCSS attribute "border-bottom".
- 
BORDER_BOTTOM_COLORCSS attribute "border-bottom-color".
- 
BORDER_BOTTOM_STYLECSS attribute "border-bottom-style".
- 
BORDER_BOTTOM_WIDTHCSS attribute "border-bottom-width".
- 
BORDER_COLORCSS attribute "border-color".
- 
BORDER_LEFTCSS attribute "border-left".
- 
BORDER_LEFT_COLORCSS attribute "margin-right".
- 
BORDER_LEFT_STYLECSS attribute "border-left-style".
- 
BORDER_LEFT_WIDTHCSS attribute "border-left-width".
- 
BORDER_RIGHTCSS attribute "border-right".
- 
BORDER_RIGHT_COLORCSS attribute "border-right-color".
- 
BORDER_RIGHT_STYLECSS attribute "border-right-style".
- 
BORDER_RIGHT_WIDTHCSS attribute "border-right-width".
- 
BORDER_STYLECSS attribute "border-style".
- 
BORDER_TOPCSS attribute "border-top".
- 
BORDER_TOP_COLORCSS attribute "border-top-color".
- 
BORDER_TOP_STYLECSS attribute "border-top-style".
- 
BORDER_TOP_WIDTHCSS attribute "border-top-width".
- 
BORDER_WIDTHCSS attribute "border-width".
- 
CLEARCSS attribute "clear".
- 
COLORCSS attribute "color".
- 
DISPLAYCSS attribute "display".
- 
FLOATCSS attribute "float".
- 
FONTCSS attribute "font".
- 
FONT_FAMILYCSS attribute "font-family".
- 
FONT_SIZECSS attribute "font-size".
- 
FONT_STYLECSS attribute "font-style".
- 
FONT_VARIANTCSS attribute "font-variant".
- 
FONT_WEIGHTCSS attribute "font-weight".
- 
HEIGHTCSS attribute "height".
- 
LETTER_SPACINGCSS attribute "letter-spacing".
- 
LINE_HEIGHTCSS attribute "line-height".
- 
LIST_STYLECSS attribute "list-style".
- 
LIST_STYLE_IMAGECSS attribute "list-style-image".
- 
LIST_STYLE_POSITIONCSS attribute "list-style-position".
- 
LIST_STYLE_TYPECSS attribute "list-style-type".
- 
MARGINCSS attribute "margin".
- 
MARGIN_BOTTOMCSS attribute "margin-bottom".
- 
MARGIN_LEFTCSS attribute "margin-left".
- 
MARGIN_RIGHTCSS attribute "margin-right".
- 
MARGIN_TOPCSS attribute "margin-top".
- 
PADDINGCSS attribute "padding".
- 
PADDING_BOTTOMCSS attribute "padding-bottom".
- 
PADDING_LEFTCSS attribute "padding-left".
- 
PADDING_RIGHTCSS attribute "padding-right".
- 
PADDING_TOPCSS attribute "padding-top".
- 
TEXT_ALIGNCSS attribute "text-align".
- 
TEXT_DECORATIONCSS attribute "text-decoration".
- 
TEXT_INDENTCSS attribute "text-indent".
- 
TEXT_TRANSFORMCSS attribute "text-transform".
- 
VERTICAL_ALIGNCSS attribute "vertical-align".
- 
WORD_SPACINGCSS attribute "word-spacing".
- 
WHITE_SPACECSS attribute "white-space".
- 
WIDTHCSS attribute "width".
 
- 
- 
Method Details- 
toStringThe string representation of the attribute. This should exactly match the string specified in the CSS specification.
- 
getDefaultValueFetch the default value for the attribute. If there is no default value (such as for composite attributes), null will be returned.- Returns:
- default value for the attribute
 
- 
isInheritedpublic boolean isInherited()Indicates if the attribute should be inherited from the parent or not.- Returns:
- true if the attribute should be inherited from the parent
 
 
-