public class PrintServiceAttributeEvent extends PrintEvent
PrintServiceAttributeEvents are generated by a
PrintService to inform registered listeners that
its associated attributes have changed.source| Constructor and Description |
|---|
PrintServiceAttributeEvent(PrintService source,
PrintServiceAttributeSet attributes)
Constructs a
PrintServiceAttributeEvent object. |
| Modifier and Type | Method and Description |
|---|---|
PrintServiceAttributeSet |
getAttributes()
Returns the changed attributes this event reports.
|
PrintService |
getPrintService()
Returns the print service that generated this event.
|
toStringgetSourcepublic PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
PrintServiceAttributeEvent object.source - the source of this eventattributes - the attribute changes being reportedpublic PrintService getPrintService()
public PrintServiceAttributeSet getAttributes()