PrintTicket
内容
[
隐藏
]Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public abstract class PrintTicket implements Iterable<String>
实现任何范围通用 PrintTicket 的类。用于作业、文档和页面级打印票的基类。PrintTicket 元素是 PrintTicket 文档的根元素。PrintTicket 元素包含输出作业所需的所有作业格式信息。 https://docs.microsoft.com/en-us/windows/win32/printdocs/printticket
构造函数
| 构造函数 | 描述 |
|---|---|
| PrintTicket(IPrintTicketItem[] items) | 创建一个新实例。 |
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| iterator() | 返回打印票项目名称的迭代器。 |
| notify() | |
| notifyAll() | |
| remove(String[] names) | 从此 PrintTicket 项目列表中移除一个项目。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
PrintTicket(IPrintTicketItem[] items)
public PrintTicket(IPrintTicketItem[] items)
创建一个新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| items | IPrintTicketItem[] | 任意的 IPrintTicketItem 实例数组。每个实例必须是 Feature、ParameterInit 或 Property 实例。 |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator<String> iterator()
返回打印票项目名称的迭代器。
Returns: java.util.Iterator<java.lang.String> - 返回列表的迭代器。
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(String[] names)
public void remove(String[] names)
从此 PrintTicket 项目列表中移除一个项目。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | java.lang.String[] | 项目名称数组。 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |