Package org.primefaces.component.export
Class PDFOptions
- java.lang.Object
-
- org.primefaces.component.export.PDFOptions
-
- All Implemented Interfaces:
ExporterOptions
public class PDFOptions extends Object implements ExporterOptions
-
-
Constructor Summary
Constructors Constructor Description PDFOptions()
PDFOptions(String cellFontStyle, String cellFontColor, String cellFontSize)
PDFOptions(String facetFontStyle, String facetFontColor, String facetBgColor, String facetFontSize)
PDFOptions(String facetFontStyle, String facetFontColor, String facetBgColor, String facetFontSize, String cellFontStyle, String cellFontColor, String cellFontSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCellFontColor()
String
getCellFontSize()
String
getCellFontStyle()
String
getFacetBgColor()
String
getFacetFontColor()
String
getFacetFontSize()
String
getFacetFontStyle()
String
getFontName()
PDFOrientationType
getOrientation()
Gets the orientation of this PDF either LANDSCAPE or PORTRAIT.void
setCellFontColor(String cellFontColor)
void
setCellFontSize(String cellFontSize)
void
setCellFontStyle(String cellFontStyle)
void
setFacetBgColor(String facetBgColor)
void
setFacetFontColor(String facetFontColor)
void
setFacetFontSize(String facetFontSize)
void
setFacetFontStyle(String facetFontStyle)
void
setFontName(String fontName)
void
setOrientation(PDFOrientationType orientation)
Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.
-
-
-
Method Detail
-
getFacetFontStyle
public String getFacetFontStyle()
- Specified by:
getFacetFontStyle
in interfaceExporterOptions
-
setFacetFontStyle
public void setFacetFontStyle(String facetFontStyle)
-
getFacetFontColor
public String getFacetFontColor()
- Specified by:
getFacetFontColor
in interfaceExporterOptions
-
setFacetFontColor
public void setFacetFontColor(String facetFontColor)
-
getFacetBgColor
public String getFacetBgColor()
- Specified by:
getFacetBgColor
in interfaceExporterOptions
-
setFacetBgColor
public void setFacetBgColor(String facetBgColor)
-
getFacetFontSize
public String getFacetFontSize()
- Specified by:
getFacetFontSize
in interfaceExporterOptions
-
setFacetFontSize
public void setFacetFontSize(String facetFontSize)
-
getCellFontStyle
public String getCellFontStyle()
- Specified by:
getCellFontStyle
in interfaceExporterOptions
-
setCellFontStyle
public void setCellFontStyle(String cellFontStyle)
-
getCellFontColor
public String getCellFontColor()
- Specified by:
getCellFontColor
in interfaceExporterOptions
-
setCellFontColor
public void setCellFontColor(String cellFontColor)
-
getCellFontSize
public String getCellFontSize()
- Specified by:
getCellFontSize
in interfaceExporterOptions
-
setCellFontSize
public void setCellFontSize(String cellFontSize)
-
getFontName
public String getFontName()
- Specified by:
getFontName
in interfaceExporterOptions
-
setFontName
public void setFontName(String fontName)
-
getOrientation
public PDFOrientationType getOrientation()
Gets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Returns:
- the PDFOrientation or NULL
-
setOrientation
public void setOrientation(PDFOrientationType orientation)
Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.- Parameters:
orientation
- the PDFOrientation to set
-
-