All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.PrintObjectListEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.as400.access.PrintObjectListEvent

public class PrintObjectListEvent
extends EventObject
The PrintObjectListEvent class represents a PrintObjectList event.

See Also:
PrintObjectListListener

Variable Index

 o CLOSED
The print object list closed event ID.
 o COMPLETED
The print object list completed event ID.
 o ERROR_OCCURRED
The print object list exception occurred event ID.
 o OBJECT_ADDED
The print object list object added event ID.
 o OPENED
The print object list opened event ID.

Constructor Index

 o PrintObjectListEvent(Object, Exception)
Constructs an PrintObjectListEvent object.
 o PrintObjectListEvent(Object, int)
Constructs an PrintObjectListEvent object.
 o PrintObjectListEvent(Object, PrintObject)
Constructs an PrintObjectListEvent object.

Method Index

 o getException()
Returns the exception that occurred while retrieving the list.
 o getID()
Returns the print object list event identifier.
 o getObject()
Returns the print object added to the list.

Variables

 o CLOSED
 public static final int CLOSED
The print object list closed event ID.

 o COMPLETED
 public static final int COMPLETED
The print object list completed event ID.

 o ERROR_OCCURRED
 public static final int ERROR_OCCURRED
The print object list exception occurred event ID.

 o OPENED
 public static final int OPENED
The print object list opened event ID.

 o OBJECT_ADDED
 public static final int OBJECT_ADDED
The print object list object added event ID.

Constructors

 o PrintObjectListEvent
 public PrintObjectListEvent(Object source,
                             int id)
Constructs an PrintObjectListEvent object. It uses the specified source and ID.

Parameters:
source - The object sourcing the event.
id - The event identifier.
 o PrintObjectListEvent
 public PrintObjectListEvent(Object source,
                             Exception e)
Constructs an PrintObjectListEvent object. It uses the specified source and exception.

Parameters:
source - The object sourcing the event.
e - The exception that occurred while retrieving the list.
 o PrintObjectListEvent
 public PrintObjectListEvent(Object source,
                             PrintObject printObject)
Constructs an PrintObjectListEvent object. It uses the specified source and print object.

Parameters:
source - The object sourcing the event.
printObject - The print object that was added to the list.

Methods

 o getException
 public Exception getException()
Returns the exception that occurred while retrieving the list. If there was no exception, null is returned.

Returns:
The exception that occurred while retrieving the list.
 o getID
 public int getID()
Returns the print object list event identifier.

Returns:
The event identifier.
 o getObject
 public PrintObject getObject()
Returns the print object added to the list. If an object was not added to the list for this event, null is returned.

Returns:
The print object added to the list.

All Packages  Class Hierarchy  This Package  Previous  Next  Index