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 Constructor Description BackgroundPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
allowsTwoValueItems()
private void
checkIdentPosition(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent)
private PropertyValue
createValueForIdent(IdentValue ident)
private java.util.BitSet
getAllowed()
private float
getPercentForIdent(IdentValue ident)
protected java.util.List<PropertyValue>
processValue(CSSName cssName, PropertyValue first)
protected java.util.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
-
-
-
-
Method Detail
-
processValue
protected java.util.List<PropertyValue> processValue(CSSName cssName, PropertyValue first)
- Specified by:
processValue
in classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
processValues
protected java.util.List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second)
- Overrides:
processValues
in classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
allowsTwoValueItems
protected boolean allowsTwoValueItems()
-
checkIdentPosition
private void checkIdentPosition(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent)
-
getPercentForIdent
private float getPercentForIdent(IdentValue ident)
-
createValueForIdent
private PropertyValue createValueForIdent(IdentValue ident)
-
getAllowed
private java.util.BitSet getAllowed()
-
-