public class NativePrintAttr extends UniqueKey implements XMLable, java.lang.Cloneable
限定符和类型 | 类和说明 |
---|---|
static class |
NativePrintAttr.PageType |
限定符和类型 | 字段和说明 |
---|---|
static int |
MAX_PRINT_PORT_VALUE |
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
NativePrintAttr() |
限定符和类型 | 方法和说明 |
---|---|
NativePrintAttr |
clone()
Clone Object.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArea() |
int |
getCopy() |
java.lang.String |
getCustomDownloadUrlMac() |
java.lang.String |
getCustomDownloadUrlWin() |
Margin |
getMargin() |
int |
getOrientation() |
NativePrintAttr.PageType |
getPageType() |
PaperSize |
getPaperSize() |
java.lang.String |
getPrinterName() |
int |
getPrintPort() |
int |
getScalePercent() |
int |
hashCode() |
boolean |
isFitPaperSize() |
boolean |
isInheritPageLayoutSetting() |
boolean |
isInheritPageMarginSetting() |
boolean |
isInheritPagePaperSetting() |
boolean |
isNeedSelectSheet() |
boolean |
isShowDialog() |
boolean |
isUseDefaultDownloadUrl() |
void |
readXML(XMLableReader reader)
从xml文件中读取出该对象
|
void |
setArea(java.lang.String area) |
void |
setCopy(int copy) |
void |
setCustomDownloadUrlMac(java.lang.String customDownloadUrlMac) |
void |
setCustomDownloadUrlWin(java.lang.String customDownloadUrlWin) |
void |
setFitPaperSize(boolean fitPaperSize) |
void |
setInheritPageLayoutSetting(boolean inheritPageLayoutSetting) |
void |
setInheritPageMarginSetting(boolean inheritPageMarginSetting) |
void |
setInheritPagePaperSetting(boolean inheritPagePaperSetting) |
void |
setMargin(Margin margin) |
void |
setNeedSelectSheet(boolean needSelectSheet) |
void |
setOrientation(int orientation) |
void |
setPageType(NativePrintAttr.PageType pageType) |
void |
setPaperSize(PaperSize paperSize) |
void |
setPrinterName(java.lang.String printerName) |
void |
setPrintPort(int printPort) |
void |
setScalePercent(int scalePercent) |
void |
setShowDialog(boolean showDialog) |
void |
setUseDefaultDownloadUrl(boolean useDefaultDownloadUrl) |
void |
writeXML(XMLPrintWriter writer)
将该对象写入xml
|
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public static final java.lang.String XML_TAG
public static final int MAX_PRINT_PORT_VALUE
public java.lang.String getPrinterName()
public void setPrinterName(java.lang.String printerName)
public boolean isShowDialog()
public void setShowDialog(boolean showDialog)
public boolean isNeedSelectSheet()
public void setNeedSelectSheet(boolean needSelectSheet)
public boolean isUseDefaultDownloadUrl()
public void setUseDefaultDownloadUrl(boolean useDefaultDownloadUrl)
public java.lang.String getCustomDownloadUrlWin()
public void setCustomDownloadUrlWin(java.lang.String customDownloadUrlWin)
public java.lang.String getCustomDownloadUrlMac()
public void setCustomDownloadUrlMac(java.lang.String customDownloadUrlMac)
public int getPrintPort()
public void setPrintPort(int printPort)
public int getCopy()
public void setCopy(int copy)
public java.lang.String getArea()
public void setArea(java.lang.String area)
public boolean isInheritPagePaperSetting()
public void setInheritPagePaperSetting(boolean inheritPagePaperSetting)
public PaperSize getPaperSize()
public void setPaperSize(PaperSize paperSize)
public boolean isInheritPageLayoutSetting()
public void setInheritPageLayoutSetting(boolean inheritPageLayoutSetting)
public int getOrientation()
public void setOrientation(int orientation)
public boolean isInheritPageMarginSetting()
public void setInheritPageMarginSetting(boolean inheritPageMarginSetting)
public Margin getMargin()
public void setMargin(Margin margin)
public boolean isFitPaperSize()
public void setFitPaperSize(boolean fitPaperSize)
public int getScalePercent()
public void setScalePercent(int scalePercent)
public NativePrintAttr.PageType getPageType()
public void setPageType(NativePrintAttr.PageType pageType)
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
reader
- xml读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
public NativePrintAttr clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 UniqueKey
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object