public abstract class File
extends java.lang.Object
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
exportGradebook()
Opens the "export" menu.
|
(package private) abstract void |
importGradebook()
Opens the "import" menu.
|
(package private) abstract void |
logout()
Logs the user out, terminating the authenticated session.
|
(package private) abstract void |
newClass(java.lang.String name)
Creates a new class.
|
(package private) abstract void |
print()
Opens the "print" menu.
|
(package private) abstract void |
quit()
Quits the application.
|
abstract void newClass(java.lang.String name)
pre: // // The current workspace gradebook must not already contain a course // with the given name. // !exists (Course course; WorkSpace.gradebook.courses.contains(course); course.name.equals(name)); post: // // The current workspace gradebook must contain the same courses with // the addition of the new course. // forall (Course course; WorkSpace.gradebook.courses'.contains(course) iff WorkSpace.gradebook.courses.contains(course))) && exists (Course course; WorkSpace.gradebook.courses'.contains(course); course.name.equals(name));
abstract void exportGradebook()
abstract void importGradebook()
abstract void print()
abstract void logout()
pre: // // The current workspace has a logged in user. // WorkSpace.user != null; post: // // The current workspace user will be null. // WorkSpace.user == null;
abstract void quit()