|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.gvsig.wfs.gui.panels.WFSSelectFeaturePanel.LayerTable.LayerTableModel
public class WFSSelectFeaturePanel.LayerTable.LayerTableModel
Model of the LayerTable that stores the features available to load as a WFS layer.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
WFSSelectFeaturePanel.LayerTable.LayerTableModel()
Constructs an investment table model. |
|
| Method Summary | |
|---|---|
void |
addRow(WFSSelectedFeature layer)
Adds a new layer to the table model, each table will be represented as a row. |
void |
deleteAllRows()
Deletes all the table rows. |
void |
deleteRow(int rowPosition)
Delete all the table rows |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int columnIndex)
|
WFSSelectedFeature |
getLayerAt(int rowNumber)
Gets the layer at the specified position. |
int |
getRowCount()
|
java.lang.Object |
getValueAt(int rowNumber,
int columnNumber)
|
boolean |
isShowedFeatureNameType()
Gets if shows the feature name type. |
boolean |
isUpdatingSelection()
Determines if now is updating the selection of the previous selected item. |
void |
setShowedFeatureNameType(boolean showFeatureNameType)
Gets if shows the feature name type. |
void |
sort(int column)
Sorts the rows of the table alphabetically. |
| 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 |
| Constructor Detail |
|---|
public WFSSelectFeaturePanel.LayerTable.LayerTableModel()
| Method Detail |
|---|
public void addRow(WFSSelectedFeature layer)
layer - a new WFS layerpublic void deleteAllRows()
public void deleteRow(int rowPosition)
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic WFSSelectedFeature getLayerAt(int rowNumber)
rowNumber - row position
public int getRowCount()
public java.lang.Object getValueAt(int rowNumber,
int columnNumber)
public boolean isShowedFeatureNameType()
true if shows the feature name type; false otherwisepublic boolean isUpdatingSelection()
true if now is updating the selection of the previous selected item; otherwise falsepublic void setShowedFeatureNameType(boolean showFeatureNameType)
showFeatureNameType - true if shows the feature name type; false otherwisepublic void sort(int column)
column - index of the column to sort. In this table there are only 2 columns.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||