- java.lang.Object
- 
- javax.swing.text.html.CSS.Attribute
 
- 
- 
Field SummaryFields Modifier and Type Field Description static CSS.AttributeBACKGROUNDCSS attribute "background".static CSS.AttributeBACKGROUND_ATTACHMENTCSS attribute "background-attachment".static CSS.AttributeBACKGROUND_COLORCSS attribute "background-color".static CSS.AttributeBACKGROUND_IMAGECSS attribute "background-image".static CSS.AttributeBACKGROUND_POSITIONCSS attribute "background-position".static CSS.AttributeBACKGROUND_REPEATCSS attribute "background-repeat".static CSS.AttributeBORDERCSS attribute "border".static CSS.AttributeBORDER_BOTTOMCSS attribute "border-bottom".static CSS.AttributeBORDER_BOTTOM_COLORCSS attribute "border-bottom-color".static CSS.AttributeBORDER_BOTTOM_STYLECSS attribute "border-bottom-style".static CSS.AttributeBORDER_BOTTOM_WIDTHCSS attribute "border-bottom-width".static CSS.AttributeBORDER_COLORCSS attribute "border-color".static CSS.AttributeBORDER_LEFTCSS attribute "border-left".static CSS.AttributeBORDER_LEFT_COLORCSS attribute "margin-right".static CSS.AttributeBORDER_LEFT_STYLECSS attribute "border-left-style".static CSS.AttributeBORDER_LEFT_WIDTHCSS attribute "border-left-width".static CSS.AttributeBORDER_RIGHTCSS attribute "border-right".static CSS.AttributeBORDER_RIGHT_COLORCSS attribute "border-right-color".static CSS.AttributeBORDER_RIGHT_STYLECSS attribute "border-right-style".static CSS.AttributeBORDER_RIGHT_WIDTHCSS attribute "border-right-width".static CSS.AttributeBORDER_STYLECSS attribute "border-style".static CSS.AttributeBORDER_TOPCSS attribute "border-top".static CSS.AttributeBORDER_TOP_COLORCSS attribute "border-top-color".static CSS.AttributeBORDER_TOP_STYLECSS attribute "border-top-style".static CSS.AttributeBORDER_TOP_WIDTHCSS attribute "border-top-width".static CSS.AttributeBORDER_WIDTHCSS attribute "border-width".static CSS.AttributeCLEARCSS attribute "clear".static CSS.AttributeCOLORCSS attribute "color".static CSS.AttributeDISPLAYCSS attribute "display".static CSS.AttributeFLOATCSS attribute "float".static CSS.AttributeFONTCSS attribute "font".static CSS.AttributeFONT_FAMILYCSS attribute "font-family".static CSS.AttributeFONT_SIZECSS attribute "font-size".static CSS.AttributeFONT_STYLECSS attribute "font-style".static CSS.AttributeFONT_VARIANTCSS attribute "font-variant".static CSS.AttributeFONT_WEIGHTCSS attribute "font-weight".static CSS.AttributeHEIGHTCSS attribute "height".static CSS.AttributeLETTER_SPACINGCSS attribute "letter-spacing".static CSS.AttributeLINE_HEIGHTCSS attribute "line-height".static CSS.AttributeLIST_STYLECSS attribute "list-style".static CSS.AttributeLIST_STYLE_IMAGECSS attribute "list-style-image".static CSS.AttributeLIST_STYLE_POSITIONCSS attribute "list-style-position".static CSS.AttributeLIST_STYLE_TYPECSS attribute "list-style-type".static CSS.AttributeMARGINCSS attribute "margin".static CSS.AttributeMARGIN_BOTTOMCSS attribute "margin-bottom".static CSS.AttributeMARGIN_LEFTCSS attribute "margin-left".static CSS.AttributeMARGIN_RIGHTCSS attribute "margin-right".static CSS.AttributeMARGIN_TOPCSS attribute "margin-top".static CSS.AttributePADDINGCSS attribute "padding".static CSS.AttributePADDING_BOTTOMCSS attribute "padding-bottom".static CSS.AttributePADDING_LEFTCSS attribute "padding-left".static CSS.AttributePADDING_RIGHTCSS attribute "padding-right".static CSS.AttributePADDING_TOPCSS attribute "padding-top".static CSS.AttributeTEXT_ALIGNCSS attribute "text-align".static CSS.AttributeTEXT_DECORATIONCSS attribute "text-decoration".static CSS.AttributeTEXT_INDENTCSS attribute "text-indent".static CSS.AttributeTEXT_TRANSFORMCSS attribute "text-transform".static CSS.AttributeVERTICAL_ALIGNCSS attribute "vertical-align".static CSS.AttributeWHITE_SPACECSS attribute "white-space".static CSS.AttributeWIDTHCSS attribute "width".static CSS.AttributeWORD_SPACINGCSS attribute "word-spacing".
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()Fetch the default value for the attribute.booleanisInherited()Indicates if the attribute should be inherited from the parent or not.StringtoString()The string representation of the attribute.
 
- 
- 
- 
Field Detail- 
BACKGROUNDpublic static final CSS.Attribute BACKGROUND CSS attribute "background".
 - 
BACKGROUND_ATTACHMENTpublic static final CSS.Attribute BACKGROUND_ATTACHMENT CSS attribute "background-attachment".
 - 
BACKGROUND_COLORpublic static final CSS.Attribute BACKGROUND_COLOR CSS attribute "background-color".
 - 
BACKGROUND_IMAGEpublic static final CSS.Attribute BACKGROUND_IMAGE CSS attribute "background-image".
 - 
BACKGROUND_POSITIONpublic static final CSS.Attribute BACKGROUND_POSITION CSS attribute "background-position".
 - 
BACKGROUND_REPEATpublic static final CSS.Attribute BACKGROUND_REPEAT CSS attribute "background-repeat".
 - 
BORDERpublic static final CSS.Attribute BORDER CSS attribute "border".
 - 
BORDER_BOTTOMpublic static final CSS.Attribute BORDER_BOTTOM CSS attribute "border-bottom".
 - 
BORDER_BOTTOM_COLORpublic static final CSS.Attribute BORDER_BOTTOM_COLOR CSS attribute "border-bottom-color".
 - 
BORDER_BOTTOM_STYLEpublic static final CSS.Attribute BORDER_BOTTOM_STYLE CSS attribute "border-bottom-style".
 - 
BORDER_BOTTOM_WIDTHpublic static final CSS.Attribute BORDER_BOTTOM_WIDTH CSS attribute "border-bottom-width".
 - 
BORDER_COLORpublic static final CSS.Attribute BORDER_COLOR CSS attribute "border-color".
 - 
BORDER_LEFTpublic static final CSS.Attribute BORDER_LEFT CSS attribute "border-left".
 - 
BORDER_LEFT_COLORpublic static final CSS.Attribute BORDER_LEFT_COLOR CSS attribute "margin-right".
 - 
BORDER_LEFT_STYLEpublic static final CSS.Attribute BORDER_LEFT_STYLE CSS attribute "border-left-style".
 - 
BORDER_LEFT_WIDTHpublic static final CSS.Attribute BORDER_LEFT_WIDTH CSS attribute "border-left-width".
 - 
BORDER_RIGHTpublic static final CSS.Attribute BORDER_RIGHT CSS attribute "border-right".
 - 
BORDER_RIGHT_COLORpublic static final CSS.Attribute BORDER_RIGHT_COLOR CSS attribute "border-right-color".
 - 
BORDER_RIGHT_STYLEpublic static final CSS.Attribute BORDER_RIGHT_STYLE CSS attribute "border-right-style".
 - 
BORDER_RIGHT_WIDTHpublic static final CSS.Attribute BORDER_RIGHT_WIDTH CSS attribute "border-right-width".
 - 
BORDER_STYLEpublic static final CSS.Attribute BORDER_STYLE CSS attribute "border-style".
 - 
BORDER_TOPpublic static final CSS.Attribute BORDER_TOP CSS attribute "border-top".
 - 
BORDER_TOP_COLORpublic static final CSS.Attribute BORDER_TOP_COLOR CSS attribute "border-top-color".
 - 
BORDER_TOP_STYLEpublic static final CSS.Attribute BORDER_TOP_STYLE CSS attribute "border-top-style".
 - 
BORDER_TOP_WIDTHpublic static final CSS.Attribute BORDER_TOP_WIDTH CSS attribute "border-top-width".
 - 
BORDER_WIDTHpublic static final CSS.Attribute BORDER_WIDTH CSS attribute "border-width".
 - 
CLEARpublic static final CSS.Attribute CLEAR CSS attribute "clear".
 - 
COLORpublic static final CSS.Attribute COLOR CSS attribute "color".
 - 
DISPLAYpublic static final CSS.Attribute DISPLAY CSS attribute "display".
 - 
FLOATpublic static final CSS.Attribute FLOAT CSS attribute "float".
 - 
FONTpublic static final CSS.Attribute FONT CSS attribute "font".
 - 
FONT_FAMILYpublic static final CSS.Attribute FONT_FAMILY CSS attribute "font-family".
 - 
FONT_SIZEpublic static final CSS.Attribute FONT_SIZE CSS attribute "font-size".
 - 
FONT_STYLEpublic static final CSS.Attribute FONT_STYLE CSS attribute "font-style".
 - 
FONT_VARIANTpublic static final CSS.Attribute FONT_VARIANT CSS attribute "font-variant".
 - 
FONT_WEIGHTpublic static final CSS.Attribute FONT_WEIGHT CSS attribute "font-weight".
 - 
HEIGHTpublic static final CSS.Attribute HEIGHT CSS attribute "height".
 - 
LETTER_SPACINGpublic static final CSS.Attribute LETTER_SPACING CSS attribute "letter-spacing".
 - 
LINE_HEIGHTpublic static final CSS.Attribute LINE_HEIGHT CSS attribute "line-height".
 - 
LIST_STYLEpublic static final CSS.Attribute LIST_STYLE CSS attribute "list-style".
 - 
LIST_STYLE_IMAGEpublic static final CSS.Attribute LIST_STYLE_IMAGE CSS attribute "list-style-image".
 - 
LIST_STYLE_POSITIONpublic static final CSS.Attribute LIST_STYLE_POSITION CSS attribute "list-style-position".
 - 
LIST_STYLE_TYPEpublic static final CSS.Attribute LIST_STYLE_TYPE CSS attribute "list-style-type".
 - 
MARGINpublic static final CSS.Attribute MARGIN CSS attribute "margin".
 - 
MARGIN_BOTTOMpublic static final CSS.Attribute MARGIN_BOTTOM CSS attribute "margin-bottom".
 - 
MARGIN_LEFTpublic static final CSS.Attribute MARGIN_LEFT CSS attribute "margin-left".
 - 
MARGIN_RIGHTpublic static final CSS.Attribute MARGIN_RIGHT CSS attribute "margin-right".
 - 
MARGIN_TOPpublic static final CSS.Attribute MARGIN_TOP CSS attribute "margin-top".
 - 
PADDINGpublic static final CSS.Attribute PADDING CSS attribute "padding".
 - 
PADDING_BOTTOMpublic static final CSS.Attribute PADDING_BOTTOM CSS attribute "padding-bottom".
 - 
PADDING_LEFTpublic static final CSS.Attribute PADDING_LEFT CSS attribute "padding-left".
 - 
PADDING_RIGHTpublic static final CSS.Attribute PADDING_RIGHT CSS attribute "padding-right".
 - 
PADDING_TOPpublic static final CSS.Attribute PADDING_TOP CSS attribute "padding-top".
 - 
TEXT_ALIGNpublic static final CSS.Attribute TEXT_ALIGN CSS attribute "text-align".
 - 
TEXT_DECORATIONpublic static final CSS.Attribute TEXT_DECORATION CSS attribute "text-decoration".
 - 
TEXT_INDENTpublic static final CSS.Attribute TEXT_INDENT CSS attribute "text-indent".
 - 
TEXT_TRANSFORMpublic static final CSS.Attribute TEXT_TRANSFORM CSS attribute "text-transform".
 - 
VERTICAL_ALIGNpublic static final CSS.Attribute VERTICAL_ALIGN CSS attribute "vertical-align".
 - 
WORD_SPACINGpublic static final CSS.Attribute WORD_SPACING CSS attribute "word-spacing".
 - 
WHITE_SPACEpublic static final CSS.Attribute WHITE_SPACE CSS attribute "white-space".
 - 
WIDTHpublic static final CSS.Attribute WIDTH CSS attribute "width".
 
- 
 - 
Method Detail- 
toStringpublic String toString() The string representation of the attribute. This should exactly match the string specified in the CSS specification.
 - 
getDefaultValuepublic String getDefaultValue() Fetch 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
 
 
- 
 
-