public class CSS extends Objectimplements Serializable
The following describes the CSS properties that are supported by the rendering engine:
Note: for the time being we do not fully support relative units, unless noted, so that p { margin-top: 10% } will be treated as if no margin-top was specified.
StyleSheet
| Modifier and Type | Class and Description |
|---|---|
static class |
CSS
Definitions to be used as a key on AttributeSet's that might hold CSS attributes.
|
| Constructor and Description |
|---|
CSS()
|
| Modifier and Type | Method and Description |
|---|---|
static CSS |
getAllAttributeKeys()
Return the set of all possible CSS attribute keys.
|
static CSS |
getAttribute(String
Translates a string to a
CSS.Attribute object.
|
public static CSS.Attribute [] getAllAttributeKeys()
public static final CSS.Attribute getAttribute(String name)
CSS.Attribute object. This will return
null if there is no attribute by the given name.
name - the name of the CSS attribute to fetch the typesafe enumeration for
CSS.Attribute object, or
null if the string doesn't represent a valid attribute key