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 |
getValue()
Returns the value of the text field.
|
boolean |
isMultiLine()
Returns true if the 'Multi-Line' flag is on for this text 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 |
setValue(String value)
Sets the value for this text field.
|
addFieldListener, addKeyListener, addMouseListener, flattenField, getAltFieldName, 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, setUserName
String getDefaultValue()
int getMaxLength()
String getValue()
boolean isMultiLine()
void setValue(String value) throws PDFException
PDFException
void setDefaultValue(String defaultValue)
void setMaxLen(int maxLen)
void setHorzTextAlign(int justify) throws PDFException
justify
- The new value for the text alignmentPDFException
int getHorzTextAlign()