Package com.dynamicpdf.api
Class FormField
java.lang.Object
com.dynamicpdf.api.FormField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets a boolean indicating whether to flatten the form field.getName()Gets name of the form field.booleanGets a boolean indicating whether to remove the form field.getValue()Gets value of the form field.voidsetFlatten(boolean value)Sets a boolean indicating whether to flatten the form field.voidSets name of the form field.voidsetRemove(boolean value)Sets a boolean indicating whether to remove the form field.voidSets value of the form field.
-
Constructor Details
-
FormField
Initializes a new instance of theFormFieldclass using the name of the form field as a parameter.- Parameters:
name- The name of the form field.
-
FormField
Initializes a new instance of theFormFieldclass using the name and the value of the form field as parameters.- Parameters:
name- The name of the form field.value- The value of the form field.
-
-
Method Details
-
getName
Gets name of the form field.- Returns:
- Name of the form field.
-
setName
Sets name of the form field.- Parameters:
value- Name of the form field.
-
getValue
Gets value of the form field.- Returns:
- Value of the form field.
-
setValue
Sets value of the form field.- Parameters:
value- Value of the form field.
-
getFlatten
public boolean getFlatten()Gets a boolean indicating whether to flatten the form field.- Returns:
- A boolean indicating whether to flatten the form field.
-
setFlatten
public void setFlatten(boolean value)Sets a boolean indicating whether to flatten the form field.- Parameters:
value- A boolean indicating whether to flatten the form field.
-
getRemove
public boolean getRemove()Gets a boolean indicating whether to remove the form field.- Returns:
- A boolean indicating whether to remove the form field.
-
setRemove
public void setRemove(boolean value)Sets a boolean indicating whether to remove the form field.- Parameters:
value- A boolean indicating whether to remove the form field.
-