Class EndPrintJob

java.lang.Object
  |
  +--Event
        |
        +--EndPrintJob
All Implemented Interfaces:
Comparable

public class EndPrintJob
extends Event

An Event that indicates when a printer will stop printing a certain job.

Version:
Mar 3, 2005
Author:
Zach Tomaszewski

Fields inherited from class Event
time
 
Constructor Summary
EndPrintJob(int time, StartPrintJob start)
          Creates a new EndPrintJob
 
Method Summary
 StartPrintJob getStart()
          Returns the start event that correspends to this end event (as given to the constructor).
 
Methods inherited from class Event
compareTo, equals, getTime, toString
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndPrintJob

public EndPrintJob(int time,
                   StartPrintJob start)
Creates a new EndPrintJob
Parameters:
time - The time this event (ending the job) should occur
start - The corresponding starting event for this end event.
Method Detail

getStart

public StartPrintJob getStart()
Returns the start event that correspends to this end event (as given to the constructor).