1
2 package hoplugins.teamAnalyzer.ui.model;
3
4 import hoplugins.commons.ui.BaseTableModel;
5
6 import java.util.Vector;
7
8
9 /***
10 * Custom RatingTable model
11 *
12 * @author <a href=mailto:draghetto@users.sourceforge.net>Massimiliano Amato</a>
13 */
14 public class UiRosterTableModel extends BaseTableModel {
15
16
17 /***
18 * Creates a new UiRecapTableModel object.
19 *
20 * @param vector Vector of table data
21 * @param vector2 Vector of column names
22 */
23 public UiRosterTableModel(Vector vector, Vector vector2) {
24 super(vector, vector2);
25 }
26
27 /***
28 * Creates a new instance of UiFilterTableModel
29 */
30 public UiRosterTableModel() {
31 super();
32 }
33
34
35
36 /***
37 * Method that returns if the cell if editable, false by default
38 *
39 * @param row the row index of the cell
40 * @param column the column index of the cell
41 *
42 * @return true if editable, false if not
43 */
44 public boolean isCellEditable(int row, int column) {
45 if ((column > 4) && (column < 9)) {
46 return true;
47 }
48
49 return false;
50 }
51
52 /***
53 * Returns the column class type
54 */
55
56
57
58
59
60
61
62 }