示例#1
0
 /**
  * sets the field to be required.
  *
  * @param required The new flag for required.
  */
 public void setRequired(boolean required) {
   dictionary.setFlag(COSName.FF, FLAG_REQUIRED, required);
 }
示例#2
0
 /**
  * sets the field to be not exported.
  *
  * @param noExport The new flag for noExport.
  */
 public void setNoExport(boolean noExport) {
   dictionary.setFlag(COSName.FF, FLAG_NO_EXPORT, noExport);
 }
示例#3
0
 /**
  * sets the field to be read-only.
  *
  * @param readonly The new flag for readonly.
  */
 public void setReadOnly(boolean readonly) {
   dictionary.setFlag(COSName.FF, FLAG_READ_ONLY, readonly);
 }