palio.modules.pdf
Class PDFTextField

java.lang.Object
  extended by palio.modules.pdf.PDFObject
      extended by palio.modules.pdf.PDFTextObject
          extended by palio.modules.pdf.PDFTextField

public class PDFTextField
extends PDFTextObject

Klasa PDFTextField reprezentuje pole tekstowe.

Version:
1.0, 04/11/09
Author:
Krzysztof Łuszyński TORN

Field Summary
 
Fields inherited from class palio.modules.pdf.PDFTextObject
MAX_FONT_WEIGHT, MIN_FONT_WEIGHT
 
Fields inherited from class palio.modules.pdf.PDFObject
endl, MAX_PAGE_NUMBER, MAX_START_X, MAX_START_Y, MIN_PAGE_NUMBER, MIN_START_X, MIN_START_Y, PDFImage, PDFTextField, PDFTextForm
 
Constructor Summary
PDFTextField(int _pageNumber, float _startX, float _startY, java.lang.String _name, int _id, int _fontWeight, com.lowagie.text.pdf.BaseFont _font)
          Konstruktor klasy PDFTextField.
 
Method Summary
 void draw(com.lowagie.text.pdf.PdfContentByte cb)
          Metoda rysująca obiekt.
 java.lang.String getType()
          Metoda zwracająca typ obiektu - PDFObject.PDF_TEXT_FIELD.
 void setValue(java.lang.Object newValue)
          Metoda ustawiająca wartość obiektu.
 
Methods inherited from class palio.modules.pdf.PDFTextObject
getFontWeight, getValue, toString
 
Methods inherited from class palio.modules.pdf.PDFObject
getId, getPageNumber, getStartX, getStartY, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PDFTextField

public PDFTextField(int _pageNumber,
                    float _startX,
                    float _startY,
                    java.lang.String _name,
                    int _id,
                    int _fontWeight,
                    com.lowagie.text.pdf.BaseFont _font)
             throws PDFException
Konstruktor klasy PDFTextField.

Parameters:
_pageNumber - parametr typu int, numer strony.
_startX - parametr typu int, odcięta punktu początkowego.
_startY - parametr typu int, rzędna punktu początkowego.
_name - parametr typu String, nazwa pola.
_id - parametr typu int, id pola w bazie danych.
_fontWeight - parametr typu int, wielkość czcionki.
_font - parametry typu com.lowagie.text.pdf.BaseFont, czcionka.
Throws:
PDFException -
- _pageNumber nie mieści się pomiędzy ,
- _startX nie mieści się pomiędzy ,
- _startY nie mieści się pomiędzy ,
- _fontWeight nie mieści się pomiędzy ,
- _font jest null.
Method Detail

setValue

public void setValue(java.lang.Object newValue)
Metoda ustawiająca wartość obiektu.

Specified by:
setValue in class PDFObject
Parameters:
newValue - parametr typu Object, nowa wartość obiektu.

draw

public void draw(com.lowagie.text.pdf.PdfContentByte cb)
Metoda rysująca obiekt.

Specified by:
draw in class PDFObject
Parameters:
cb - parametr typu com.lowagie.text.pdf.PdfContentByte, uchwyt do strony.

getType

public java.lang.String getType()
Metoda zwracająca typ obiektu - PDFObject.PDF_TEXT_FIELD.

Specified by:
getType in class PDFObject
Returns:
zmienna typu String, typ obiektu.