|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextField
TextField holds a text field.
| Field Summary |
|---|
| Fields inherited from interface com.qoppa.pdf.form.FormField |
|---|
TYPE_BUTTON, TYPE_CHECKBOX, TYPE_COMBOBOX, TYPE_LISTBOX, TYPE_RADIOBUTTON, TYPE_SIGNATURE, TYPE_TEXT |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.qoppa.pdf.form.FormField |
|---|
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 |
| Method Detail |
|---|
String getDefaultValue()
int getMaxLength()
String getValue()
boolean isMultiLine()
void setValue(String value)
throws PDFException
PDFExceptionvoid setDefaultValue(String defaultValue)
void setMaxLen(int maxLen)
void setHorzTextAlign(int justify)
throws PDFException
justify - The new value for the text alignment
PDFExceptionint getHorzTextAlign()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||