Class StudentsModel
java.lang.Object
javax.swing.AbstractListModel
edu.pdx.cs410J.grader.gradebook.ui.StudentsModel
- All Implemented Interfaces:
Serializable
,ListModel
Class used for displaying either student ids or their full names in
a
JList
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetElementAt
(int index) getIdAt
(int index) Returns the id of the student at the given indexint
getSize()
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
StudentsModel
-
-
Method Details
-
getIdAt
Returns the id of the student at the given index -
getElementAt
-
getSize
-