java.lang.Object
io.sf.carte.doc.style.css.property.PropertyDatabase
Database of device-independent CSS property information.
-
Method Summary
Modifier and TypeMethodDescriptiongetInitialValue(String propertyName) Gives the initial device-independent initial (default) value for the given property.static PropertyDatabaseGets an instance of this class.Get a value factory configured with defaults.booleanisInherited(String name) Does this property inherit value by default?booleanisKnownProperty(String name) Is the supplied string the name of a known CSS property?
-
Method Details
-
getInstance
Gets an instance of this class.- Returns:
- an instance of PropertyDatabase.
-
getValueFactory
Get a value factory configured with defaults.- Returns:
- the value factory used by this database.
-
isInherited
Does this property inherit value by default?- Parameters:
name- the name of the property.- Returns:
trueif inherits by default,falseotherwise.
-
getInitialValue
Gives the initial device-independent initial (default) value for the given property.- Parameters:
propertyName- the property name.- Returns:
- the initial CSS value, or null if no device-independent default could be found.
-
isKnownProperty
Is the supplied string the name of a known CSS property?- Parameters:
name- the name to test.- Returns:
trueif it is a known CSS property,falseotherwise.
-