Class PrimitiveBackgroundPropertyBuilders.BackgroundSize
java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.BackgroundSize
- All Implemented Interfaces:
PropertyBuilder
- Enclosing class:
PrimitiveBackgroundPropertyBuilders
public static class PrimitiveBackgroundPropertyBuilders.BackgroundSize
extends AbstractPropertyBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbuildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.protected List<PropertyValue> processValue(CSSName cssName, PropertyValue first) protected List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second) Methods 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
-
BackgroundSize
public BackgroundSize()
-
-
Method Details
-
processValue
-
processValues
protected List<PropertyValue> processValues(CSSName cssName, PropertyValue first, PropertyValue second) -
allowsTwoValueItems
protected boolean allowsTwoValueItems() -
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects.
-