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