Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/print/DocPrintJob.java
/* * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.print; import javax.print.attribute.PrintJobAttributeSet; import javax.print.attribute.PrintRequestAttributeSet; import javax.print.event.PrintJobAttributeListener; import javax.print.event.PrintJobListener; /** * This interface represents a print job that can print a specified document * with a set of job attributes. An object implementing this interface is * obtained from a print service. */ public interface DocPrintJob { /** * Determines the {@link PrintService} object to which this print job object * is bound. * * @return {@code PrintService} object */ public PrintService getPrintService(); /** * Obtains this Print Job's set of printing attributes. The returned * attribute set object is unmodifiable. The returned attribute set object * is a "snapshot" of this Print Job's attribute set at the time of the * {@code getAttributes()} method call; that is, the returned attribute * set's object's contents will not be updated if this Print Job's attribute * set's contents change in the future. To detect changes in attribute * values, call {@code getAttributes()} again and compare the new attribute * set to the previous attribute set; alternatively, register a listener for * print job events. The returned value may be an empty set but should not * be {@code null}. * * @return the print job attributes */ public PrintJobAttributeSet getAttributes(); /** * Registers a listener for event occurring during this print job. If * listener is {@code null}, no exception is thrown and no action is * performed. If listener is already registered, it will be registered * again. * * @param listener the object implementing the listener interface * @see #removePrintJobListener */ public void addPrintJobListener(PrintJobListener listener); /** * Removes a listener from this print job. This method performs no function, * nor does it throw an exception, if the listener specified by the argument * was not previously added to this print job. If listener is {@code null}, * no exception is thrown and no action is performed. If a listener was * registered more than once only one of the registrations will be removed. * * @param listener the object implementing the listener interface * @see #addPrintJobListener */ public void removePrintJobListener(PrintJobListener listener); /** * Registers a listener for changes in the specified attributes. If listener * is {@code null}, no exception is thrown and no action is performed. To * determine the attribute updates that may be reported by this job, a * client can call {@code getAttributes()} and identify the subset that are * interesting and likely to be reported to the listener. Clients expecting * to be updated about changes in a specific job attribute should verify it * is in that set, but updates about an attribute will be made only if it * changes and this is detected by the job. Also updates may be subject to * batching by the job. To minimize overhead in print job processing it is * recommended to listen on only that subset of attributes which are likely * to change. If the specified set is empty no attribute updates will be * reported to the listener. If the attribute set is {@code null}, then this * means to listen on all dynamic attributes that the job supports. This may * result in no update notifications if a job can not report any attribute * updates. * <p> * If listener is already registered, it will be registered again. * * @param listener the object implementing the listener interface * @param attributes the attributes to listen on, or {@code null} to mean * all attributes that can change, as determined by the job * @see #removePrintJobAttributeListener */ public void addPrintJobAttributeListener( PrintJobAttributeListener listener, PrintJobAttributeSet attributes); /** * Removes an attribute listener from this print job. This method performs * no function, nor does it throw an exception, if the listener specified by * the argument was not previously added to this print job. If the listener * is {@code null}, no exception is thrown and no action is performed. If a * listener is registered more than once, even for a different set of * attributes, no guarantee is made which listener is removed. * * @param listener the object implementing the listener interface * @see #addPrintJobAttributeListener */ public void removePrintJobAttributeListener( PrintJobAttributeListener listener); /** * Prints a document with the specified job attributes. This method should * only be called once for a given print job. Calling it again will not * result in a new job being spooled to the printer. The service * implementation will define policy for service interruption and recovery. * When the print method returns, printing may not yet have completed as * printing may happen asynchronously, perhaps in a different thread. * Application clients which want to monitor the success or failure should * register a {@code PrintJobListener}. * <p> * Print service implementors should close any print data streams (ie * {@code Reader} or {@code InputStream} implementations) that they obtain * from the client doc. Robust clients may still wish to verify this. An * exception is always generated if a {@code DocFlavor} cannot be printed. * * @param doc the document to be printed. It must be a flavor supported by * this PrintJob. * @param attributes the job attributes to be applied to this print job. If * this parameter is {@code null} then the default attributes are * used. * @throws PrintException the exception additionally may implement an * interface that more precisely describes the cause of the * exception * <ul> * <li>{@code FlavorException}. If the document has a flavor not * supported by this print job. * <li>{@code AttributeException}. If one or more of the * attributes are not valid for this print job. * </ul> */ public void print(Doc doc, PrintRequestAttributeSet attributes) throws PrintException; }
⏎ javax/print/DocPrintJob.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 194766👍, 5💬
Popular Posts:
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module. JDK 11 Crypto KI...