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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.itextpdf.layout.properties.grid.TemplateValue
TemplateValue.ValueType
-
-
Field Summary
Fields Modifier and Type Field Description private int
repeatCount
private java.util.List<GridValue>
values
-
Fields inherited from class com.itextpdf.layout.properties.grid.TemplateValue
type
-
-
Constructor Summary
Constructors Constructor Description FixedRepeatValue(int repeatCount, java.util.List<GridValue> values)
Create a new fixed-repeat value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRepeatCount()
Gets number of template values repetitions.java.util.List<GridValue>
getValues()
Gets template values which should be repeated.-
Methods inherited from class com.itextpdf.layout.properties.grid.TemplateValue
getType
-
-
-
-
Field Detail
-
values
private final java.util.List<GridValue> values
-
repeatCount
private final int repeatCount
-
-
Constructor Detail
-
FixedRepeatValue
public FixedRepeatValue(int repeatCount, java.util.List<GridValue> values)
Create a new fixed-repeat value- Parameters:
repeatCount
- number of repetitionsvalues
- template values to repeat
-
-
Method Detail
-
getValues
public java.util.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
-
-