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, int origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclaration
objects for the CSS propertycssName
.private void
checkIdentPosition
(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent) private List
<PropertyDeclaration> createTwoPercentValueResponse
(float percent1, float percent2, boolean important, int origin) private PropertyValue
createValueForIdent
(IdentValue ident) private BitSet
private float
getPercentForIdent
(IdentValue ident) Methods inherited from class org.xhtmlrenderer.css.parser.property.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, int origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilder
Builds a list ofPropertyDeclaration
objects for the CSS propertycssName
.values
must containCSSPrimitiveValue
objects. -
checkIdentPosition
-
getPercentForIdent
-
createValueForIdent
-
createTwoPercentValueResponse
private List<PropertyDeclaration> createTwoPercentValueResponse(float percent1, float percent2, boolean important, int origin) -
getAllowed
-