public class PDTextbox extends PDVariableText
FLAG_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_RIGHTFLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED| Constructor and Description |
|---|
PDTextbox(PDAcroForm theAcroForm) |
PDTextbox(PDAcroForm theAcroForm,
COSDictionary field) |
| Modifier and Type | Method and 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.
|
doNotScroll, doNotSpellCheck, getDefaultAppearance, getQ, getValue, isFileSelect, isMultiline, isPassword, isRichText, setComb, setDoNotScroll, setDoNotSpellCheck, setFileSelect, setMultiline, setPassword, setQ, setRichText, setValue, shouldCombfindFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toStringpublic PDTextbox(PDAcroForm theAcroForm)
theAcroForm - The acroform.PDField.PDField(PDAcroForm,COSDictionary)public PDTextbox(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm - The acroForm for this field.field - The field's dictionary.PDField.PDField(PDAcroForm,COSDictionary)public int getMaxLen()
public void setMaxLen(int maxLen)
maxLen - the maximum number of charactersCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.