Revision 24628 branches/v2_0_0_prep/libraries/libFMap_mapcontrol/src/org/gvsig/fmap/data/feature/swing/FeatureTablePanel.java
FeatureTablePanel.java | ||
---|---|---|
114 | 114 |
// Ignore |
115 | 115 |
} |
116 | 116 |
|
117 |
/** |
|
118 |
* Returns the internal Table Model for the Features of the FeatureStore. |
|
119 |
* |
|
120 |
* @return the internal Table Model |
|
121 |
*/ |
|
122 |
protected ConfigurableFeatureTableModel getTableModel() { |
|
123 |
return tableModel; |
|
124 |
} |
|
125 |
|
|
117 | 126 |
private void createModel() throws DataException { |
118 | 127 |
tableModel = new ConfigurableFeatureTableModel(featureStore, |
119 | 128 |
featureQuery); |
120 | 129 |
} |
121 | 130 |
|
122 | 131 |
private void createGUI() { |
123 |
// TODO: set a fixed column width for the first column with the |
|
124 |
// checkboxes |
|
125 | 132 |
JTable table = new FeatureTable(tableModel); |
126 | 133 |
JScrollPane scrollPane = new JScrollPane(table); |
127 | 134 |
super.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); |
Also available in: Unified diff