DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class HeaderFooterText

java.lang.Object
  extended by com.cete.dynamicpdf.HeaderFooterText

public class HeaderFooterText
extends java.lang.Object

This class can be used for header footer template to place Header Footer Text on a page.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.

View Example


Constructor Summary
HeaderFooterText(java.lang.String text)
          Initializes a new instance of the HeaderFooterText class.
HeaderFooterText(java.lang.String text, Font font, float fontSize)
          Initializes a new instance of the HeaderFooterText class.
 
Method Summary
 Font getFont()
          Gets the Font for the header footer text.
 float getFontSize()
          Gets the font size for the header footer text.
 java.lang.String getText()
          Gets the text for the header footer text.
 void setFont(Font font)
          Sets the Font for the header footer text.
 void setFontSize(float fontSize)
          Sets the font size for the header footer text.
 void setText(java.lang.String value)
          Sets the text for the header footer text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderFooterText

public HeaderFooterText(java.lang.String text)
Initializes a new instance of the HeaderFooterText class.

Parameters:
text - This text can be used for header footer template to display the text on the page.

HeaderFooterText

public HeaderFooterText(java.lang.String text,
                        Font font,
                        float fontSize)
Initializes a new instance of the HeaderFooterText class.

Parameters:
text - This text can be used for header footer template to display the text on the page.
font - Font The representing font of the header footer text.
fontSize - The font size representing size of the header footer text.
Method Detail

getText

public java.lang.String getText()
Gets the text for the header footer text.

Returns:
the text for the header footer text.

setText

public void setText(java.lang.String value)
Sets the text for the header footer text.

Parameters:
value - the text for the header footer text.

getFont

public Font getFont()
Gets the Font for the header footer text.

Returns:
the Font for the header footer text.

setFont

public void setFont(Font font)
Sets the Font for the header footer text.

Parameters:
font - the Font for the header footer text.

getFontSize

public float getFontSize()
Gets the font size for the header footer text.

Returns:
the text for the header footer text.

setFontSize

public void setFontSize(float fontSize)
Sets the font size for the header footer text.

Parameters:
fontSize - font size for the header footer text.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software