PrintTicket
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public abstract class PrintTicket implements Iterable<String>
The class that implements a common PrintTicket of any scope. The base class for job-, document- and page-level print tickets. A PrintTicket element is the root element of the PrintTicket document. A PrintTicket element contains all job formatting information required to output a job. https://docs.microsoft.com/en-us/windows/win32/printdocs/printticket
Constructors
Constructor | Description |
---|---|
PrintTicket(IPrintTicketItem[] items) | Creates a new instance. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
hashCode() | |
iterator() | Returns the print ticket item names iterator. |
notify() | |
notifyAll() | |
remove(String[] names) | Removes an item from this PrintTicket item list. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PrintTicket(IPrintTicketItem[] items)
public PrintTicket(IPrintTicketItem[] items)
Creates a new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
items | IPrintTicketItem[] | An arbitrary array of IPrintTicketItem instances. Each one must be a Feature , a ParameterInit or a Property instance. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
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 the print ticket item names iterator.
Returns: java.util.Iterator<java.lang.String> - Returns iterator for the list.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(String[] names)
public void remove(String[] names)
Removes an item from this PrintTicket item list.
Parameters:
Parameter | Type | Description |
---|---|---|
names | java.lang.String[] | An array of item names. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |