|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractTableModel
FeatureCollectionTableModel
public class FeatureCollectionTableModel
A Swing TableModel
to retrieve attribute values from
each feature in a feature collection and cache them for a
JTable
modules/unsupported/swing (gt-swing.jar)
Field Summary | |
---|---|
IOException |
exception
|
Fields inherited from class AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
FeatureCollectionTableModel(FeatureCollection<SimpleFeatureType,SimpleFeature> features)
Constructor |
Method Summary | |
---|---|
void |
dispose()
Cancel the running job, if any |
int |
getColumnCount()
Get the number of columns in the table |
String |
getColumnName(int column)
Retrieve the specified column name |
int |
getRowCount()
Get the number of rows in the table |
Object |
getValueAt(int rowIndex,
int columnIndex)
Get the value of a specified table entry |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public IOException exception
Constructor Detail |
---|
public FeatureCollectionTableModel(FeatureCollection<SimpleFeatureType,SimpleFeature> features)
features
- the feature collection to load into the tableMethod Detail |
---|
public void dispose()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- column index
public int getColumnCount()
public int getRowCount()
public 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 |