Example usage for Java com.lowagie.text.pdf PushbuttonField fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LAYOUT_LABEL_ONLY A layout option |
int | LAYOUT_ICON_ONLY A layout option |
int | LAYOUT_LABEL_TOP_ICON_BOTTOM A layout option |
int | SCALE_ICON_ALWAYS An icon scaling option |
PushbuttonField(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonField |
PdfFormField | getField() Gets the pushbutton 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 | setImage(Image image) Sets the icon as an image. |
void | setLayout(int layout) Sets the icon and label layout. |
void | setOptions(int options) Sets the option flags. |
void | setProportionalIcon(boolean proportionalIcon) Sets the way the icon is scaled. |
void | setScaleIcon(int scaleIcon) Sets the way the icon will be scaled. |
void | setTemplate(PdfTemplate template) Sets the icon as a template. |
void | setText(String text) Sets the text for text fields. |
void | setTextColor(Color textColor) Sets the text color. |