| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | PDTextField(PDAcroForm
The form that this field is part of. acroForm, COSDictionary the PDF object to represent as a field. field, PDNonTerminalField the parent node of the node parent)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | constructAppearances()
Implements abstract org. Constructs appearance streams and appearance dictionaries for all widget annotations. |
| public boolean | |
| public boolean | |
| public String | Returns: A non-null string.Returns the default value of this field, or an empty string. |
| public int | Returns: the maximum number of characters, returns -1 if the value isn't presentReturns the maximum number of characters of the text field. |
| public String | |
| public String | getValueAsString()
Implements abstract org. Returns a string representation of the "V" entry, or an empty string. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | setDoNotSpellCheck(boolean
The value for the doNotSpellCheck. doNotSpellCheck)Set the doNotSpellCheck bit. |
| public void | |
| public void | setMaxLen(int
the maximum number of characters maxLen)Sets the maximum number of characters of the text field. |
| public void | |
| public void | |
| public void | |
| public void | setValue(String
Plain text value)Implements abstract org. Set the plain text value of this field, and try to update the visual appearance. |
| FLAG_COMB | back to summary |
|---|---|
| private static final int FLAG_COMB | |
| FLAG_DO_NOT_SCROLL | back to summary |
|---|---|
| private static final int FLAG_DO_NOT_SCROLL | |
| FLAG_DO_NOT_SPELL_CHECK | back to summary |
|---|---|
| private static final int FLAG_DO_NOT_SPELL_CHECK | |
| FLAG_FILE_SELECT | back to summary |
|---|---|
| private static final int FLAG_FILE_SELECT | |
| FLAG_MULTILINE | back to summary |
|---|---|
| private static final int FLAG_MULTILINE | |
| FLAG_PASSWORD | back to summary |
|---|---|
| private static final int FLAG_PASSWORD | |
| FLAG_RICH_TEXT | back to summary |
|---|---|
| private static final int FLAG_RICH_TEXT | |
| PDTextField | back to summary |
|---|---|
public PDTextField(PDAcroForm acroForm)
| |
| PDTextField | back to summary |
|---|---|
| pack-priv PDTextField(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| constructAppearances | back to summary |
|---|---|
| pack-priv void constructAppearances() throws IOException Implements abstract org. Doc from org. Constructs appearance streams and appearance dictionaries for all widget annotations.
Subclasses should not call this method directly but via
| |
| doNotScroll | back to summary |
|---|---|
public boolean doNotScroll()
| |
| doNotSpellCheck | back to summary |
|---|---|
public boolean doNotSpellCheck()
| |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Returns the default value of this field, or an empty string.
| |
| getMaxLen | back to summary |
|---|---|
| public int getMaxLen() Returns the maximum number of characters of the text field.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Returns the value of this field, or an empty string.
| |
| getValueAsString | back to summary |
|---|---|
| public String getValueAsString() Implements abstract org. Doc from org. Returns a string representation of the "V" entry, or an empty string. | |
| isComb | back to summary |
|---|---|
public boolean isComb()
| |
| isFileSelect | back to summary |
|---|---|
public boolean isFileSelect()
| |
| isMultiline | back to summary |
|---|---|
public boolean isMultiline()
| |
| isPassword | back to summary |
|---|---|
public boolean isPassword()
| |
| isRichText | back to summary |
|---|---|
public boolean isRichText()
| |
| setComb | back to summary |
|---|---|
| public void setComb(boolean comb) Set the comb bit.
| |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String value) Sets the default value of this field.
| |
| setDoNotScroll | back to summary |
|---|---|
| public void setDoNotScroll(boolean doNotScroll) Set the doNotScroll bit.
| |
| setDoNotSpellCheck | back to summary |
|---|---|
| public void setDoNotSpellCheck(boolean doNotSpellCheck) Set the doNotSpellCheck bit.
| |
| setFileSelect | back to summary |
|---|---|
| public void setFileSelect(boolean fileSelect) Set the file select bit.
| |
| setMaxLen | back to summary |
|---|---|
| public void setMaxLen(int maxLen) Sets the maximum number of characters of the text field.
| |
| setMultiline | back to summary |
|---|---|
| public void setMultiline(boolean multiline) Set the multiline bit.
| |
| setPassword | back to summary |
|---|---|
| public void setPassword(boolean password) Set the password bit.
| |
| setRichText | back to summary |
|---|---|
| public void setRichText(boolean richText) Set the richText bit.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) throws IOException Implements abstract org. Set the plain text value of this field, and try to update the visual appearance.
| |