Class FixedRepeatValue

java.lang.Object
com.itextpdf.layout.properties.grid.TemplateValue
com.itextpdf.layout.properties.grid.FixedRepeatValue

public class FixedRepeatValue extends TemplateValue
This class represents an fixed-repeat template value. This value is preprocessed before grid sizing algorithm so its only exists at template level.
  • Constructor Details

    • FixedRepeatValue

      public FixedRepeatValue (int repeatCount, List<GridValue> values)
      Create a new fixed-repeat value
      Parameters:
      repeatCount - number of repetitions
      values - template values to repeat
  • Method Details

    • getValues

      public List<GridValue> getValues()
      Gets template values which should be repeated.
      Returns:
      template values list
    • getRepeatCount

      public int getRepeatCount()
      Gets number of template values repetitions.
      Returns:
      number of template values repetitions