Lines Matching refs:listener

56      * set to the previous attribute set; alternatively, register a listener for
65 * Registers a listener for event occurring during this print job. If
66 * listener is {@code null}, no exception is thrown and no action is
67 * performed. If listener is already registered, it will be registered
70 * @param listener the object implementing the listener interface
73 public void addPrintJobListener(PrintJobListener listener);
76 * Removes a listener from this print job. This method performs no function,
77 * nor does it throw an exception, if the listener specified by the argument
78 * was not previously added to this print job. If listener is {@code null},
79 * no exception is thrown and no action is performed. If a listener was
82 * @param listener the object implementing the listener interface
85 public void removePrintJobListener(PrintJobListener listener);
88 * Registers a listener for changes in the specified attributes. If listener
92 * interesting and likely to be reported to the listener. Clients expecting
99 * reported to the listener. If the attribute set is {@code null}, then this
104 * If listener is already registered, it will be registered again.
106 * @param listener the object implementing the listener interface
112 PrintJobAttributeListener listener,
116 * Removes an attribute listener from this print job. This method performs
117 * no function, nor does it throw an exception, if the listener specified by
118 * the argument was not previously added to this print job. If the listener
120 * listener is registered more than once, even for a different set of
121 * attributes, no guarantee is made which listener is removed.
123 * @param listener the object implementing the listener interface
127 PrintJobAttributeListener listener);