application
Class Summary
java.lang.Object
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Summary
public Summary()
- Creates a new instance of Summary
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