Class DelayedPrintJob
java.lang.Object
|
+--Event
|
+--DelayedPrintJob
- All Implemented Interfaces:
- Comparable
- public class DelayedPrintJob
- extends Event
Represents when a print job that has been delayed should actually
start printing.
- Version:
- Mar 3, 2005
- Author:
- Zach Tomaszewski
|
Constructor Summary |
DelayedPrintJob(int time,
StartPrintJob job)
Creates a event signalling that a job has been delayed for some time
but should now start printing. |
|
Method Summary |
StartPrintJob |
getOriginalJob()
Returns the original print job that had been delayed
until this event. |
int |
getWait()
Returns the time difference between this delayed event
and its contained "original start" event. |
DelayedPrintJob
public DelayedPrintJob(int time,
StartPrintJob job)
- Creates a event signalling that a job has been delayed for some time
but should now start printing.
- Parameters:
time - The time to actually start printing this jobjob - The job as orignally sent
getOriginalJob
public StartPrintJob getOriginalJob()
- Returns the original print job that had been delayed
until this event.
getWait
public int getWait()
- Returns the time difference between this delayed event
and its contained "original start" event.
- Returns:
- how long the contained StartPrintJob has been waiting (delayed).