org.openrdf.sesame.config.ui
Class SailTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.openrdf.sesame.config.ui.XTableModel
          extended byorg.openrdf.sesame.config.ui.SailTableModel
All Implemented Interfaces:
Serializable, SystemConfigListener, TableModel

public class SailTableModel
extends XTableModel

Sail XTableModel for SailTable

Version:
$Revision: 1.4.4.2 $
Author:
Peter van 't Hof, Arjohn Kampman
See Also:
Serialized Form

Field Summary
static int COLUMN_CLASS
          Sail id column id
 
Constructor Summary
SailTableModel(String id, SystemConfig config)
          Creates a new SailTableModel with the supplied repository id and SystemConfig
 
Method Summary
 void configurationChanged()
          SystemConfig changed
 int getIdentifyingColumn()
          Gets the index of the identifying column.
 Object getValueAt(int row, int column)
           
 void setValueAt(Object value, int row, int column)
           
 
Methods inherited from class org.openrdf.sesame.config.ui.XTableModel
addNewRow, getColumnAlignment, getColumnCount, getColumnName, getColumnWidth, getRowCount, getRowIndex, isCellEditable, removeNewRow, rowIsNew, valueIsNew
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_CLASS

public static final int COLUMN_CLASS
Sail id column id

See Also:
Constant Field Values
Constructor Detail

SailTableModel

public SailTableModel(String id,
                      SystemConfig config)
Creates a new SailTableModel with the supplied repository id and SystemConfig

Parameters:
id - Repository id
config - SystemConfig
Method Detail

getIdentifyingColumn

public int getIdentifyingColumn()
Description copied from class: XTableModel
Gets the index of the identifying column. Every row in a table is identified by the value of a specific column, e.g. the user table is identified by its login column, the repository table is identified by its repositoryID column, etc.

Specified by:
getIdentifyingColumn in class XTableModel
Returns:
The index of the identifying column (0-based).

getValueAt

public Object getValueAt(int row,
                         int column)

setValueAt

public void setValueAt(Object value,
                       int row,
                       int column)

configurationChanged

public void configurationChanged()
Description copied from interface: SystemConfigListener
SystemConfig changed



Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.