public static final class CSS.Attribute extends Object
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.
public static final CSS.Attribute BACKGROUND
public static final CSS.Attribute BACKGROUND_ATTACHMENT
public static final CSS.Attribute BACKGROUND_COLOR
public static final CSS.Attribute BACKGROUND_IMAGE
public static final CSS.Attribute BACKGROUND_POSITION
public static final CSS.Attribute BACKGROUND_REPEAT
public static final CSS.Attribute BORDER
public static final CSS.Attribute BORDER_BOTTOM
public static final CSS.Attribute BORDER_BOTTOM_COLOR
public static final CSS.Attribute BORDER_BOTTOM_STYLE
public static final CSS.Attribute BORDER_BOTTOM_WIDTH
public static final CSS.Attribute BORDER_COLOR
public static final CSS.Attribute BORDER_LEFT
public static final CSS.Attribute BORDER_LEFT_COLOR
public static final CSS.Attribute BORDER_LEFT_STYLE
public static final CSS.Attribute BORDER_LEFT_WIDTH
public static final CSS.Attribute BORDER_RIGHT
public static final CSS.Attribute BORDER_RIGHT_COLOR
public static final CSS.Attribute BORDER_RIGHT_STYLE
public static final CSS.Attribute BORDER_RIGHT_WIDTH
public static final CSS.Attribute BORDER_STYLE
public static final CSS.Attribute BORDER_TOP
public static final CSS.Attribute BORDER_TOP_COLOR
public static final CSS.Attribute BORDER_TOP_STYLE
public static final CSS.Attribute BORDER_TOP_WIDTH
public static final CSS.Attribute BORDER_WIDTH
public static final CSS.Attribute CLEAR
public static final CSS.Attribute COLOR
public static final CSS.Attribute DISPLAY
public static final CSS.Attribute FLOAT
public static final CSS.Attribute FONT
public static final CSS.Attribute FONT_FAMILY
public static final CSS.Attribute FONT_SIZE
public static final CSS.Attribute FONT_STYLE
public static final CSS.Attribute FONT_VARIANT
public static final CSS.Attribute FONT_WEIGHT
public static final CSS.Attribute HEIGHT
public static final CSS.Attribute LETTER_SPACING
public static final CSS.Attribute LINE_HEIGHT
public static final CSS.Attribute LIST_STYLE
public static final CSS.Attribute LIST_STYLE_IMAGE
public static final CSS.Attribute LIST_STYLE_POSITION
public static final CSS.Attribute LIST_STYLE_TYPE
public static final CSS.Attribute MARGIN
public static final CSS.Attribute MARGIN_BOTTOM
public static final CSS.Attribute MARGIN_LEFT
public static final CSS.Attribute MARGIN_RIGHT
public static final CSS.Attribute MARGIN_TOP
public static final CSS.Attribute PADDING
public static final CSS.Attribute PADDING_BOTTOM
public static final CSS.Attribute PADDING_LEFT
public static final CSS.Attribute PADDING_RIGHT
public static final CSS.Attribute PADDING_TOP
public static final CSS.Attribute TEXT_ALIGN
public static final CSS.Attribute TEXT_DECORATION
public static final CSS.Attribute TEXT_INDENT
public static final CSS.Attribute TEXT_TRANSFORM
public static final CSS.Attribute VERTICAL_ALIGN
public static final CSS.Attribute WORD_SPACING
public static final CSS.Attribute WHITE_SPACE
public static final CSS.Attribute WIDTH
public String toString()
The string representation of the attribute. This should exactly match the string specified in the CSS specification.
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.
public boolean isInherited()
Indicates if the attribute should be inherited from the parent or not.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.