com.pdfjet
Class Form

java.lang.Object
  extended by com.pdfjet.Form
All Implemented Interfaces:
Drawable

public class Form
extends java.lang.Object
implements Drawable

Please see Example_45


Constructor Summary
Form(java.util.List<Field> fields)
           
 
Method Summary
 float[] drawOn(Page page)
          Draws this Form on the specified page.
 java.util.List<float[]> getEndOfLinePoints()
           
 Form setLabelColor(int labelColor)
           
 Form setLabelFont(Font f1)
           
 Form setLabelFontSize(float labelFontSize)
           
 Form setLocation(float x, float y)
           
 Form setRowHeight(float rowHeight)
           
 Form setRowLength(float rowLength)
           
 Form setValueColor(int valueColor)
           
 Form setValueFont(Font f2)
           
 Form setValueFontSize(float valueFontSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Form

public Form(java.util.List<Field> fields)
Method Detail

setLocation

public Form setLocation(float x,
                        float y)

setRowLength

public Form setRowLength(float rowLength)

setRowHeight

public Form setRowHeight(float rowHeight)

setLabelFont

public Form setLabelFont(Font f1)

setLabelFontSize

public Form setLabelFontSize(float labelFontSize)

setValueFont

public Form setValueFont(Font f2)

setValueFontSize

public Form setValueFontSize(float valueFontSize)

setLabelColor

public Form setLabelColor(int labelColor)

setValueColor

public Form setValueColor(int valueColor)

getEndOfLinePoints

public java.util.List<float[]> getEndOfLinePoints()

drawOn

public float[] drawOn(Page page)
               throws java.lang.Exception
Draws this Form on the specified page.

Specified by:
drawOn in interface Drawable
Parameters:
page - the page to draw this form on.
Returns:
x and y coordinates of the bottom right corner of this component.
Throws:
java.lang.Exception