org.globus.cog.gui.grapheditor.util.tables
Class PropertiesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.globus.cog.gui.grapheditor.util.tables.PropertiesTableModel
- All Implemented Interfaces:
- EventListener, PropertyChangeListener, Serializable, TableModel
- public class PropertiesTableModel
- extends AbstractTableModel
- implements TableModel, PropertyChangeListener
A table model that can be used to display all the properties of a graph component and
their values.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesTableModel
public PropertiesTableModel(GraphComponent nodeComponent)
PropertiesTableModel
public PropertiesTableModel()
setFilter
public void setFilter(String filter)
getFilter
public String getFilter()
setObject
public void setObject(GraphComponent nodeComponent)
updatePropertyList
protected void updatePropertyList()
getRowCount
public int getRowCount()
- Specified by:
getRowCount in interface TableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableModel
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt in interface TableModel
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName in interface TableModel
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass in interface TableModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable in interface TableModel
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
getGraphComponent
public GraphComponent getGraphComponent()
getProperty
public Property getProperty(int row)