HeaderFooterInfo

Inheritance: java.lang.Object

public class HeaderFooterInfo

Represents header or footer data which is present in views and used for printing.

Constructors

ConstructorDescription
HeaderFooterInfo()Initializes a new instance of the HeaderFooterInfo class.

Methods

MethodDescription
getCenteredImage()Gets the centered image to be displayed in the header or footer.
getCenteredImageSize()Gets the displayed size of the center image.
getCenteredText()Gets the centered text to display in the header or footer .
getLeftImage()Gets the left aligned image to be displayed in the header or footer.
getLeftImageSize()Gets the displayed size of the left image.
getLeftText()Gets the left aligned text to display in the header or footer.
getRightImage()Gets the right aligned image to be displayed in the header or footer.
getRightImageSize()Gets the displayed size of the right image.
getRightText()Gets the right aligned text to display in the header or footer.
setCenteredImage(Image value)Sets the centered image to be displayed in the header or footer.
setCenteredImageSize(Dimension value)Sets the displayed size of the center image.
setCenteredText(String value)Sets the centered text to display in the header or footer .
setLeftImage(Image value)Sets the left aligned image to be displayed in the header or footer.
setLeftImageSize(Dimension value)Sets the displayed size of the left image.
setLeftText(String value)Sets the left aligned text to display in the header or footer.
setRightImage(Image value)Sets the right aligned image to be displayed in the header or footer.
setRightImageSize(Dimension value)Sets the displayed size of the right image.
setRightText(String value)Sets the right aligned text to display in the header or footer.

HeaderFooterInfo()

public HeaderFooterInfo()

Initializes a new instance of the HeaderFooterInfo class.

getCenteredImage()

public final Image getCenteredImage()

Gets the centered image to be displayed in the header or footer.

Returns: java.awt.Image - the centered image to be displayed in the header or footer.

getCenteredImageSize()

public final Dimension getCenteredImageSize()

Gets the displayed size of the center image.

Returns: java.awt.Dimension - the displayed size of the center image.

getCenteredText()

public final String getCenteredText()

Gets the centered text to display in the header or footer .

Returns: java.lang.String - the centered text to display in the header or footer .

getLeftImage()

public final Image getLeftImage()

Gets the left aligned image to be displayed in the header or footer.

Returns: java.awt.Image - the left aligned image to be displayed in the header or footer.

getLeftImageSize()

public final Dimension getLeftImageSize()

Gets the displayed size of the left image.

Returns: java.awt.Dimension - the displayed size of the left image.

getLeftText()

public final String getLeftText()

Gets the left aligned text to display in the header or footer.

Returns: java.lang.String - the left aligned text to display in the header or footer.

getRightImage()

public final Image getRightImage()

Gets the right aligned image to be displayed in the header or footer.

Returns: java.awt.Image - the right aligned image to be displayed in the header or footer.

getRightImageSize()

public final Dimension getRightImageSize()

Gets the displayed size of the right image.

Returns: java.awt.Dimension - the displayed size of the right image.

getRightText()

public final String getRightText()

Gets the right aligned text to display in the header or footer.

Returns: java.lang.String - the right aligned text to display in the header or footer.

setCenteredImage(Image value)

public final void setCenteredImage(Image value)

Sets the centered image to be displayed in the header or footer.

Parameters:

ParameterTypeDescription
valuejava.awt.Imagethe centered image to be displayed in the header or footer.

setCenteredImageSize(Dimension value)

public final void setCenteredImageSize(Dimension value)

Sets the displayed size of the center image.

Parameters:

ParameterTypeDescription
valuejava.awt.Dimensionthe displayed size of the center image.

setCenteredText(String value)

public final void setCenteredText(String value)

Sets the centered text to display in the header or footer .

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe centered text to display in the header or footer .

setLeftImage(Image value)

public final void setLeftImage(Image value)

Sets the left aligned image to be displayed in the header or footer.

Parameters:

ParameterTypeDescription
valuejava.awt.Imagethe left aligned image to be displayed in the header or footer.

setLeftImageSize(Dimension value)

public final void setLeftImageSize(Dimension value)

Sets the displayed size of the left image.

Parameters:

ParameterTypeDescription
valuejava.awt.Dimensionthe displayed size of the left image.

setLeftText(String value)

public final void setLeftText(String value)

Sets the left aligned text to display in the header or footer.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe left aligned text to display in the header or footer.

setRightImage(Image value)

public final void setRightImage(Image value)

Sets the right aligned image to be displayed in the header or footer.

Parameters:

ParameterTypeDescription
valuejava.awt.Imagethe right aligned image to be displayed in the header or footer.

setRightImageSize(Dimension value)

public final void setRightImageSize(Dimension value)

Sets the displayed size of the right image.

Parameters:

ParameterTypeDescription
valuejava.awt.Dimensionthe displayed size of the right image.

setRightText(String value)

public final void setRightText(String value)

Sets the right aligned text to display in the header or footer.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe right aligned text to display in the header or footer.