source: josm/trunk/src/org/openstreetmap/josm/gui/history/NodeListTableColumnModel.java@ 10055

Last change on this file since 10055 was 5835, checked in by stoecker, 11 years ago

Javadoc fixes

  • Property svn:eol-style set to native
File size: 806 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.history;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import javax.swing.table.DefaultTableColumnModel;
7import javax.swing.table.TableColumn;
8
9
10/**
11 * The {@link javax.swing.table.TableColumnModel} for the table with the list of nodes.
12 *
13 *
14 */
15public class NodeListTableColumnModel extends DefaultTableColumnModel {
16 protected void createColumns() {
17 TableColumn col = null;
18 NodeListTableCellRenderer renderer = new NodeListTableCellRenderer();
19
20 // column 0 - Version
21 col = new TableColumn(0);
22 col.setHeaderValue(tr("Nodes"));
23 col.setCellRenderer(renderer);
24 addColumn(col);
25 }
26
27 public NodeListTableColumnModel() {
28 createColumns();
29 }
30}
Note: See TracBrowser for help on using the repository browser.