|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.geotools.swing.table.FeatureCollectionTableModel
public class FeatureCollectionTableModel
A Swing TableModel
to retrieve attribute values from
each feature in a feature collection and cache them for a
JTable
Field Summary | |
---|---|
java.io.IOException |
exception
|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
FeatureCollectionTableModel(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> features)
Constructor |
Method Summary | |
---|---|
void |
dispose()
Cancel the running job, if any |
int |
getColumnCount()
Get the number of columns in the table |
java.lang.String |
getColumnName(int column)
Retrieve the specified column name |
int |
getRowCount()
Get the number of rows in the table |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Get the value of a specified table entry |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.io.IOException exception
Constructor Detail |
---|
public FeatureCollectionTableModel(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> features)
features
- the feature collection to load into the tableMethod Detail |
---|
public void dispose()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
column
- column index
public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |