- java.lang.Object
-
- javax.swing.text.html.CSS.Attribute
-
-
Field Summary
-
Method Summary
Methods Modifier and Type Method and Description 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.
-
-
-
Field Detail
-
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_COLOR
public static final CSS.Attribute BORDER_BOTTOM_COLOR
-
BORDER_BOTTOM_STYLE
public static final CSS.Attribute BORDER_BOTTOM_STYLE
-
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_COLOR
public static final CSS.Attribute BORDER_LEFT_COLOR
-
BORDER_LEFT_STYLE
public static final CSS.Attribute BORDER_LEFT_STYLE
-
BORDER_LEFT_WIDTH
public static final CSS.Attribute BORDER_LEFT_WIDTH
-
BORDER_RIGHT
public static final CSS.Attribute BORDER_RIGHT
-
BORDER_RIGHT_COLOR
public static final CSS.Attribute BORDER_RIGHT_COLOR
-
BORDER_RIGHT_STYLE
public static final CSS.Attribute BORDER_RIGHT_STYLE
-
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_COLOR
public static final CSS.Attribute BORDER_TOP_COLOR
-
BORDER_TOP_STYLE
public static final CSS.Attribute BORDER_TOP_STYLE
-
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
-
-
Method Detail
-
toString
public String toString()
The string representation of the attribute. This should exactly match the string specified in the CSS specification.
-
getDefaultValue
public String getDefaultValue()
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()
Indicates if the attribute should be inherited from the parent or not.
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/text/html/css.attribute.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.