Log4j 0.9d

pl.psnc.expres.wfm.gui.model.table
Class CustomListTableModel<E>

java.lang.Object
  extended by AbstractCustomTableModel
      extended by pl.psnc.expres.wfm.gui.model.table.CustomListTableModel<E>
Type Parameters:
E - type of the model data

public class CustomListTableModel<E>
extends AbstractCustomTableModel

CustomListTableModel class

Author:
Dominik Stoklosa (~osa~)

Constructor Summary
CustomListTableModel(List<E> data, ModelProperties modelProperties)
          Creates a new instance of FrequencyTableModel
 
Method Summary
 List<E> getModelData()
           
 int getRowCount()
           
 E getRowValue(int row)
          Get QuantityStockWrapper object for the given row
 Object getValueAt(int row, int col)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomListTableModel

public CustomListTableModel(List<E> data,
                            ModelProperties modelProperties)
Creates a new instance of FrequencyTableModel

Parameters:
data - model data
modelProperties - instance of ModelProperties, defines the behaviour and properties of the table model
Method Detail

getModelData

public List<E> getModelData()

getRowValue

public E getRowValue(int row)
Get QuantityStockWrapper object for the given row

Parameters:
row - row number
Returns:
QuantityStockWrapper which represents given row

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int row,
                         int col)

Log4j 0.9d

Copyright 2003 by VLAB Dominik Stoklosa.