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

public static class PrimitivePropertyBuilders.BackgroundPosition extends AbstractPropertyBuilder
  • 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 of PropertyDeclaration objects for the CSS property cssName. values must contain CSSPrimitiveValue objects.
    • checkIdentPosition

      private void checkIdentPosition(CSSName cssName, IdentValue firstIdent, IdentValue secondIdent)
    • getPercentForIdent

      private float getPercentForIdent(IdentValue ident)
    • createValueForIdent

      private PropertyValue createValueForIdent(IdentValue ident)
    • createTwoPercentValueResponse

      private List<PropertyDeclaration> createTwoPercentValueResponse(float percent1, float percent2, boolean important, int origin)
    • getAllowed

      private BitSet getAllowed()