com.sun.xml.registry.client.browser
Class RegistryObjectsTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bycom.sun.xml.registry.client.browser.RegistryObjectsTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class RegistryObjectsTableModel
extends javax.swing.table.AbstractTableModel

A JTable that lists

Author:
Jim Glennon, Farrukh S. Najmi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
RegistryObjectsTableModel()
          Default Constructor
 
Method Summary
 java.lang.Class getColumnClass(int column)
          Gets the Class for specified column based upon dynamic configuration.
 int getColumnCount()
          Get the number of columns in model
 java.lang.String getColumnName(int col)
          Method Declaration.
 int getColumnWidth(int col)
          Get the width of column as a % of the viewport width
 int getRowCount()
          Gets the number of rows in the table model.
 java.lang.Object getValueAt(int row, int col)
          Get value at specified cell in table.
 boolean isCellEditable(int row, int col)
           
 
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
 

Constructor Detail

RegistryObjectsTableModel

public RegistryObjectsTableModel()
Default Constructor

Method Detail

getColumnCount

public int getColumnCount()
Get the number of columns in model

Returns:
number of columns
See Also:

getColumnWidth

public int getColumnWidth(int col)
Get the width of column as a % of the viewport width

Returns:
string representation of column

getRowCount

public int getRowCount()
Gets the number of rows in the table model.


getColumnClass

public java.lang.Class getColumnClass(int column)
Gets the Class for specified column based upon dynamic configuration.


isCellEditable

public boolean isCellEditable(int row,
                              int col)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Get value at specified cell in table.

Parameters:
row - the row for cell
col - the column for cell
Returns:
value for cell

getColumnName

public java.lang.String getColumnName(int col)
Method Declaration.

Parameters:
col -
Returns:
See Also:


Copyright © 2001-2004 OASIS. All Rights Reserved.