Example usage for Java com.lowagie.text.pdf TextField fields, constructors, methods, implement or subclass
The text is from its open source code.
TextField(PdfWriter writer, Rectangle box, String fieldName) Creates a new TextField . |
String[] | getChoices() Gets the choices to be presented to the user in list/combo fields. |
PdfFormField | getComboField() Gets a new combo field. |
PdfFormField | getListField() Gets a new list field. |
PdfFormField | getTextField() Gets a new text field. |
void | setAlignment(int alignment) Sets the text horizontal alignment. |
void | setBackgroundColor(Color backgroundColor) Sets the background color. |
void | setBorderColor(Color borderColor) Sets the border color. |
void | setBorderStyle(int borderStyle) Sets the border style. |
void | setBorderWidth(float borderWidth) Sets the border width in points. |
void | setChoiceExports(String[] choiceExports) Sets the export values in list/combo fields. |
void | setChoices(String[] choices) Sets the choices to be presented to the user in list/combo fields. |
void | setChoiceSelection(int choiceSelection) Sets the zero based index of the selected item. |
void | setDefaultText(String defaultText) Sets the default text. |
void | setFont(BaseFont font) Sets the text font. |
void | setFontSize(float fontSize) Sets the font size. |
void | setMaxCharacterLength(int maxCharacterLength) Sets the maximum length of the field's text, in characters. |
void | setOptions(int options) Sets the option flags. |
void | setText(String text) Sets the text for text fields. |
void | setTextColor(Color textColor) Sets the text color. |