COSObjectablepublic class PDTextbox extends PDVariableText
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIREDFLAG_COMB, FLAG_DO_NOT_SCROLL, FLAG_DO_NOT_SPELL_CHECK, FLAG_FILE_SELECT, FLAG_MULTILINE, FLAG_PASSWORD, FLAG_RICH_TEXT, QUADDING_CENTERED, QUADDING_LEFT, QUADDING_RIGHT| Constructor | Description |
|---|---|
PDTextbox(PDAcroForm theAcroForm) |
|
PDTextbox(PDAcroForm theAcroForm,
COSDictionary field) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxLen() |
Returns the maximum number of characters of the text field.
|
void |
setMaxLen(int maxLen) |
Sets the maximum number of characters of the text field.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toStringdoNotScroll, doNotSpellCheck, getDefaultAppearance, getQ, getValue, isFileSelect, isMultiline, isPassword, isRichText, setComb, setDoNotScroll, setDoNotSpellCheck, setFileSelect, setMultiline, setPassword, setQ, setRichText, setValue, shouldCombpublic PDTextbox(PDAcroForm theAcroForm)
theAcroForm - The acroform.PDField(PDAcroForm,COSDictionary)public PDTextbox(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm - The acroForm for this field.field - The field's dictionary.PDField(PDAcroForm,COSDictionary)public int getMaxLen()
public void setMaxLen(int maxLen)
maxLen - the maximum number of characters