Class HeaderFooterInfo
- java.lang.Object
-
- com.aspose.tasks.HeaderFooterInfo
-
public class HeaderFooterInfo extends Object
Represents header or footer data which is present in views and used for printing.
-
-
Constructor Summary
Constructors Constructor Description HeaderFooterInfo()
Initializes a new instance of theHeaderFooterInfo
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
HeaderFooterInfo
public HeaderFooterInfo()
Initializes a new instance of the
HeaderFooterInfo
class.
-
-
Method Detail
-
getCenteredImage
public final Image getCenteredImage()
Gets the centered image to be displayed in the header or footer.
- Returns:
- the centered image to be displayed in the header or footer.
-
setCenteredImage
public final void setCenteredImage(Image value)
Sets the centered image to be displayed in the header or footer.
- Parameters:
value
- 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:
- the displayed size of the center image.
-
setCenteredImageSize
public final void setCenteredImageSize(Dimension value)
Sets the displayed size of the center image.
- Parameters:
value
- the displayed size of the center image.
-
getCenteredText
public final String getCenteredText()
Gets the centered text to display in the header or footer .
- Returns:
- the centered text to display in the header or footer .
-
setCenteredText
public final void setCenteredText(String value)
Sets the centered text to display in the header or footer .
- Parameters:
value
- 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:
- the left aligned image to be displayed in the header or footer.
-
setLeftImage
public final void setLeftImage(Image value)
Sets the left aligned image to be displayed in the header or footer.
- Parameters:
value
- 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:
- the displayed size of the left image.
-
setLeftImageSize
public final void setLeftImageSize(Dimension value)
Sets the displayed size of the left image.
- Parameters:
value
- 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:
- the left aligned text to display in the header or footer.
-
setLeftText
public final void setLeftText(String value)
Sets the left aligned text to display in the header or footer.
- Parameters:
value
- 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:
- the right aligned image to be displayed in the header or footer.
-
setRightImage
public final void setRightImage(Image value)
Sets the right aligned image to be displayed in the header or footer.
- Parameters:
value
- 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:
- the displayed size of the right image.
-
setRightImageSize
public final void setRightImageSize(Dimension value)
Sets the displayed size of the right image.
- Parameters:
value
- 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:
- the right aligned text to display in the header or footer.
-
setRightText
public final void setRightText(String value)
Sets the right aligned text to display in the header or footer.
- Parameters:
value
- the right aligned text to display in the header or footer.
-
-