| Modifier and Type | Field and Description | 
|---|---|
static int | 
FF_COMB
The field flag indicating the field is combed. 
 | 
static int | 
FF_DONOTSCROLL
The field flag indicating the field does not scroll. 
 | 
static int | 
FF_DONOTSPELLCHECK
The field flag indicating the field is not spell checked. 
 | 
static int | 
FF_FILESELECT
The field flag indicating the field contains a file path. 
 | 
static int | 
FF_MULTILINE
The field flag indicating the field can have multiple lines. 
 | 
static int | 
FF_PASSWORD
The field flag indicating the field contains a password. 
 | 
static int | 
FF_RICHTEXT
The field flag indicating the field contains rich text. 
 | 
FF_NOEXPORT, FF_READONLY, FF_REQUIRED, TYPE_BUTTON, TYPE_CHECKBOX, TYPE_COMBOBOX, TYPE_LISTBOX, TYPE_RADIOBUTTON, TYPE_SIGNATURE, TYPE_TEXT| Modifier and Type | Method and Description | 
|---|---|
String | 
getDefaultValue()
Returns the default value for this text field. 
 | 
int | 
getHorzTextAlign()
Returns the horizontal text alignment property for this field. 
 | 
int | 
getMaxLength()
Returns the maximum number of characters allowed for this text field. 
 | 
String | 
getRichValue()
Returns the rich value of the text field when rich text is enabled, or null if rich text is not enabled. 
 | 
String | 
getValue()
Returns the plain text value of the text field. 
 | 
boolean | 
isMultiLine()
Returns true if the 'Multi-Line' flag is on for this text field. 
 | 
boolean | 
isRichText()
Returns true if the 'Rich Text' flag is on for this field. 
 | 
void | 
setDefaultValue(String defaultValue)
Sets the default value for this text field. 
 | 
void | 
setHorzTextAlign(int justify)
Sets the text alignment for this field. 
 | 
void | 
setMaxLen(int maxLen)
Sets the maximum number of characters allowed in this text field. 
 | 
void | 
setRichValue(String richValue)
Sets the rich value for this text field if rich text is enabled. 
 | 
void | 
setValue(String value)
Sets the value for this text field. 
 | 
addFieldListener, addKeyListener, addMouseListener, flattenField, getAltFieldName, getFieldFlags, getFieldName, getFieldTypeDesc, getFullFieldName, getKids, getMapFieldName, getTriggerActions, getUserName, getWidgets, isEmpty, isNoExport, isReadOnly, isRequired, removeFieldListener, reset, setAltFieldName, setComponentVisible, setFieldFlags, setFieldName, setHidden, setMapFieldName, setNoExport, setPrintable, setReadOnly, setRequired, setTriggerActions, setUserNamestatic final int FF_MULTILINE
static final int FF_PASSWORD
static final int FF_FILESELECT
static final int FF_DONOTSPELLCHECK
static final int FF_DONOTSCROLL
static final int FF_COMB
static final int FF_RICHTEXT
String getDefaultValue()
int getMaxLength()
String getValue()
getRichValue()String getRichValue()
boolean isMultiLine()
boolean isRichText()
void setValue(String value) throws PDFException
value - the new value.PDFExceptionvoid setRichValue(String richValue) throws PDFException
richValue - the new rich value.PDFExceptionvoid setDefaultValue(String defaultValue)
defaultValue - the new default value.void setMaxLen(int maxLen)
maxLen - the maximum number of characters allowed in this text field.void setHorzTextAlign(int justify)
               throws PDFException
justify - The new value for the text alignmentPDFExceptionint getHorzTextAlign()