public class FontShorthandManager extends AbstractValueFactory implements ShorthandManager
ShorthandManager.PropertyHandler
Modifier and Type | Field and Description |
---|---|
(package private) static org.w3c.css.sac.LexicalUnit |
BOLD_LU |
(package private) static org.w3c.css.sac.LexicalUnit |
FONT_FAMILY_LU |
(package private) static org.w3c.css.sac.LexicalUnit |
MEDIUM_LU |
(package private) static org.w3c.css.sac.LexicalUnit |
NORMAL_LU |
(package private) static org.w3c.css.sac.LexicalUnit |
SZ_10PT_LU |
(package private) static org.w3c.css.sac.LexicalUnit |
SZ_8PT_LU |
protected static java.util.Set |
values |
Constructor and Description |
---|
FontShorthandManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName()
Implements
ValueManager.getPropertyName() . |
void |
handleSystemFont(CSSEngine eng,
ShorthandManager.PropertyHandler ph,
java.lang.String s,
boolean imp) |
boolean |
isAdditiveProperty()
Implements
ValueManager.isAdditiveProperty() . |
boolean |
isAnimatableProperty()
Implements
ShorthandManager.isAnimatableProperty() . |
void |
setValues(CSSEngine eng,
ShorthandManager.PropertyHandler ph,
org.w3c.css.sac.LexicalUnit lu,
boolean imp)
|
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
static org.w3c.css.sac.LexicalUnit NORMAL_LU
static org.w3c.css.sac.LexicalUnit BOLD_LU
static org.w3c.css.sac.LexicalUnit MEDIUM_LU
static org.w3c.css.sac.LexicalUnit SZ_10PT_LU
static org.w3c.css.sac.LexicalUnit SZ_8PT_LU
static org.w3c.css.sac.LexicalUnit FONT_FAMILY_LU
protected static final java.util.Set values
public java.lang.String getPropertyName()
ValueManager.getPropertyName()
.getPropertyName
in interface ShorthandManager
getPropertyName
in class AbstractValueFactory
public boolean isAnimatableProperty()
ShorthandManager.isAnimatableProperty()
.isAnimatableProperty
in interface ShorthandManager
public boolean isAdditiveProperty()
ValueManager.isAdditiveProperty()
.isAdditiveProperty
in interface ShorthandManager
public void handleSystemFont(CSSEngine eng, ShorthandManager.PropertyHandler ph, java.lang.String s, boolean imp)
public void setValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, org.w3c.css.sac.LexicalUnit lu, boolean imp)
ShorthandManager.setValues(CSSEngine,ShorthandManager.PropertyHandler,LexicalUnit,boolean)
.setValues
in interface ShorthandManager
eng
- The current CSSEngine.ph
- The property handler to use.lu
- The SAC lexical unit used to create the value.imp
- The property priority.