/[classpath]/classpath/javax/print/event/PrintJobAdapter.java
ViewVC logotype

Diff of /classpath/javax/print/event/PrintJobAdapter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Sat Jul 2 20:32:46 2005 UTC revision 1.3 by wbaer, Sun Nov 6 20:46:26 2005 UTC
# Line 1  Line 1 
1  /* PrintJobAdapter.java --  /* PrintJobAdapter.java --
2     Copyright (C) 2004  Free Software Foundation, Inc.     Copyright (C) 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 39  package javax.print.event; Line 39  package javax.print.event;
39    
40    
41  /**  /**
42     * Adapter class for implementing {@link javax.print.event.PrintJobListener}
43     * classes. The methods in this class do nothing by default. Subclasses may
44     * only implement the methods for the {@link javax.print.event.PrintJobEvent}s
45     * they are interested in.
46     *
47   * @author Michael Koch (konqueror@gmx.de)   * @author Michael Koch (konqueror@gmx.de)
48   */   */
49  public abstract class PrintJobAdapter  public abstract class PrintJobAdapter
# Line 53  public abstract class PrintJobAdapter Line 58  public abstract class PrintJobAdapter
58    }    }
59        
60    /**    /**
61     * Called to notify the client that all data has bin successfully transferred     * Called to notify the client that all data has been successfully transferred
62     * to the print service.     * to the print service.
63       * <p>The default implementation does nothing.</p>
64     *     *
65     * <p>The default implementation does nothing</p>     * @param event the event.
66     */     */
67    public void printDataTransferCompleted(PrintJobEvent event)    public void printDataTransferCompleted(PrintJobEvent event)
68    {    {
# Line 64  public abstract class PrintJobAdapter Line 70  public abstract class PrintJobAdapter
70    }    }
71    
72    /**    /**
73     * Called to notify the client that a print job was canceled.     * Called to notify the client that a print job was canceled.
74       * <p>The default implementation does nothing.</p>
75     *     *
76     * <p>The default implementation does nothing</p>     * @param event the event.
77     */     */
78    public void printJobCanceled(PrintJobEvent event)    public void printJobCanceled(PrintJobEvent event)
79    {    {
# Line 75  public abstract class PrintJobAdapter Line 82  public abstract class PrintJobAdapter
82    
83    /**    /**
84     * Called to notify the client that a print job was successfully completed.     * Called to notify the client that a print job was successfully completed.
85       * <p>The default implementation does nothing.</p>
86     *     *
87     * <p>The default implementation does nothing</p>     * @param event the event.
88     */     */
89    public void printJobCompleted(PrintJobEvent event)    public void printJobCompleted(PrintJobEvent event)
90    {    {
# Line 86  public abstract class PrintJobAdapter Line 94  public abstract class PrintJobAdapter
94    /**    /**
95     * Called to notify the client that a print job failed to complete     * Called to notify the client that a print job failed to complete
96     * successfully.     * successfully.
97       * <p>The default implementation does nothing.</p>
98     *     *
99     * <p>The default implementation does nothing</p>     * @param event the event.
100     */     */
101    public void printJobFailed(PrintJobEvent event)    public void printJobFailed(PrintJobEvent event)
102    {    {
# Line 96  public abstract class PrintJobAdapter Line 105  public abstract class PrintJobAdapter
105    
106    /**    /**
107     * Called to notify the client that no more job events will be send.     * Called to notify the client that no more job events will be send.
108       * <p>The default implementation does nothing.</p>
109     *     *
110     * <p>The default implementation does nothing</p>     * @param event the event.
111     */     */
112    public void printJobNoMoreEvents(PrintJobEvent event)    public void printJobNoMoreEvents(PrintJobEvent event)
113    {    {
# Line 105  public abstract class PrintJobAdapter Line 115  public abstract class PrintJobAdapter
115    }    }
116    
117    /**    /**
118     * Called to notify the client that a problem occured during printing     * Called to notify the client that a problem occured during printing.
119     * but the user may be able to fix it.     * This event signals problems a user might be able to fix
120       * (e.g. out of paper or paper jam).
121       * <p>The default implementation does nothing.</p>
122     *     *
123     * <p>The default implementation does nothing</p>     * @param event the event.
124     */     */
125    public void printJobRequiresAttention(PrintJobEvent event)    public void printJobRequiresAttention(PrintJobEvent event)
126    {    {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26