public abstract class CefPrintSettings
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CefPrintSettings.ColorModel
Print job color mode values.
(打印作业颜色模式值。)
|
static class |
CefPrintSettings.DuplexMode
Print job duplex mode values.
(打印作业双面打印模式值。)
|
限定符和类型 | 方法和说明 |
---|---|
abstract CefPrintSettings |
copy()
Returns a writable copy of this object.
(返回此对象的可写副本。)
|
static CefPrintSettings |
create()
Create a new CefPrintSettings object.
(创建一个新的CefPrintSettings对象。)
|
abstract void |
dispose()
Removes the native reference from an unused object.
(从未使用的对象中删除本机引用。)
|
protected void |
finalize() |
abstract CefPrintSettings.ColorModel |
getColorModel()
Get the color model.
(获取颜色模型。)
|
abstract int |
getCopies()
Get the number of copies.
(获取份数。)
|
abstract java.lang.String |
getDeviceName()
Get the device name.
(获取设备名称。)
|
abstract int |
getDPI()
Get the DPI (dots per inch).
(获取DPI(每英寸点数)。)
|
abstract CefPrintSettings.DuplexMode |
getDuplexMode()
Get the duplex mode.
(获取双工模式。)
|
abstract void |
getPageRanges(java.util.Vector<CefPageRange> ranges)
Retrieve the page ranges.
(检索页面范围。)
|
abstract int |
getPageRangesCount()
Returns the number of page ranges that currently exist.
(返回当前存在的页面范围数。)
|
abstract boolean |
isLandscape()
Returns true if the orientation is landscape.
(如果方向是横向,则返回true。)
|
abstract boolean |
isReadOnly()
Returns true if the values of this object are read-only.
(如果此对象的值是只读的,则返回true。)
|
abstract boolean |
isSelectionOnly()
Returns true if only the selection will be printed.
(如果仅打印选择内容,则返回true。)
|
abstract boolean |
isValid()
Returns true if this object is valid.
(如果此对象有效,则返回true。)
|
abstract void |
setCollate(boolean collate)
Set whether pages will be collated.
(设置是否整理页面。)
|
abstract void |
setColorModel(CefPrintSettings.ColorModel model)
Set the color model.
(设置颜色模型。)
|
abstract void |
setCopies(int copies)
Set the number of copies.
(设置份数。)
|
abstract void |
setDeviceName(java.lang.String name)
Set the device name.
(设置设备名称。)
|
abstract void |
setDPI(int dpi)
Set the DPI (dots per inch).
(设置DPI(每英寸点数)。)
|
abstract void |
setDuplexMode(CefPrintSettings.DuplexMode mode)
Set the duplex mode.
(设置双工模式。)
|
abstract void |
setOrientation(boolean landscape)
Set the page orientation.
(设置页面方向。)
|
abstract void |
setPageRanges(java.util.Vector<CefPageRange> ranges)
Set the page ranges.
(设置页面范围。)
|
abstract void |
setPrinterPrintableArea(java.awt.Dimension physical_size_device_units, java.awt.Rectangle printable_area_device_units, boolean landscape_needs_flip)
Set the printer printable area in device units.
(以设备为单位设置打印机的可打印区域。)
|
abstract void |
setSelectionOnly(boolean selection_only)
Set whether only the selection will be printed.
(设置是否仅打印选择。)
|
abstract boolean |
willCollate()
Returns true if pages will be collated.
(如果将整理页面,则返回true。)
|
public abstract CefPrintSettings copy()
public static final CefPrintSettings create()
public abstract void dispose()
protected void finalize() throws java.lang.Throwable
finalize
在类中
java.lang.Object
java.lang.Throwable
public abstract CefPrintSettings.ColorModel getColorModel()
public abstract int getCopies()
public abstract java.lang.String getDeviceName()
public abstract int getDPI()
public abstract CefPrintSettings.DuplexMode getDuplexMode()
public abstract void getPageRanges(java.util.Vector<CefPageRange> ranges)
public abstract int getPageRangesCount()
public abstract boolean isLandscape()
public abstract boolean isReadOnly()
public abstract boolean isSelectionOnly()
public abstract boolean isValid()
public abstract void setCollate(boolean collate)
public abstract void setColorModel(CefPrintSettings.ColorModel model)
public abstract void setCopies(int copies)
public abstract void setDeviceName(java.lang.String name)
public abstract void setDPI(int dpi)
public abstract void setDuplexMode(CefPrintSettings.DuplexMode mode)
public abstract void setOrientation(boolean landscape)
public abstract void setPageRanges(java.util.Vector<CefPageRange> ranges)
public abstract void setPrinterPrintableArea(java.awt.Dimension physical_size_device_units, java.awt.Rectangle printable_area_device_units, boolean landscape_needs_flip)
public abstract void setSelectionOnly(boolean selection_only)
public abstract boolean willCollate()