Package | Description |
---|---|
tlass.project | |
tlass.project.gui.panels | |
tlass.project.model |
Modifier and Type | Method and Description |
---|---|
Instructor |
ModelHandler.addNewInstructor()
Adds a new Instructor to the model by utilizing ModelEvent
|
Modifier and Type | Method and Description |
---|---|
void |
ModelHandler.restoreInstructor(Instructor instructor,
Instructor instructorBackup)
Restores an Instructor's data to the data stored in the backup.
|
void |
ModelHandler.setInstructorName(Instructor instructor,
java.lang.String text)
Changes the name of the Instructor to the one supplied.
|
void |
ModelHandler.setInstructorUsername(Instructor instructor,
java.lang.String text) |
void |
ModelHandler.setSectionInstructor(Section section,
Instructor selectedItem)
Sets a sections instructor
|
Modifier and Type | Method and Description |
---|---|
Instructor |
InstructorPanel.getInstructor()
get the instructor of the panel
|
Modifier and Type | Method and Description |
---|---|
void |
InstructorPanel.setInstructor(Instructor i)
set the instructor for the panel
|
Constructor and Description |
---|
InstructorPanel(Controller c,
Instructor i,
javax.swing.JTree st,
javax.swing.tree.DefaultMutableTreeNode n,
MainWindow mw)
Constructor for Instructor Panels
|
Modifier and Type | Method and Description |
---|---|
Instructor |
Instructor.copy()
Creates a copy of an Instructor
|
Instructor |
Section.getInstructor()
Gets the Instructor for the section.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Instructor> |
Model.getInstructors()
Gets the list of instructors that are currently in the model.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.addInstructor(Instructor i)
Adds a new Instructor to the model.
|
void |
Model.removeInstructor(Instructor i)
Removes an instructor from the Model, also ensuring that there
are no references to the instructor in any component of the Model.
|
void |
Model.renameInstructor(Instructor i,
java.lang.String name)
Rename the instructor to a given name.
|
void |
Instructor.restore(Instructor backup)
Restores all information to a previous backup version of an Instructor
|
void |
Section.setInstructor(Instructor instructor)
Sets the Instructor for the section.
|
Modifier and Type | Method and Description |
---|---|
void |
Section.clean(java.util.ArrayList<Assistant> assistants,
java.util.ArrayList<Skill> skills,
java.util.ArrayList<Instructor> instructors)
Consumes an ArrayLIst of assistants, skills, and instructors
and then removes all of the elements from the three
arraylists
|
void |
Model.setInstructors(java.util.ArrayList<Instructor> instructors)
Sets the list of instructors currently in the model to the list that is supplied.
|