Package com.dynamicpdf.api
Class FormField
java.lang.Object
com.dynamicpdf.api.FormField
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets a boolean indicating whether to flatten the form field.getName()
Gets name of the form field.boolean
Gets a boolean indicating whether to remove the form field.getValue()
Gets value of the form field.void
setFlatten(boolean value)
Sets a boolean indicating whether to flatten the form field.void
Sets name of the form field.void
setRemove(boolean value)
Sets a boolean indicating whether to remove the form field.void
Sets value of the form field.
-
Constructor Details
-
FormField
Initializes a new instance of theFormField
class using the name of the form field as a parameter.- Parameters:
name
- The name of the form field.
-
FormField
Initializes a new instance of theFormField
class 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.
-