Class PrimitiveBackgroundPropertyBuilders.BackgroundPosition
java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.BackgroundPosition
- All Implemented Interfaces:
PropertyBuilder
- Enclosing class:
PrimitiveBackgroundPropertyBuilders
public static class PrimitiveBackgroundPropertyBuilders.BackgroundPosition
extends PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
private void
checkIdentPosition
(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent) private PropertyValue
createValueForIdent
(IdentValue ident) private BitSet
private float
getPercentForIdent
(IdentValue ident) protected List
<PropertyValue> processValue
(CSSName cssName, PropertyValue first) protected List
<PropertyValue> processValues
(CSSName cssName, PropertyValue first, PropertyValue second) Methods inherited from class com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
buildDeclarations
Methods inherited from class com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
buildDeclarations, checkAngleType, checkForbidInherit, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkValidity, checkValueCount, checkValueCount, copyOf, isLength, isLengthHelper
-
Constructor Details
-
BackgroundPosition
public BackgroundPosition()
-
-
Method Details
-
processValue
- Specified by:
processValue
in classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
processValues
protected List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second) - Overrides:
processValues
in classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
allowsTwoValueItems
protected boolean allowsTwoValueItems() -
checkIdentPosition
-
getPercentForIdent
-
createValueForIdent
-
getAllowed
-