public abstract class AbstractWidthReadHandler extends java.lang.Object implements CSSValueReadHandler
Modifier | Constructor and Description |
---|---|
protected |
AbstractWidthReadHandler(boolean allowPercentages,
boolean allowAuto) |
Modifier and Type | Method and Description |
---|---|
CSSValue |
createValue(StyleKey name,
LexicalUnit value) |
boolean |
isAllowAuto() |
boolean |
isAllowPercentages() |
protected CSSValue |
parseWidth(LexicalUnit value) |
protected AbstractWidthReadHandler(boolean allowPercentages, boolean allowAuto)
public boolean isAllowPercentages()
public boolean isAllowAuto()
public CSSValue createValue(StyleKey name, LexicalUnit value)
createValue
in interface CSSValueReadHandler
protected CSSValue parseWidth(LexicalUnit value)