Package net.sf.jasperreports.pdf.classic
Class ClassicPdfField
- java.lang.Object
-
- net.sf.jasperreports.pdf.classic.ClassicPdfField
-
- All Implemented Interfaces:
PdfField
- Direct Known Subclasses:
ClassicPdfTextField
,ClassicRadioCheck
public abstract class ClassicPdfField extends Object implements PdfField
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassicPdfProducer
pdfProducer
-
Constructor Summary
Constructors Constructor Description ClassicPdfField(ClassicPdfProducer pdfProducer, com.lowagie.text.pdf.BaseField field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAlignment(PdfTextAlignment alignment)
void
setBackgroundColor(Color backcolor)
void
setBorderColor(Color lineColor)
void
setBorderStyle(PdfFieldBorderStyleEnum borderStyle)
void
setBorderWidth(float borderWidth)
void
setFont(Map<AttributedCharacterIterator.Attribute,Object> attributes, Locale locale)
void
setFontSize(float fontSize)
void
setReadOnly()
void
setRotation(int rotation)
void
setText(String value)
void
setTextColor(Color forecolor)
void
setVisible()
-
-
-
Field Detail
-
pdfProducer
protected ClassicPdfProducer pdfProducer
-
-
Constructor Detail
-
ClassicPdfField
public ClassicPdfField(ClassicPdfProducer pdfProducer, com.lowagie.text.pdf.BaseField field)
-
-
Method Detail
-
setBorderWidth
public void setBorderWidth(float borderWidth)
- Specified by:
setBorderWidth
in interfacePdfField
-
setBackgroundColor
public void setBackgroundColor(Color backcolor)
- Specified by:
setBackgroundColor
in interfacePdfField
-
setTextColor
public void setTextColor(Color forecolor)
- Specified by:
setTextColor
in interfacePdfField
-
setAlignment
public void setAlignment(PdfTextAlignment alignment)
- Specified by:
setAlignment
in interfacePdfField
-
setBorderColor
public void setBorderColor(Color lineColor)
- Specified by:
setBorderColor
in interfacePdfField
-
setBorderStyle
public void setBorderStyle(PdfFieldBorderStyleEnum borderStyle)
- Specified by:
setBorderStyle
in interfacePdfField
-
setReadOnly
public void setReadOnly()
- Specified by:
setReadOnly
in interfacePdfField
-
setFont
public void setFont(Map<AttributedCharacterIterator.Attribute,Object> attributes, Locale locale)
-
setFontSize
public void setFontSize(float fontSize)
- Specified by:
setFontSize
in interfacePdfField
-
setRotation
public void setRotation(int rotation)
- Specified by:
setRotation
in interfacePdfField
-
setVisible
public void setVisible()
- Specified by:
setVisible
in interfacePdfField
-
-