Package com.itextpdf.forms.util
Class FormFieldRendererUtil
- java.lang.Object
-
- com.itextpdf.forms.util.FormFieldRendererUtil
-
public final class FormFieldRendererUtil extends java.lang.Object
Utility class for centralized logic related to form field rendering.
-
-
Field Summary
Fields Modifier and Type Field Description private static int[]
PROPERTIES_THAT_IMPACT_LAYOUT
-
Constructor Summary
Constructors Modifier Constructor Description private
FormFieldRendererUtil()
Creates a new instance ofFormFieldRendererUtil
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
reapplyProperties(IPropertyContainer modelElement, java.util.Map<java.lang.Integer,java.lang.Object> properties)
Reapplies the propertiesIPropertyContainer
.static java.util.Map<java.lang.Integer,java.lang.Object>
removeProperties(IPropertyContainer modelElement)
Removes properties that impact the lay outing of interactive form fields.
-
-
-
Constructor Detail
-
FormFieldRendererUtil
private FormFieldRendererUtil()
Creates a new instance ofFormFieldRendererUtil
.
-
-
Method Detail
-
removeProperties
public static java.util.Map<java.lang.Integer,java.lang.Object> removeProperties(IPropertyContainer modelElement)
Removes properties that impact the lay outing of interactive form fields.- Parameters:
modelElement
- The model element to remove the properties from.- Returns:
- A map containing the removed properties.
-
reapplyProperties
public static void reapplyProperties(IPropertyContainer modelElement, java.util.Map<java.lang.Integer,java.lang.Object> properties)
Reapplies the propertiesIPropertyContainer
.- Parameters:
modelElement
- The model element to reapply the properties to.properties
- The properties to reapply.
-
-