Package MySTARS
Class PrintTimeTableView
java.lang.Object
MySTARS.View
MySTARS.PrintTimeTableView
public final class PrintTimeTableView extends View
A view that prints the Timetable for the currently logged in User.
- Since:
- 2020-11-1
- Version:
- 1.0
- Author:
- Bhargav
-
Constructor Summary
Constructors Constructor Description PrintTimeTableView()
-
Method Summary
Modifier and Type Method Description void
print()
The main print function of the view, which prints out the timetable in the correct formatting.protected static void
printInformation(CourseStatus courseStatus, Student currentUser)
Displays all the relevant information for courses that are of a particularCourseStatus
for aStudent
.private static void
printLine()
Method that prints a horizontal line across the screen.
-
Constructor Details
-
PrintTimeTableView
public PrintTimeTableView()
-
-
Method Details
-
print
public void print()The main print function of the view, which prints out the timetable in the correct formatting. -
printInformation
Displays all the relevant information for courses that are of a particularCourseStatus
for aStudent
.- Parameters:
courseStatus
- status of the course with respect to the student.currentUser
- the current user (is aStudent
).
-
printLine
private static void printLine()Method that prints a horizontal line across the screen.
-