|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
TextField holds a text field.
| 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, getMapFieldName, getUserName, getWidgets, isNoExport, isReadOnly, isRequired, removeFieldListener, reset, setAltFieldName, setComponentVisible, setFieldFlags, setFieldName, setHidden, setMapFieldName, setNoExport, setPrintable, setReadOnly, setRequired, setUserName |
| Method Detail |
public String getDefaultValue()
public int getMaxLength()
public String getValue()
public boolean isMultiLine()
public void setValue(String value)
throws PDFException
PDFExceptionpublic void setDefaultValue(String defaultValue)
public void setMaxLen(int maxLen)
public void setHorzTextAlign(int justify)
throws PDFException
justify - The new value for the text alignment
PDFExceptionpublic int getHorzTextAlign()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||