1.1 --- a/java/JFTable/src/cz/frantovo/gui/tabulky/TableSorterModel.java Sat Feb 28 17:11:20 2009 +0100
1.2 +++ b/java/JFTable/src/cz/frantovo/gui/tabulky/TableSorterModel.java Sat Feb 28 17:13:40 2009 +0100
1.3 @@ -254,26 +254,31 @@
1.4 return (tableModel == null) ? 0 : tableModel.getColumnCount();
1.5 }
1.6
1.7 + @Override
1.8 public String getColumnName(int column) {
1.9 return tableModel.getColumnName(column);
1.10 }
1.11
1.12 + @Override
1.13 public Class getColumnClass(int column) {
1.14 return tableModel.getColumnClass(column);
1.15 }
1.16
1.17 + @Override
1.18 public boolean isCellEditable(int row,
1.19 int column) {
1.20 return tableModel.isCellEditable(modelIndex(row),
1.21 column);
1.22 }
1.23
1.24 + @Override
1.25 public Object getValueAt(int row,
1.26 int column) {
1.27 return tableModel.getValueAt(modelIndex(row),
1.28 column);
1.29 }
1.30
1.31 + @Override
1.32 public void setValueAt(Object aValue,
1.33 int row,
1.34 int column) {
1.35 @@ -282,7 +287,7 @@
1.36 column);
1.37 }
1.38
1.39 - // Pomocn� t��dy
1.40 + /** Pomocné třídy */
1.41 private class Row implements Comparable {
1.42
1.43 private int modelIndex;
1.44 @@ -324,6 +329,7 @@
1.45 }
1.46 }
1.47
1.48 + /** Pomocné třídy */
1.49 private class TableModelHandler implements TableModelListener {
1.50
1.51 public void tableChanged(TableModelEvent e) {
1.52 @@ -397,6 +403,7 @@
1.53
1.54 private class MouseHandler extends MouseAdapter {
1.55
1.56 + @Override
1.57 public void mouseClicked(MouseEvent e) {
1.58 JTableHeader h = (JTableHeader) e.getSource();
1.59 TableColumnModel columnModel = h.getColumnModel();