Revision 12514 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/TableColorModel.java
TableColorModel.java | ||
---|---|---|
35 | 35 |
Class[] types = new Class[] { JButton.class, String.class, String.class, Double.class, Double.class, JButton.class }; |
36 | 36 |
|
37 | 37 |
public TableColorModel(String[] columnNames) { |
38 |
super(new Object[0][4], columnNames);
|
|
38 |
super(new Object[0][6], columnNames);
|
|
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
/* |
... | ... | |
56 | 56 |
/* |
57 | 57 |
* (non-Javadoc) |
58 | 58 |
* @see javax.swing.table.DefaultTableModel#setValueAt(java.lang.Object, int, int) |
59 |
*/ |
|
59 |
*//*
|
|
60 | 60 |
public void setValueAt(Object value, int row, int col) { |
61 | 61 |
super.setValueAt(value, row, col); |
62 |
} |
|
62 |
}*/
|
|
63 | 63 |
|
64 | 64 |
/* |
65 | 65 |
* (non-Javadoc) |
... | ... | |
72 | 72 |
/* |
73 | 73 |
* (non-Javadoc) |
74 | 74 |
* @see javax.swing.table.DefaultTableModel#addRow(java.lang.Object[]) |
75 |
*/ |
|
75 |
*//*
|
|
76 | 76 |
public void addRow(Object[] list) { |
77 | 77 |
super.addRow(new Object[] { list[0], list[1], list[2], list[3], list[4], list[5] }); |
78 |
} |
|
78 |
}*/
|
|
79 | 79 |
|
80 | 80 |
/* |
81 | 81 |
* (non-Javadoc) |
Also available in: Unified diff