Java com.lowagie.text.pdf TextField fields, constructors, methods, implement or subclass

Example usage for Java com.lowagie.text.pdf TextField fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.lowagie.text.pdf TextField.

The text is from its open source code.

Constructor

Method

String[]getChoices()
Gets the choices to be presented to the user in list/combo fields.
PdfFormFieldgetComboField()
Gets a new combo field.
PdfFormFieldgetListField()
Gets a new list field.
PdfFormFieldgetTextField()
Gets a new text field.
voidsetAlignment(int alignment)
Sets the text horizontal alignment.
voidsetBackgroundColor(Color backgroundColor)
Sets the background color.
voidsetBorderColor(Color borderColor)
Sets the border color.
voidsetBorderStyle(int borderStyle)
Sets the border style.
voidsetBorderWidth(float borderWidth)
Sets the border width in points.
voidsetChoiceExports(String[] choiceExports)
Sets the export values in list/combo fields.
voidsetChoices(String[] choices)
Sets the choices to be presented to the user in list/combo fields.
voidsetChoiceSelection(int choiceSelection)
Sets the zero based index of the selected item.
voidsetDefaultText(String defaultText)
Sets the default text.
voidsetFont(BaseFont font)
Sets the text font.
voidsetFontSize(float fontSize)
Sets the font size.
voidsetMaxCharacterLength(int maxCharacterLength)
Sets the maximum length of the field's text, in characters.
voidsetOptions(int options)
Sets the option flags.
voidsetText(String text)
Sets the text for text fields.
voidsetTextColor(Color textColor)
Sets the text color.