Class FixedRepeatValue
java.lang.Object
com.itextpdf.layout.properties.grid.TemplateValue
com.itextpdf.layout.properties.grid.FixedRepeatValue
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 inherited from class com.itextpdf.layout.properties.grid.TemplateValue
type
-
Constructor Summary
ConstructorDescriptionFixedRepeatValue
(int repeatCount, List<GridValue> values) Create a new fixed-repeat value -
Method Summary
Modifier and TypeMethodDescriptionint
Gets number of template values repetitions.Gets template values which should be repeated.Methods inherited from class com.itextpdf.layout.properties.grid.TemplateValue
getType
-
Constructor Details
-
FixedRepeatValue
Create a new fixed-repeat value- Parameters:
-
repeatCount
- number of repetitions -
values
- template values to repeat
-
-
Method Details
-
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
-