You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/01/19 19:28:38 UTC
svn commit: r1821696 -
/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java
Author: tilman
Date: Fri Jan 19 19:28:38 2018
New Revision: 1821696
URL: http://svn.apache.org/viewvc?rev=1821696&view=rev
Log:
PDFBOX-4071: improve javadoc
Modified:
pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java
Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java?rev=1821696&r1=1821695&r2=1821696&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDField.java Fri Jan 19 19:28:38 2018
@@ -232,8 +232,9 @@ public abstract class PDField implements
}
/**
- * sets the field to be required.
- *
+ * sets the flag whether the field is to be required to have a value at the time it is exported
+ * by a submit-form action.
+ *
* @param required The new flag for required.
*/
public void setRequired(boolean required)
@@ -242,8 +243,8 @@ public abstract class PDField implements
}
/**
- *
- * @return true if the field is required
+ * @return true if the field is required to have a value at the time it is exported by a
+ * submit-form action.
*/
public boolean isRequired()
{