Class Form

java.lang.Object
net.atthegate.server.service.pdf.Form
All Implemented Interfaces:
Drawable

public class Form extends Object implements Drawable
Please see Example_45
  • Constructor Details

  • Method Details

    • 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 List<float[]> getEndOfLinePoints()
    • drawOn

      public float[] drawOn(Page page) throws 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:
      Exception
    • format

      public static String[] format(String title, String text, Font font, float width)