WUI : API


org.westofj.wui.table
Interface WTableModel


public interface WTableModel

Defines the interface for classes that provide table data to a WTable instance.

Version:
$Revision: 1.1 $, $Date: 2003/08/29 10:46:54 $
Author:
bill

Method Summary
 int getColumnCount()
          Returns the number of columns in the table model.
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
          Returns the data at the specified row and column in the table.
 

Method Detail

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Returns the data at the specified row and column in the table.

Parameters:
rowIndex - the index of the row in the table.
columnIndex - the index of the column in the table.
Returns:
Object the data at the specified row and column in the table.

getColumnCount

public int getColumnCount()
Returns the number of columns in the table model.

Returns:
int

getRowCount

public int getRowCount()
Returns:
int returns the number of rows in the table model.

Copyright (c) 2003 West of J - All rights reserved.