com.teamdev.jxbrowser.printing
Class PrintSettings

java.lang.Object
  extended by com.teamdev.jxbrowser.printing.PrintSettings
All Implemented Interfaces:
java.lang.Cloneable

public class PrintSettings
extends java.lang.Object
implements java.lang.Cloneable

PrintSettings java bean to storage the Mozilla printing service data.

See Also:
PrintSettings.PageOrientation, PaperSize, PrintToFileSettings, PageRange, Margins

Nested Class Summary
static class PrintSettings.PageOrientation
          Page orientation contstants.
 
Constructor Summary
PrintSettings()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 HeaderFooter getFooters()
           
 FrameSettings getFrameSettings()
           
 HeaderFooter getHeaders()
           
 Margins getMargins()
           
 int getNumCopies()
           
 Order getOrder()
           
 PrintSettings.PageOrientation getOrientation()
           
 PaperSize getPaperSize()
           
 java.lang.String getPrinterName()
           
 PrintToFileSettings getPrintToFileSettings()
           
 PageRange getRange()
           
 double getScaling()
           
 int hashCode()
           
 boolean isPrintBackgroundColors()
           
 boolean isPrintBackgroundImages()
           
 boolean isPrintInColor()
           
 boolean isPrintReverse()
           
 boolean isShrinkToFit()
           
 void setFooters(HeaderFooter footers)
           
 void setFrameSettings(FrameSettings frameSettings)
           
 void setHeaders(HeaderFooter headers)
           
 void setMargins(Margins margins)
           
 void setNumCopies(int numCopies)
           
 void setOrder(Order order)
           
 void setOrientation(PrintSettings.PageOrientation orientation)
           
 void setPaperSize(PaperSize paperSize)
           
 void setPrintBackgroundColors(boolean printBackgroundColors)
           
 void setPrintBackgroundImages(boolean printBackgroundImages)
           
 void setPrinterName(java.lang.String printerName)
           
 void setPrintInColor(boolean printInColor)
           
 void setPrintReversed(boolean printReverse)
           
 void setPrintToFileSettings(PrintToFileSettings printToFileSettings)
           
 void setRange(PageRange range)
           
 void setScaling(double scaling)
           
 void setShrinkToFit(boolean shrinkToFit)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintSettings

public PrintSettings()
Method Detail

getPrinterName

public java.lang.String getPrinterName()

setPrinterName

public void setPrinterName(java.lang.String printerName)

getNumCopies

public int getNumCopies()

setNumCopies

public void setNumCopies(int numCopies)

getOrder

public Order getOrder()

setOrder

public void setOrder(Order order)

getOrientation

public PrintSettings.PageOrientation getOrientation()

setOrientation

public void setOrientation(PrintSettings.PageOrientation orientation)

isShrinkToFit

public boolean isShrinkToFit()

setShrinkToFit

public void setShrinkToFit(boolean shrinkToFit)

getPaperSize

public PaperSize getPaperSize()

setPaperSize

public void setPaperSize(PaperSize paperSize)

isPrintInColor

public boolean isPrintInColor()

setPrintInColor

public void setPrintInColor(boolean printInColor)

isPrintReverse

public boolean isPrintReverse()

setPrintReversed

public void setPrintReversed(boolean printReverse)

getScaling

public double getScaling()

setScaling

public void setScaling(double scaling)

isPrintBackgroundImages

public boolean isPrintBackgroundImages()

setPrintBackgroundImages

public void setPrintBackgroundImages(boolean printBackgroundImages)

isPrintBackgroundColors

public boolean isPrintBackgroundColors()

setPrintBackgroundColors

public void setPrintBackgroundColors(boolean printBackgroundColors)

getRange

public PageRange getRange()

setRange

public void setRange(PageRange range)

getFrameSettings

public FrameSettings getFrameSettings()

setFrameSettings

public void setFrameSettings(FrameSettings frameSettings)

getPrintToFileSettings

public PrintToFileSettings getPrintToFileSettings()

setPrintToFileSettings

public void setPrintToFileSettings(PrintToFileSettings printToFileSettings)

getHeaders

public HeaderFooter getHeaders()

setHeaders

public void setHeaders(HeaderFooter headers)

getFooters

public HeaderFooter getFooters()

setFooters

public void setFooters(HeaderFooter footers)

getMargins

public Margins getMargins()

setMargins

public void setMargins(Margins margins)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object