public class TextFieldDictionary extends VariableTextFieldDictionary
| Modifier and Type | Class and Description |
|---|---|
static class |
TextFieldDictionary.TextFieldType |
VariableTextFieldDictionary.Quadding| Modifier and Type | Field and Description |
|---|---|
static int |
COMB_BIT_FLAG
(PDF 1.5) May be set only if the MaxLen entry is present in the text field
dictionary (see Table 229) and if the Multiline, Password, and FileSelect
flags are clear.
|
static int |
DO_NOT_SCROLL_BIT_FLAG
(PDF 1.4) If set, the field shall not scroll (horizontally for single-line
fields, vertically for multiple-line fields) to accommodate more text than
fits within its annotation rectangle.
|
static int |
FILE_SELECT_BIT_FLAG
(PDF 1.4) If set, the text entered in the field represents the pathname of
a file whose contents shall be submitted as the value of the field.
|
static Name |
MAX_LENGTH_KEY
The maximum length of the fields text, in characters.
|
protected int |
maxLength |
static int |
MULTILINE_BIT_FLAG
(Radio buttons only) If set, exactly one radio button shall be selected at
all times; selecting the currently selected button has no effect.
|
static int |
PASSWORD_BIT_FLAG
should not be echoed visibly to the screen.
|
static int |
RICH_TEXT_BIT_FLAG
(PDF 1.5) If set, the value of this field shall be a rich text string
(see 12.7.3.4, “Rich Text Strings”).
|
static int |
TEXT_DO_NOT_SPELL_CHECK_BIT_FLAG
(PDF 1.4) If set, text entered in the field shall not be spell-checked.
|
protected TextFieldDictionary.TextFieldType |
textFieldType |
color, DA_KEY, DS_KEY, fontName, Q_KEY, quadding, RV_KEY, sizeAA_KEY, additionalActionsDictionary, alternativeFieldName, defaultFieldValue, DV_KEY, exportMappingName, Ff_KEY, fieldType, fieldValue, FT_KEY, kids, KIDS_KEY, NO_EXPORT_BIT_FLAG, PARENT_KEY, parentField, partialFieldName, READ_ONLY_BIT_FLAG, REQUIRED_BIT_FLAG, T_KEY, TM_KEY, TU_KEY, V_KEYentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
TextFieldDictionary(Library library,
java.util.HashMap entries) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength() |
TextFieldDictionary.TextFieldType |
getTextFieldType() |
boolean |
isComb()
May be set only if the MaxLen entry is present in the text field dictionary (see Table 229) and if the Multiline,
Password, and FileSelect flags are clear.
|
boolean |
isDoNotScroll()
If set, the field shall not scroll (horizontally for single-line fields, vertically for multiple-line fields)
to accommodate more text than fits within its annotation rectangle.
|
boolean |
isFileSelect()
Filed is a file select component.
|
boolean |
isMultiLine()
Field may container multiple lines of text.
|
boolean |
isRichText()
If set, the value of this field shall be a rich text string (see 12.7.3.4, “Rich Text Strings”).
|
getColor, getDefaultAppearance, getDefaultRichText, getDefaultStyle, getFontName, getQuadding, getSize, setFontName, setSizegetAdditionalActionsDictionary, getAlternativeFieldName, getDefaultFieldValue, getExportMappingName, getFieldType, getFieldValue, getFlags, getFullyQualifiedFieldName, getKids, getParent, getPartialFieldName, hasDefaultValue, hasFieldValue, isNoExport, isReadOnly, isRequired, setFieldValuegetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic static final Name MAX_LENGTH_KEY
public static final int MULTILINE_BIT_FLAG
public static final int PASSWORD_BIT_FLAG
public static final int FILE_SELECT_BIT_FLAG
public static final int TEXT_DO_NOT_SPELL_CHECK_BIT_FLAG
public static final int DO_NOT_SCROLL_BIT_FLAG
public static final int COMB_BIT_FLAG
public static final int RICH_TEXT_BIT_FLAG
protected TextFieldDictionary.TextFieldType textFieldType
protected int maxLength
public TextFieldDictionary(Library library, java.util.HashMap entries)
public int getMaxLength()
public TextFieldDictionary.TextFieldType getTextFieldType()
public boolean isMultiLine()
public boolean isFileSelect()
public boolean isDoNotScroll()
public boolean isComb()
public boolean isRichText()