VLab Common 1.2

pl.psnc.vlab.util.gui.table.model.info
Interface ITableModelInfo<T,V>

Type Parameters:
T - definition of row value data type
V - definition of the model data result set
All Known Implementing Classes:
EventLogTableModel

public interface ITableModelInfo<T,V>

ITableModelInfo interface is used by AbstractTableModel classes to provide general information about model JTable component.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Method Summary
 V getModelData()
          Get model data for the given Table Model
 int getRowCount()
          Get number of rows in the current table model
 T getRowValue(int row)
          Get value of the given model at specified row
 

Method Detail

getModelData

V getModelData()
Get model data for the given Table Model

Returns:
model data for the given Table Model

getRowValue

T getRowValue(int row)
Get value of the given model at specified row

Parameters:
row - row index
Returns:
value of the given model at specified row

getRowCount

int getRowCount()
Get number of rows in the current table model

Returns:
number of rows in the current table model

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.