diff options
Diffstat (limited to 'libjava/classpath/javax/print/event')
8 files changed, 76 insertions, 76 deletions
diff --git a/libjava/classpath/javax/print/event/PrintEvent.java b/libjava/classpath/javax/print/event/PrintEvent.java index d44c206..4eaedce 100644 --- a/libjava/classpath/javax/print/event/PrintEvent.java +++ b/libjava/classpath/javax/print/event/PrintEvent.java @@ -1,4 +1,4 @@ -/* PrintEvent.java -- +/* PrintEvent.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,14 +42,14 @@ import java.util.EventObject; /** * Superclass of all events in the Java Print Service API. - * + * * @author Michael Koch (konqueror@gmx.de) */ public class PrintEvent extends EventObject { /** * Constructs a <code>PrintEvent</code> object. - * + * * @param source the source of this event */ public PrintEvent(Object source) @@ -59,7 +59,7 @@ public class PrintEvent extends EventObject /** * Returns a string representation of this object. - * + * * @return The string representation */ public String toString() diff --git a/libjava/classpath/javax/print/event/PrintJobAdapter.java b/libjava/classpath/javax/print/event/PrintJobAdapter.java index 9229d19..e8e7100 100644 --- a/libjava/classpath/javax/print/event/PrintJobAdapter.java +++ b/libjava/classpath/javax/print/event/PrintJobAdapter.java @@ -1,4 +1,4 @@ -/* PrintJobAdapter.java -- +/* PrintJobAdapter.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -43,7 +43,7 @@ package javax.print.event; * classes. The methods in this class do nothing by default. Subclasses may * only implement the methods for the {@link javax.print.event.PrintJobEvent}s * they are interested in. - * + * * @author Michael Koch (konqueror@gmx.de) */ public abstract class PrintJobAdapter @@ -56,13 +56,13 @@ public abstract class PrintJobAdapter { // Do nothing here. } - + /** * Called to notify the client that all data has been successfully transferred * to the print service. * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printDataTransferCompleted(PrintJobEvent event) { @@ -70,10 +70,10 @@ public abstract class PrintJobAdapter } /** - * Called to notify the client that a print job was canceled. + * Called to notify the client that a print job was canceled. * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printJobCanceled(PrintJobEvent event) { @@ -83,8 +83,8 @@ public abstract class PrintJobAdapter /** * Called to notify the client that a print job was successfully completed. * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printJobCompleted(PrintJobEvent event) { @@ -95,8 +95,8 @@ public abstract class PrintJobAdapter * Called to notify the client that a print job failed to complete * successfully. * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printJobFailed(PrintJobEvent event) { @@ -106,8 +106,8 @@ public abstract class PrintJobAdapter /** * Called to notify the client that no more job events will be send. * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printJobNoMoreEvents(PrintJobEvent event) { @@ -116,11 +116,11 @@ public abstract class PrintJobAdapter /** * Called to notify the client that a problem occured during printing. - * This event signals problems a user might be able to fix + * This event signals problems a user might be able to fix * (e.g. out of paper or paper jam). * <p>The default implementation does nothing.</p> - * - * @param event the event. + * + * @param event the event. */ public void printJobRequiresAttention(PrintJobEvent event) { diff --git a/libjava/classpath/javax/print/event/PrintJobAttributeEvent.java b/libjava/classpath/javax/print/event/PrintJobAttributeEvent.java index d401ab1..dd242e8 100644 --- a/libjava/classpath/javax/print/event/PrintJobAttributeEvent.java +++ b/libjava/classpath/javax/print/event/PrintJobAttributeEvent.java @@ -1,4 +1,4 @@ -/* PrintJobAttributeEvent.java -- +/* PrintJobAttributeEvent.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,21 +42,21 @@ import javax.print.attribute.PrintJobAttributeSet; /** - * <code>PrintJobAttributeEvent</code>s are generated by a + * <code>PrintJobAttributeEvent</code>s are generated by a * <code>PrintService</code> to inform registered listeners that attributes * associated with a {@link javax.print.DocPrintJob} instance have changed. - * + * * @author Michael Koch (konqueror@gmx.de) */ public class PrintJobAttributeEvent extends PrintEvent { private static final long serialVersionUID = -6534469883874742101L; - + private PrintJobAttributeSet attributes; - + /** * Constructs a <code>PrintJobAttributeEvent</code> object. - * + * * @param source the source of this event * @param attributes the attribute changes being reported */ @@ -69,7 +69,7 @@ public class PrintJobAttributeEvent extends PrintEvent /** * Returns the print job generating this event. - * + * * @return The print job. */ public DocPrintJob getPrintJob() @@ -79,7 +79,7 @@ public class PrintJobAttributeEvent extends PrintEvent /** * Returns the attributes that changed and their new values. - * + * * @return The changed attributes. */ public PrintJobAttributeSet getAttributes() diff --git a/libjava/classpath/javax/print/event/PrintJobAttributeListener.java b/libjava/classpath/javax/print/event/PrintJobAttributeListener.java index 9f96d26..bd2ea26 100644 --- a/libjava/classpath/javax/print/event/PrintJobAttributeListener.java +++ b/libjava/classpath/javax/print/event/PrintJobAttributeListener.java @@ -1,4 +1,4 @@ -/* PrintJobAttributeListener.java -- +/* PrintJobAttributeListener.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,16 +40,16 @@ package javax.print.event; /** * Listener interface to receive attribute changes from a print job. - * Implementations of this interface can be registered with a + * Implementations of this interface can be registered with a * {@link javax.print.DocPrintJob} instance. - * + * * @author Michael Koch (konqueror@gmx.de) */ public interface PrintJobAttributeListener { /** * Notifies the listener of an attribute change. - * + * * @param event the event */ void attributeUpdate(PrintJobAttributeEvent event); diff --git a/libjava/classpath/javax/print/event/PrintJobEvent.java b/libjava/classpath/javax/print/event/PrintJobEvent.java index cc15f97..db88564 100644 --- a/libjava/classpath/javax/print/event/PrintJobEvent.java +++ b/libjava/classpath/javax/print/event/PrintJobEvent.java @@ -1,4 +1,4 @@ -/* PrintEvent.java -- +/* PrintEvent.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -44,40 +44,40 @@ import javax.print.DocPrintJob; * <code>PrintJobEvent</code>s are generated by a print job during * print job processing to inform registered listeners about the state * of processing. - * + * * @author Michael Koch (konqueror@gmx.de) */ public class PrintJobEvent extends PrintEvent { private static final long serialVersionUID = -1711656903622072997L; - + /** Indicates that the data transfer to the print service has completed. */ public static final int DATA_TRANSFER_COMPLETE = 106; - + /** Indicates that the print job was canceled. */ public static final int JOB_CANCELED = 101; - + /** Indicates that the print job was completed (=printed). */ public static final int JOB_COMPLETE = 102; - + /** Indicates that the print job failed to complete. */ public static final int JOB_FAILED = 103; - + /** Indicates that no more job events will be send.*/ public static final int NO_MORE_EVENTS = 105; - - /** + + /** * Indicates a situation where human intervention might be needed. * E.g. the printer run out of paper or a paper jam occured. */ public static final int REQUIRES_ATTENTION = 104; - + /** The reason (one of the defined constants). */ private int reason; - + /** * Constructs a <code>PrintJobEvent</code> object. - * + * * @param source the source generating this event * @param reason the reason for this event */ @@ -89,7 +89,7 @@ public class PrintJobEvent extends PrintEvent /** * Returns the reason for this event. - * + * * @return The reason. */ public int getPrintEventType() @@ -99,9 +99,9 @@ public class PrintJobEvent extends PrintEvent /** * Returns the print job that generated this event. - * + * * @return The print job. - */ + */ public DocPrintJob getPrintJob() { return (DocPrintJob) getSource(); diff --git a/libjava/classpath/javax/print/event/PrintJobListener.java b/libjava/classpath/javax/print/event/PrintJobListener.java index 96c6d41..8ac1a01 100644 --- a/libjava/classpath/javax/print/event/PrintJobListener.java +++ b/libjava/classpath/javax/print/event/PrintJobListener.java @@ -1,4 +1,4 @@ -/* PrintJobListener.java -- +/* PrintJobListener.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,56 +40,56 @@ package javax.print.event; /** * Listener interface to receive processing events from a print job. - * Implementations of this interface can be registered with a + * Implementations of this interface can be registered with a * {@link javax.print.DocPrintJob} instance. - * + * * @see javax.print.event.PrintJobAdapter - * - * @author Michael Koch (konqueror@gmx.de) + * + * @author Michael Koch (konqueror@gmx.de) */ public interface PrintJobListener { /** * Notifies the listener that all data has been successfully transferred * to the print service. - * + * * @param event the event */ void printDataTransferCompleted(PrintJobEvent event); - + /** * Notifies the listener that a print job got canceled. - * + * * @param event the event */ void printJobCanceled(PrintJobEvent event); - + /** * Notifies the listener that a print job has completed. - * + * * @param event the event */ void printJobCompleted(PrintJobEvent event); - + /** * Notifies the listener that a print job has failed to complete. - * + * * @param event the event. */ void printJobFailed(PrintJobEvent event); - + /** * Notifies the listener that no more events will be delivered. - * + * * @param event the event */ void printJobNoMoreEvents(PrintJobEvent event); - + /** * Notifies the listener that a problem occured during printing. - * This event signals problems a user might be able to fix + * This event signals problems a user might be able to fix * (e.g. out of paper or paper jam). - * + * * @param event the event */ void printJobRequiresAttention(PrintJobEvent event); diff --git a/libjava/classpath/javax/print/event/PrintServiceAttributeEvent.java b/libjava/classpath/javax/print/event/PrintServiceAttributeEvent.java index a41e213..665db52 100644 --- a/libjava/classpath/javax/print/event/PrintServiceAttributeEvent.java +++ b/libjava/classpath/javax/print/event/PrintServiceAttributeEvent.java @@ -1,4 +1,4 @@ -/* PrintServiceAttributeEvent.java -- +/* PrintServiceAttributeEvent.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,19 +42,19 @@ import javax.print.attribute.PrintServiceAttributeSet; /** - * <code>PrintServiceAttributeEvent</code>s are generated by a + * <code>PrintServiceAttributeEvent</code>s are generated by a * <code>PrintService</code> to inform registered listeners that * its associated attributes have changed. - * + * * @author Michael Koch (konqueror@gmx.de) */ public class PrintServiceAttributeEvent extends PrintEvent { private PrintServiceAttributeSet attributes; - + /** * Constructs a <code>PrintServiceAttributeEvent</code> object. - * + * * @param source the source of this event * @param attributes the attribute changes being reported */ @@ -67,7 +67,7 @@ public class PrintServiceAttributeEvent extends PrintEvent /** * Returns the print service that generated this event. - * + * * @return The print service. */ public PrintService getPrintService() @@ -77,7 +77,7 @@ public class PrintServiceAttributeEvent extends PrintEvent /** * Returns the changed attributes this event reports. - * + * * @return The changed attributes. */ public PrintServiceAttributeSet getAttributes() diff --git a/libjava/classpath/javax/print/event/PrintServiceAttributeListener.java b/libjava/classpath/javax/print/event/PrintServiceAttributeListener.java index b46bf3b..596d167 100644 --- a/libjava/classpath/javax/print/event/PrintServiceAttributeListener.java +++ b/libjava/classpath/javax/print/event/PrintServiceAttributeListener.java @@ -1,4 +1,4 @@ -/* PrintServiceAttributeListener.java -- +/* PrintServiceAttributeListener.java -- Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,16 +40,16 @@ package javax.print.event; /** * Listener interface to receive attribute changes from a print service. - * Implementations of this interface can be registered with a + * Implementations of this interface can be registered with a * {@link javax.print.PrintService} instance. - * + * * @author Michael Koch (konqueror@gmx.de) */ public interface PrintServiceAttributeListener { /** * Notifies the listener that some attributes have changed. - * + * * @param event the event */ void attributeUpdate(PrintServiceAttributeEvent event); |