javax.print.event
Class PrintEvent

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

public class PrintEvent
extends EventObject sample code for java.util.EventObject definition code for java.util.EventObject

Class PrintEvent is the super class of all Print Service API events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject
source sample code for java.util.EventObject.source definition code for java.util.EventObject.source
 
Constructor Summary
PrintEvent sample code for javax.print.event.PrintEvent.PrintEvent(java.lang.Object) definition code for javax.print.event.PrintEvent.PrintEvent(java.lang.Object) (Object sample code for java.lang.Object definition code for java.lang.Object  source)
          Constructs a PrintEvent object.
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String toString sample code for javax.print.event.PrintEvent.toString() definition code for javax.print.event.PrintEvent.toString() ()
          Returns a String representation of this EventObject.
 
Methods inherited from class java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject
getSource sample code for java.util.EventObject.getSource() definition code for java.util.EventObject.getSource()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

PrintEvent sample code for javax.print.event.PrintEvent(java.lang.Object) definition code for javax.print.event.PrintEvent(java.lang.Object)

public PrintEvent(Object sample code for java.lang.Object definition code for java.lang.Object  source)
Constructs a PrintEvent object.

Parameters:
source - is the source of the event
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if source is null.
Method Detail

toString sample code for javax.print.event.PrintEvent.toString() definition code for javax.print.event.PrintEvent.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()
Description copied from class: EventObject sample code for java.util.EventObject.toString() definition code for java.util.EventObject.toString()
Returns a String representation of this EventObject.

Overrides:
toString sample code for java.util.EventObject.toString() definition code for java.util.EventObject.toString() in class EventObject sample code for java.util.EventObject definition code for java.util.EventObject
Returns:
a message describing the event