public class PrintObjectListEvent
extends java.util.EventObject
PrintObjectListListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
CLOSED
The print object list closed event ID.
|
static int |
COMPLETED
The print object list completed event ID.
|
static int |
ERROR_OCCURRED
The print object list exception occurred event ID.
|
static int |
OBJECT_ADDED
The print object list object added event ID.
|
static int |
OPENED
The print object list opened event ID.
|
Constructor and Description |
---|
PrintObjectListEvent(java.lang.Object source,
java.lang.Exception e)
Constructs an PrintObjectListEvent object.
|
PrintObjectListEvent(java.lang.Object source,
int id)
Constructs an PrintObjectListEvent object.
|
PrintObjectListEvent(java.lang.Object source,
PrintObject printObject)
Constructs an PrintObjectListEvent object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Returns the exception that occurred while retrieving
the list.
|
int |
getID()
Returns the print object list event identifier.
|
PrintObject |
getObject()
Returns the print object added to the list.
|
public static final int CLOSED
public static final int COMPLETED
public static final int ERROR_OCCURRED
public static final int OPENED
public static final int OBJECT_ADDED
public PrintObjectListEvent(java.lang.Object source, int id)
source
- The object sourcing the event.id
- The event identifier.public PrintObjectListEvent(java.lang.Object source, java.lang.Exception e)
source
- The object sourcing the event.e
- The exception that occurred while retrieving the list.public PrintObjectListEvent(java.lang.Object source, PrintObject printObject)
source
- The object sourcing the event.printObject
- The print object that was added to the list.public java.lang.Exception getException()
public int getID()
public PrintObject getObject()