Class StartPrintJob

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

public class StartPrintJob
extends Event

An event that indicates a printer should start printing.

Version:
Mar 3, 2005
Author:
Zach Tomaszewski

Fields inherited from class Event
time
 
Constructor Summary
StartPrintJob(int time, int pages)
          Creates a new StartPrintJob with the specified time and number of pages to be printed.
 
Method Summary
 int getPages()
          Returns how many pages should be printed for this print job.
 
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

StartPrintJob

public StartPrintJob(int time,
                     int pages)
Creates a new StartPrintJob with the specified time and number of pages to be printed.
Method Detail

getPages

public int getPages()
Returns how many pages should be printed for this print job.