javax.print.event
Class PrintEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.print.event.PrintEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PrintJobAttributeEvent, PrintJobEvent, PrintServiceAttributeEvent

public class PrintEvent
extends EventObject

Superclass of all events in the Java Print Service API.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PrintEvent(Object source)
          Constructs a PrintEvent object.
 
Method Summary
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintEvent

public PrintEvent(Object source)
Constructs a PrintEvent object.

Parameters:
source - the source of this event
Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class EventObject
Returns:
The string representation
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)