org.jacorb.imr.util

Class ImRPOATableModel

public class ImRPOATableModel extends AbstractTableModel

This is the model for the POA table. It does not write back data since the entries in the POA table are not editable.

Author: Nicolas Noffke $Log: ImRPOATableModel.java,v $ Revision 1.8 2006/06/16 12:36:28 alphonse.bendt fixed some findbugs warnings Revision 1.7 2004/05/06 12:39:59 nicolas Updated Copyright notice to 2004 Revision 1.6 2002/12/20 18:29:04 nicolas Updated Copyright year to 2003 Revision 1.5 2002/07/01 07:54:16 nicolas updated or inserted Copyright notice Revision 1.4 2002/03/19 09:25:11 nicolas updated copyright to 2002 Revision 1.3 2002/03/19 11:08:01 brose *** empty log message *** Revision 1.2 2002/03/17 18:44:01 brose *** empty log message *** Revision 1.4 1999/11/25 16:05:48 brose cosmetics Revision 1.3 1999/11/21 20:15:52 noffke GUI data is now updated periodically by a thread Revision 1.2 1999/11/14 17:15:40 noffke Cosmetics and commenting

Method Summary
ClassgetColumnClass(int index)
Get the class of a specific column.
intgetColumnCount()
Get the number of columns.
StringgetColumnName(int column)
Get the name of a specific column.
intgetRowCount()
Get the number of rows.
StringgetServerName()
Get the name of the server these POAs are associated with.
ObjectgetValueAt(int row, int column)
Get the value of a specific table cell.
voidsetPOAs(POAInfo[] poas)
Pass in the POAs the POA table should display.

Method Detail

getColumnClass

public Class getColumnClass(int index)
Get the class of a specific column.

Parameters: index the columns index.

Returns: the Class object for the column.

getColumnCount

public int getColumnCount()
Get the number of columns.

Returns: int the number of columns of this table.

getColumnName

public String getColumnName(int column)
Get the name of a specific column.

Parameters: column the columns number.

Returns: the columns name.

getRowCount

public int getRowCount()
Get the number of rows.

Returns: int the number of rows of this table.

getServerName

public String getServerName()
Get the name of the server these POAs are associated with.

Returns: a server name.

getValueAt

public Object getValueAt(int row, int column)
Get the value of a specific table cell.

Parameters: row the cells row. column the cells column.

Returns: Object the cells value.

setPOAs

public void setPOAs(POAInfo[] poas)
Pass in the POAs the POA table should display. Notify the JTable of this event.

Parameters: poas an array containing the POAs to display.