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 booleanprivate voidcheckIdentPosition(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent) private PropertyValuecreateValueForIdent(IdentValue ident) private BitSetprivate floatgetPercentForIdent(IdentValue ident) protected List<PropertyValue> processValue(CSSName cssName, PropertyValue first) protected List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second) Methods inherited from class PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
buildDeclarationsMethods inherited from class 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:
processValuein classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
processValues
protected List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second) - Overrides:
processValuesin classPrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
allowsTwoValueItems
protected boolean allowsTwoValueItems() -
checkIdentPosition
-
getPercentForIdent
-
createValueForIdent
-
getAllowed
-