Top Fields Constructors Methods
com.openhtmltopdf.css.parser.property

public Class BackgroundPropertyBuilder

extends AbstractPropertyBuilder
Class Inheritance
Annotations
@WebDoc:https://github.com/danfickle/openhtmltopdf/wiki/Big-CSS-reference#background-properties
Imports
java.util.ArrayList, .Arrays, .Collections, .List, com.openhtmltopdf.css.constants.CSSName, .IdentValue, com.openhtmltopdf.css.parser.CSSParseException, .CSSPrimitiveValue, .FSRGBColor, .PropertyValue, com.openhtmltopdf.css.sheet.PropertyDeclaration, com.openhtmltopdf.util.WebDoc, .WebDocLocations

Field Summary

Modifier and TypeField and Description
private static final CSSName[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<PropertyDeclaration>
buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)

Implements com.openhtmltopdf.css.parser.property.PropertyBuilder.buildDeclarations.

Builds a list of PropertyDeclaration objects for the CSS property cssName.

private boolean
Inherited from com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder:
buildDeclarationscheckAngleTypecheckForbidInheritcheckIdentcheckIdentLengthNumberOrPercentTypecheckIdentLengthOrPercentTypecheckIdentOrColorTypecheckIdentOrIntegerTypecheckIdentOrLengthTypecheckIdentOrNumberTypecheckIdentOrStringcheckIdentOrURITypecheckIdentTypecheckInheritAllcheckInheritAllowedcheckIntegercheckLengthOrPercentTypecheckLengthTypecheckNumberTypecheckValiditycheckValueCountcheckValueCountcopyOfisLengthisLengthHelper

Field Detail

ALLback to summary
private static final CSSName[] ALL

Constructor Detail

BackgroundPropertyBuilderback to summary
public BackgroundPropertyBuilder()

Method Detail

buildDeclarationsback to summary
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)

Implements com.openhtmltopdf.css.parser.property.PropertyBuilder.buildDeclarations.

Doc from com.openhtmltopdf.css.parser.property.PropertyBuilder.buildDeclarations.

Builds a list of PropertyDeclaration objects for the CSS property cssName. values must contain CSSPrimitiveValue objects.

Annotations
@Override
isAppliesToBackgroundPositionback to summary
private boolean isAppliesToBackgroundPosition(PropertyValue value)