0% found this document useful (0 votes)
118 views1 page

Studentsbean: +refresh (In Firstname: String, in Lastname: String, in Course: String, in Address: String) : Void

The document describes classes related to a student management system, including classes for the student model (StudentsModel), view (StudentsView), and controller (StudentsController). The StudentsModel class stores student data and notifies observers of changes. The StudentsView class creates and manages the user interface and retrieves/displays student data. The StudentsController class links the model and view by updating the model based on user input and notifying the view of changes.

Uploaded by

Staf Alpha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views1 page

Studentsbean: +refresh (In Firstname: String, in Lastname: String, in Course: String, in Address: String) : Void

The document describes classes related to a student management system, including classes for the student model (StudentsModel), view (StudentsView), and controller (StudentsController). The StudentsModel class stores student data and notifies observers of changes. The StudentsView class creates and manages the user interface and retrieves/displays student data. The StudentsController class links the model and view by updating the model based on user input and notifying the view of changes.

Uploaded by

Staf Alpha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

StudentsBean -firstName : String -lastName : String -course : String -address : String -view : StudentRefInterface +StudentsBean(in v : StudentRefInterface) +getFirstName() : String

+getLastName() : String +getCourse() : String +getAddress() : String +getView() : StudentRefInterface +setFirstName(in firstName : String) : void +setLastName(in lastName : String) : void +setCourse(in course : String) : void +setAddress(in course : String) : void +setView(in view : StudentRefInterface) : void StudentsModel -firstName : String -lastName : String -course : String -address : String -studentsView : ArrayList +StudentsModel() +StudentsModel(in view : StudentRefInterface) +addContactView(in view : StudentRefInterface) : void +removeContactView(in view : StudentRefInterface) : void +getFirstName() : String +getLastName() : String +getTitle() : String +getOrganization() : String +setFirstName(in newFirstName : String) : void +setLastName(in newLastName : String) : void +setCourse(in newCourse : String) : void +setAddress(in newAddress : String) : void +updateModel(in newFirstName : String, in newLastName : String, in newTitle : String, in newOrganization : String) : void +isEmptyString(in input : String) : Boolean +updateView() : void interface StudentRefInterface +refresh(in firstName : String, in lastName : String, in course : String, in address : String) : void

StudentsDisplayView -studentDetail : JTextArea +refresh(in firstName : String, in lastName : String, in course : String, in address : String) : void +StudentsDisplayView() +createGui() : void +refresh(in newFirstName : String, in newLastName : String, in newCourse : String, in newAddress : String) : void

interface ActionListener

StudentsView -serialVisionUID : long -SHOW_BUTTON : String -EXIT_BUTTON : String -STUDENT_FIRST_NAME : String -STUDENT_LAST_NAME : String -STUDENT_COURSE : String -STUDENT_ADDRESS : String -FNAME_COL_WIDTH : int -LNAME_COL_WIDTH : int -COURSE_COL_WIDTH : int -ADDRESS_COL_WIDTH : int -controller : StudentsController -firstNameLabel : JLabel -lastNameLabel : JLabel -courseLabel : JLabel -addressLabel : JLabel -firstName : JTextField -lastName : JTextField -course : JTextField -address : JTextField -display : JButton -exit : JButton +refresh(in firstName : String, in lastName : String, in course : String, in address : String) : void +StudentsView(in model : StudentsModel) +StudentsView(in model : StudentsModel, in newController : StudentsController) +createGui() : void +getUpdate() : Object +getFirstName() : String +getLastName() : String +getCourse() : String +getAddress() : String +refresh(in newFirstName : String, in newLastName : String, in newTitle : String, in newOrganization : String) : void

ExitHandler +actionPerformed(in event : ActionEvent)

StudentsController -model : StudentsModel -view : StudentsView +StudentsController(in m : StudentsModel, in v : StudentsView) +actionPerformed(in evt : ActionEvent) +updateModel()

You might also like