public class PrintConfig extends DefaultConfiguration implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
PrintConfig() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
static PrintConfig |
getInstance() |
PrintSettingsAttrMark |
getPrintSettings() |
int |
hashCode() |
boolean |
isFlashFitPaper()
Flash打印是否需要适应纸张
|
boolean |
isPopupAppletPrint()
Applet打印是否需要弹窗
|
boolean |
isPopupFlashPrint()
Flash打印是否需要弹窗
|
boolean |
isPopupNativePrint()
本地程序打印是否需要弹窗
|
boolean |
isPopupPdfPrint()
PDF打印是否需要弹窗
|
boolean |
isShowDialogNativePrint() |
boolean |
isShowDialogNoClientPrint() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setFlashFitPaper(boolean flashFitPaper)
设置Flash打印是否需要适应纸张
|
void |
setPopupAppletPrint(boolean popupAppletPrint)
设置Applet弹窗
|
void |
setPopupFlashPrint(boolean popupFlashPrint)
设置Flash弹窗
|
void |
setPopupNativePrint(boolean popupNativePrint)
设置本地打印弹窗
|
void |
setPopupPdfPrint(boolean popupPdfPrint)
设置PDF打印弹窗
|
void |
setPrintSettings(PrintSettingsAttrMark printSettings) |
void |
setShowDialogNativePrint(boolean showDialog) |
void |
setShowDialogNoClientPrint(boolean showDialog) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
getNameSpace
initialize, mirror
public static final java.lang.String XML_TAG
public static PrintConfig getInstance()
public boolean isPopupFlashPrint()
public void setPopupFlashPrint(boolean popupFlashPrint)
popupFlashPrint
- 是否弹窗public boolean isFlashFitPaper()
public void setFlashFitPaper(boolean flashFitPaper)
flashFitPaper
- Flash打印是否需要适应纸张public boolean isPopupPdfPrint()
public void setPopupPdfPrint(boolean popupPdfPrint)
popupPdfPrint
- 是否弹窗public boolean isPopupAppletPrint()
public void setPopupAppletPrint(boolean popupAppletPrint)
popupAppletPrint
- 是否弹窗public boolean isPopupNativePrint()
public void setPopupNativePrint(boolean popupNativePrint)
popupNativePrint
- 是否弹窗public boolean isShowDialogNoClientPrint()
public void setShowDialogNoClientPrint(boolean showDialog)
public boolean isShowDialogNativePrint()
public void setShowDialogNativePrint(boolean showDialog)
public PrintSettingsAttrMark getPrintSettings()
public void setPrintSettings(PrintSettingsAttrMark printSettings)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Configuration
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object