1. /*
  2. * @(#)PrintEvent.java 1.3 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.print.event;
  8. /**
  9. *
  10. * Class PrintEvent is the super class of all Print Service API events.
  11. */
  12. public class PrintEvent extends java.util.EventObject {
  13. /**
  14. * Constructs a PrintEvent object.
  15. * @param source is the source of the event
  16. */
  17. public PrintEvent (Object source) {
  18. super(source);
  19. }
  20. /**
  21. * @return a message describing the event
  22. */
  23. public String toString() {
  24. return ("PrintEvent on " + getSource().toString());
  25. }
  26. }