| The PageSettings object ## Constructor: PageSettings() A simple constructor. ## Methods: getBottomMargin() Gets the bottomMargin property (int) value. getFooterAlign() Gets the footerAlign property (int) value. getFooterBG() Gets the footerBG property (java.awt.Color) value. getFooterFG() Gets the footerFG property (java.awt.Color) value. getFooterFont() Gets the footerFont property (java.awt.Font) value. getFooterHeight() Gets the footerHeight property (int) value. getFooterText() Gets the footerText property (java.lang.String) value. getHeaderAlign() Gets the headerAlign property (int) value. getHeaderBG() Gets the headerBG property (java.awt.Color) value. getHeaderFG() Gets the headerFG property (java.awt.Color) value. getHeaderFont() Gets the headerFont property (java.awt.Font) value. getHeaderHeight() Gets the headerHeight property (int) value. getHeaderText() Gets the headerText property (java.lang.String) value. getImageAlign() Gets the imageAlign property (int) value. getImagePath() Gets the imagePath property (java.lang.String) value. getLeftMargin() Gets the leftMargin property (int) value. getPageAlign() Gets the pageAlign property (int) value. getPageBG() Gets the pageBG property (java.awt.Color) value. getPageFG() Gets the pageFG property (java.awt.Color) value. getRightMargin() Gets the rightMargin property (int) value. getTopMargin() Gets the topMargin property (int) value. setBottomMargin(int) Sets the bottomMargin property (int) value. setFooterAlign(int) Sets the footerAlign property (int) value. setFooterBG(Color) Sets the footerBG property (java.awt.Color) value. setFooterFG(Color) Sets the footerFG property (java.awt.Color) value. setFooterFont(Font) Sets the footerFont property (java.awt.Font) value. setFooterHeight(int) Sets the footerHeight property (int) value. setFooterText(String) Sets the footerText property (java.lang.String) value. setHeaderAlign(int) Sets the headerAlign property (int) value. setHeaderBG(Color) Sets the headerBG property (java.awt.Color) value. setHeaderFG(Color) Sets the headerFG property (java.awt.Color) value. setHeaderFont(Font) Sets the headerFont property (java.awt.Font) value. setHeaderHeight(int) Sets the headerHeight property (int) value. setHeaderText(String) Sets the headerText property (java.lang.String) value. setImageAlign(int) Sets the imageAlign property (int) value. setImagePath(String) Sets the imagePath property (java.lang.String) value. setLeftMargin(int) Sets the leftMargin property (int) value. setPageAlign(int) Sets the pageAlign property (int) value. setPageBG(Color) Sets the pageBG property (java.awt.Color) value. setPageFG(Color) Sets the pageFG property (java.awt.Color) value. setRightMargin(int) Sets the rightMargin property (int) value. setTopMargin(int) Sets the topMargin property (int) value. ## Constructor: PageSettings
     public PageSettings()
A simple constructor. ## Methods: getBottomMargin
     public int getBottomMargin()
Gets the bottomMargin property (int) value (units: pixels). Returns: The bottomMargin property value. See Also: setBottomMargin getFooterAlign
     public int getFooterAlign()
Gets the footerAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Returns: The footerAlign property value. See Also: setFooterAlign getFooterBG
     public Color getFooterBG()
Gets the footerBG property (java.awt.Color) value. Returns: The footerBG property value. See Also: setFooterBG getFooterFG
     public Color getFooterFG()
Gets the footerFG property (java.awt.Color) value. Returns: The footerFG property value. See Also: setFooterFG getFooterFont
     public Font getFooterFont()
Gets the footerFont property (java.awt.Font) value. Returns: The footerFont property value. See Also: setFooterFont getFooterHeight
     public int getFooterHeight()
Gets the footerHeight property (int) value (units: pixels). Returns: The footerHeight property value. See Also: setFooterHeight getFooterText
     public String getFooterText()
Gets the footerText property (java.lang.String) value. You can embed the following macros in the text: $D will expand into current date and time. $P will expand into current page. $T will expand into total number of pages. Returns: The footerText property value. See Also: setFooterText getHeaderAlign
     public int getHeaderAlign()
Gets the headerAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Returns: The headerAlign property value. See Also: setHeaderAlign getHeaderBG
     public Color getHeaderBG()
Gets the headerBG property (java.awt.Color) value. Returns: The headerBG property value. See Also: setHeaderBG getHeaderFG
     public Color getHeaderFG()
Gets the headerFG property (java.awt.Color) value. Returns: The headerFG property value. See Also: setHeaderFG getHeaderFont
     public Font getHeaderFont()
Gets the headerFont property (java.awt.Font) value. Returns: The headerFont property value. See Also: setHeaderFont getHeaderHeight
     public int getHeaderHeight()
Gets the headerHeight property (int) value (units: pixels). Returns: The headerHeight property value. See Also: setHeaderHeight getHeaderText
     public String getHeaderText()
Gets the headerText property (java.lang.String) value. You can embed the following macros in the text: $D will expand into current date and time. $P will expand into current page. $T will expand into total number of pages. Returns: The headerText property value. See Also: setHeaderText getImageAlign
     public int getImageAlign()
Gets the imageAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Returns: The imageAlign property value. See Also: setImageAlign getImagePath
     public String getImagePath()
Gets the imagePath property (java.lang.String) value. Returns: The imagePath property value. See Also: setImagePath getLeftMargin
     public int getLeftMargin()
Gets the leftMargin property (int) value (units: pixels). Returns: The leftMargin property value. See Also: setLeftMargin getPageAlign
     public int getPageAlign()
Gets the pageAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Returns: The pageAlign property value. See Also: setPageAlign getPageBG
     public Color getPageBG()
Gets the pageBG property (java.awt.Color) value. Returns: The pageBG property value. See Also: setPageBG getPageFG
     public Color getPageFG()
Gets the pageFG property (java.awt.Color) value. Returns: The pageFG property value. See Also: setPageFG getRightMargin
     public int getRightMargin()
Gets the rightMargin property (int) value (units: pixels). Returns: The rightMargin property value. See Also: setRightMargin getTopMargin
     public int getTopMargin()
Gets the topMargin property (int) value (units: pixels). Returns: The topMargin property value. See Also: setTopMargin setBottomMargin
     public void setBottomMargin(int bottomMargin)
Sets the bottomMargin property (int) value (units: pixels). Parameters: bottomMargin - The new value for the property. See Also: getBottomMargin setFooterAlign
     public void setFooterAlign(int footerAlign)
Sets the footerAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Parameters: footerAlign - The new value for the property. See Also: getFooterAlign setFooterBG
     public void setFooterBG(Color footerBG)
Sets the footerBG property (java.awt.Color) value. Parameters: footerBG - The new value for the property. See Also: getFooterBG setFooterFG
     public void setFooterFG(Color footerFG)
Sets the footerFG property (java.awt.Color) value. Parameters: footerFG - The new value for the property. See Also: getFooterFG setFooterFont
     public void setFooterFont(Font footerFont)
Sets the footerFont property (java.awt.Font) value. Parameters: footerFont - The new value for the property. See Also: getFooterFont setFooterHeight
     public void setFooterHeight(int footerHeight)
Sets the footerHeight property (int) value (units: pixels). Parameters: footerHeight - The new value for the property. See Also: getFooterHeight setFooterText
     public void setFooterText(String footerText)
Sets the footerText property (java.lang.String) value. You can embed the following macros in the text: $D will expand into current date and time. $P will expand into current page. $T will expand into total number of pages. Parameters: footerText - The new value for the property. See Also: getFooterText setHeaderAlign
     public void setHeaderAlign(int headerAlign)
Sets the headerAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Parameters: headerAlign - The new value for the property. See Also: getHeaderAlign setHeaderBG
     public void setHeaderBG(Color headerBG)
Sets the headerBG property (java.awt.Color) value. Parameters: headerBG - The new value for the property. See Also: getHeaderBG setHeaderFG
     public void setHeaderFG(Color headerFG)
Sets the headerFG property (java.awt.Color) value. Parameters: headerFG - The new value for the property. See Also: getHeaderFG setHeaderFont
     public void setHeaderFont(Font headerFont)
Sets the headerFont property (java.awt.Font) value. Parameters: headerFont - The new value for the property. See Also: getHeaderFont setHeaderHeight
     public void setHeaderHeight(int headerHeight)
Sets the headerHeight property (int) value (units: pixels). Parameters: headerHeight - The new value for the property. See Also: getHeaderHeight setHeaderText
     public void setHeaderText(String headerText)
Sets the headerText property (java.lang.String) value. You can embed the following macros in the text: $D will expand into current date and time. $P will expand into current page. $T will expand into total number of pages. Parameters: headerText - The new value for the property. See Also: getHeaderText setImageAlign
     public void setImageAlign(int imageAlign)
Sets the imageAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Parameters: imageAlign - The new value for the property. See Also: getImageAlign setImagePath
     public void setImagePath(String imagePath)
Sets the imagePath property (java.lang.String) value. Parameters: imagePath - The new value for the property. See Also: getImagePath setLeftMargin
     public void setLeftMargin(int leftMargin)
Sets the leftMargin property (int) value (units: pixels). Parameters: leftMargin - The new value for the property. See Also: getLeftMargin setPageAlign
     public void setPageAlign(int pageAlign)
Sets the pageAlign property (int) value. Values can be: 0 (zero), meaning right-aligned. 1 (one), meaning left-aligned. 2 (two), meaning centered. Parameters: pageAlign - The new value for the property. See Also: getPageAlign setPageBG
     public void setPageBG(Color pageBG)
Sets the pageBG property (java.awt.Color) value. Parameters: pageBG - The new value for the property. See Also: getPageBG setPageFG
     public void setPageFG(Color pageFG)
Sets the pageFG property (java.awt.Color) value. Parameters: pageFG - The new value for the property. See Also: getPageFG setRightMargin
     public void setRightMargin(int rightMargin)
Sets the rightMargin property (int) value (units: pixels). Parameters: rightMargin - The new value for the property. See Also: getRightMargin setTopMargin
     public void setTopMargin(int topMargin)
Sets the topMargin property (int) value. Parameters: topMargin - The new value for the property. See Also: getTopMargin

Max Marsiglietti © 1997
Layout and artwork Andrea Resmini 1997