org.openrdf.sesame.config.ui
Class UserTableModel

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

public class UserTableModel
extends XTableModel

User XTableModel for UserTable

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

Field Summary
static int COLUMN_FULL_NAME
          User full name column id
static int COLUMN_ID
          User id column id
static int COLUMN_LOGIN
          User login column id
static int COLUMN_PASSWORD
          User password column id
 
Constructor Summary
UserTableModel(SystemConfig config)
          Creates a new UserTableModel with the supplied 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_ID

public static final int COLUMN_ID
User id column id

See Also:
Constant Field Values

COLUMN_LOGIN

public static final int COLUMN_LOGIN
User login column id

See Also:
Constant Field Values

COLUMN_FULL_NAME

public static final int COLUMN_FULL_NAME
User full name column id

See Also:
Constant Field Values

COLUMN_PASSWORD

public static final int COLUMN_PASSWORD
User password column id

See Also:
Constant Field Values
Constructor Detail

UserTableModel

public UserTableModel(SystemConfig config)
Creates a new UserTableModel with the supplied SystemConfig

Parameters:
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.