Class PrimitivePropertyBuilders.BackgroundPosition
java.lang.Object
org.xhtmlrenderer.css.parser.property.AbstractPropertyBuilder
org.xhtmlrenderer.css.parser.property.PrimitivePropertyBuilders.BackgroundPosition
- All Implemented Interfaces:
PropertyBuilder
- Enclosing class:
PrimitivePropertyBuilders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.private voidcheckIdentPosition(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent) private List<PropertyDeclaration> createTwoPercentValueResponse(float percent1, float percent2, boolean important, StylesheetInfo.Origin origin) private PropertyValuecreateValueForIdent(IdentValue ident) private BitSetprivate floatgetPercentForIdent(IdentValue ident) Methods inherited from class AbstractPropertyBuilder
assertFoundUpToValues, buildDeclarations, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkValidity, copyOf, isLength
-
Constructor Details
-
BackgroundPosition
public BackgroundPosition()
-
-
Method Details
-
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects. -
checkIdentPosition
-
getPercentForIdent
-
createValueForIdent
-
createTwoPercentValueResponse
private List<PropertyDeclaration> createTwoPercentValueResponse(float percent1, float percent2, boolean important, StylesheetInfo.Origin origin) -
getAllowed
-