javax.print.event
Class PrintServiceAttributeEvent
java.lang.Object
java.util.EventObject
javax.print.event.PrintEvent
javax.print.event.PrintServiceAttributeEvent
- All Implemented Interfaces:
- Serializable
public class PrintServiceAttributeEvent
- extends PrintEvent
PrintServiceAttributeEvent
s are generated by a
PrintService
to inform registered listeners that
its associated attributes have changed.
- See Also:
- Serialized Form
PrintServiceAttributeEvent
public PrintServiceAttributeEvent(PrintService source,
PrintServiceAttributeSet attributes)
- Constructs a
PrintServiceAttributeEvent
object.
- Parameters:
source
- the source of this eventattributes
- the attribute changes being reported
getPrintService
public PrintService getPrintService()
- Returns the print service that generated this event.
- Returns:
- The print service.
getAttributes
public PrintServiceAttributeSet getAttributes()
- Returns the changed attributes this event reports.
- Returns:
- The changed attributes.