public abstract class ViewTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Schedule |
selectedSchedule |
Constructor and Description |
---|
ViewTable() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<Section> |
filterByCourse(Course course)
Filters out all sections that are NOT or the specified course type.
|
abstract java.util.Collection<Section> |
filterByInstructor(Instructor instructor)
Filters out all sections that are NOT taught by the specified instructor.
|
abstract java.util.Collection<Section> |
filterByRoom(Room room)
Filters out all sections that are NOT contained within the specified room.
|
abstract java.util.Collection<Section> |
sortByCourse()
Sorts the table view of the schedule based on the name of the course sections.
|
abstract java.util.Collection<Section> |
SortByDays()
Sorts the table view of the scheduled sections based on the days they are being
taught.
|
abstract java.util.Collection<Section> |
sortByInstructor()
Sorts the table view of the scheduled sections
based on the name of the instructor.
|
abstract java.util.Collection<Section> |
sortByTime()
Sorts the table view of the scheduled sections based on the time they are being
taught during a given day.
|
public Schedule selectedSchedule
public abstract java.util.Collection<Section> sortByCourse()
public abstract java.util.Collection<Section> sortByInstructor()
public abstract java.util.Collection<Section> sortByTime()
public abstract java.util.Collection<Section> SortByDays()
public abstract java.util.Collection<Section> filterByRoom(Room room)
room
- The specified room to examine. All sections that are taught in
this room is contained within the return valuepublic abstract java.util.Collection<Section> filterByInstructor(Instructor instructor)
instructor
- The specified instructor to examine. All sections taught by
this instructor are contained within the return valuepublic abstract java.util.Collection<Section> filterByCourse(Course course)
course
- The specified course to examine. All sections that are of
the specified course type are contained within the return value