application
Class Summary

java.lang.Object
  extended by application.Summary
All Implemented Interfaces:
java.awt.print.Pageable, java.awt.print.Printable, java.io.Serializable, java.util.Observer

public class Summary
extends java.lang.Object
implements java.io.Serializable, java.awt.print.Printable, java.awt.print.Pageable, java.util.Observer

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
 
Constructor Summary
Summary()
          Creates a new instance of Summary
 
Method Summary
 int adjunctFacultyCount()
          counts how many adjunct faculty are in the schedule
 void buildSummary()
           
 java.lang.String calcSummary()
           
 int coursesAdjunct()
           
 int coursesFullTime()
           
 int fullTimeFacultyCount()
          counts how many full time faculty are in the schedule
 int getLinesPerPage(java.awt.print.PageFormat pageFormat)
           
 int getNumberOfPages()
           
 java.awt.print.PageFormat getPageFormat(int pageIndex)
           
 java.awt.print.Printable getPrintable(int pageIndex)
           
 int print(java.awt.Graphics g, java.awt.print.PageFormat pageFormat, int pageIndex)
           
 int totalCapacity()
           
 int totalCreditHours()
           
 void update(java.util.Observable sched, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Summary

public Summary()
Creates a new instance of Summary

Method Detail

update

public void update(java.util.Observable sched,
                   java.lang.Object obj)
Specified by:
update in interface java.util.Observer

buildSummary

public void buildSummary()

calcSummary

public java.lang.String calcSummary()

totalCapacity

public int totalCapacity()

fullTimeFacultyCount

public int fullTimeFacultyCount()
counts how many full time faculty are in the schedule


coursesFullTime

public int coursesFullTime()

coursesAdjunct

public int coursesAdjunct()

adjunctFacultyCount

public int adjunctFacultyCount()
counts how many adjunct faculty are in the schedule


totalCreditHours

public int totalCreditHours()

getLinesPerPage

public int getLinesPerPage(java.awt.print.PageFormat pageFormat)

getNumberOfPages

public int getNumberOfPages()
Specified by:
getNumberOfPages in interface java.awt.print.Pageable

print

public int print(java.awt.Graphics g,
                 java.awt.print.PageFormat pageFormat,
                 int pageIndex)
Specified by:
print in interface java.awt.print.Printable

getPrintable

public java.awt.print.Printable getPrintable(int pageIndex)
Specified by:
getPrintable in interface java.awt.print.Pageable

getPageFormat

public java.awt.print.PageFormat getPageFormat(int pageIndex)
Specified by:
getPageFormat in interface java.awt.print.Pageable