|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.geotools.gui.swing.tables.FeatureTableModel
FeatureTableModel
(i.e. package instead of , since package naming
convention is to use the singular form).
An implementation of Swing's TableModel which allows FeatureTables to be displayed.
Field Summary | |
protected FeatureCollection |
featureTable
Deprecated. Holds the FeatureTable that will be represented by this model. |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
FeatureTableModel()
Deprecated. Creates a new instance of FeatureTableModel |
|
FeatureTableModel(FeatureCollection featureCollection)
Deprecated. Creates a new instance of FeatureTableModel based on the feature collection provided |
Method Summary | |
int |
getColumnCount()
Deprecated. The number of columns in the featureTable. |
java.lang.String |
getColumnName(int col)
Deprecated. Gets the name of a specified column. |
int |
getRowCount()
Deprecated. Gets the row count for the featureTable. |
java.lang.Object |
getValueAt(int row,
int col)
Deprecated. Gets the value stored in a specified cell. |
void |
setFeatureCollection(FeatureCollection featureCollection)
Deprecated. Sets which featureTable to represent |
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 |
Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener, getColumnClass, isCellEditable, removeTableModelListener, setValueAt |
Field Detail |
protected FeatureCollection featureTable
Constructor Detail |
public FeatureTableModel()
public FeatureTableModel(FeatureCollection featureCollection)
featureCollection
- Method Detail |
public void setFeatureCollection(FeatureCollection featureCollection)
featureCollection
- The featureTable to represent. This could fire
a Table Structure Changed event.public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
col
- the index of the column to get the name of.
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
row
- the row number.col
- the column number.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |