Version: 1.1.1

org.inb.biomoby.central.gui.model
Class MobyPropertiesTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.inb.biomoby.central.gui.model.MobyPropertiesTableModel
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
MobyObjectPropertiesTableModel

public class MobyPropertiesTableModel
extends AbstractTableModel

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Constructor Summary
MobyPropertiesTableModel()
           
 
Method Summary
 void addProperties(ObjectType clazz)
           
 Relationship<ObjectType> addProperty(ObjectType property)
           
 void clear()
           
 Relationship<ObjectType> get(int row)
           
 Class getColumnClass(int column)
           
 int getColumnCount()
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 boolean isValid()
           
 Relationship<ObjectType> remove(int row)
           
 void setValueAt(Object value, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyPropertiesTableModel

public MobyPropertiesTableModel()
Method Detail

getColumnCount

public final int getColumnCount()

getRowCount

public final int getRowCount()

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

getColumnClass

public final Class getColumnClass(int column)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getValueAt

public final Object getValueAt(int rowIndex,
                               int columnIndex)

setValueAt

public void setValueAt(Object value,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

get

public Relationship<ObjectType> get(int row)

clear

public void clear()

addProperty

public Relationship<ObjectType> addProperty(ObjectType property)

addProperties

public void addProperties(ObjectType clazz)

remove

public Relationship<ObjectType> remove(int row)

isValid

public boolean isValid()

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010