public class HeaderFooterInfo extends Object
Represents header or footer data which is present in views and used for printing.
Constructor and Description |
---|
HeaderFooterInfo()
Initializes a new instance of the
HeaderFooterInfo class. |
Modifier and Type | Method and Description |
---|---|
Image |
getCenteredImage()
Gets the centered image to be displayed in the header or footer.
|
Dimension |
getCenteredImageSize()
Gets the displayed size of the center image.
|
String |
getCenteredText()
Gets the centered text to display in the header or footer .
|
Image |
getLeftImage()
Gets the left aligned image to be displayed in the header or footer.
|
Dimension |
getLeftImageSize()
Gets the displayed size of the left image.
|
String |
getLeftText()
Gets the left aligned text to display in the header or footer.
|
Image |
getRightImage()
Gets the right aligned image to be displayed in the header or footer.
|
Dimension |
getRightImageSize()
Gets the displayed size of the right image.
|
String |
getRightText()
Gets the right aligned text to display in the header or footer.
|
void |
setCenteredImage(Image value)
Sets the centered image to be displayed in the header or footer.
|
void |
setCenteredImageSize(Dimension value)
Sets the displayed size of the center image.
|
void |
setCenteredText(String value)
Sets the centered text to display in the header or footer .
|
void |
setLeftImage(Image value)
Sets the left aligned image to be displayed in the header or footer.
|
void |
setLeftImageSize(Dimension value)
Sets the displayed size of the left image.
|
void |
setLeftText(String value)
Sets the left aligned text to display in the header or footer.
|
void |
setRightImage(Image value)
Sets the right aligned image to be displayed in the header or footer.
|
void |
setRightImageSize(Dimension value)
Sets the displayed size of the right image.
|
void |
setRightText(String value)
Sets the right aligned text to display in the header or footer.
|
public HeaderFooterInfo()
Initializes a new instance of the HeaderFooterInfo
class.
public final Image getCenteredImage()
Gets the centered image to be displayed in the header or footer.
public final void setCenteredImage(Image value)
Sets the centered image to be displayed in the header or footer.
value
- the centered image to be displayed in the header or footer.public final Dimension getCenteredImageSize()
Gets the displayed size of the center image.
public final void setCenteredImageSize(Dimension value)
Sets the displayed size of the center image.
value
- the displayed size of the center image.public final String getCenteredText()
Gets the centered text to display in the header or footer .
public final void setCenteredText(String value)
Sets the centered text to display in the header or footer .
value
- the centered text to display in the header or footer .public final Image getLeftImage()
Gets the left aligned image to be displayed in the header or footer.
public final void setLeftImage(Image value)
Sets the left aligned image to be displayed in the header or footer.
value
- the left aligned image to be displayed in the header or footer.public final Dimension getLeftImageSize()
Gets the displayed size of the left image.
public final void setLeftImageSize(Dimension value)
Sets the displayed size of the left image.
value
- the displayed size of the left image.public final String getLeftText()
Gets the left aligned text to display in the header or footer.
public final void setLeftText(String value)
Sets the left aligned text to display in the header or footer.
value
- the left aligned text to display in the header or footer.public final Image getRightImage()
Gets the right aligned image to be displayed in the header or footer.
public final void setRightImage(Image value)
Sets the right aligned image to be displayed in the header or footer.
value
- the right aligned image to be displayed in the header or footer.public final Dimension getRightImageSize()
Gets the displayed size of the right image.
public final void setRightImageSize(Dimension value)
Sets the displayed size of the right image.
value
- the displayed size of the right image.public final String getRightText()
Gets the right aligned text to display in the header or footer.
public final void setRightText(String value)
Sets the right aligned text to display in the header or footer.
value
- the right aligned text to display in the header or footer.