com.tirsen.angkor.table
Class AbstractTableDataAccess

java.lang.Object
  |
  +--com.tirsen.angkor.table.AbstractTableDataAccess
All Implemented Interfaces:
TableDataAccess

public abstract class AbstractTableDataAccess
extends java.lang.Object
implements TableDataAccess

Version:
$Revision: 1.3 $
Author:
Jon Tirs´n (tirsen@users.sourceforge.net)

Field Summary
protected  int rangeEnd
           
protected  int rangeStart
           
 
Constructor Summary
AbstractTableDataAccess()
           
 
Method Summary
 int getRowCount()
          Must be called after initial call to TableDataAccess.load(com.tirsen.angkor.table.TableModel).
 void setRange(int from, int to)
           
protected  void setRowCount(int count)
          Should be called from the implementation of TableDataAccess.load(com.tirsen.angkor.table.TableModel) when the actual number of rows are initially known.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tirsen.angkor.table.TableDataAccess
create, load
 

Field Detail

rangeStart

protected int rangeStart

rangeEnd

protected int rangeEnd
Constructor Detail

AbstractTableDataAccess

public AbstractTableDataAccess()
Method Detail

setRowCount

protected void setRowCount(int count)
Should be called from the implementation of TableDataAccess.load(com.tirsen.angkor.table.TableModel) when the actual number of rows are initially known.


getRowCount

public int getRowCount()
Description copied from interface: TableDataAccess
Must be called after initial call to TableDataAccess.load(com.tirsen.angkor.table.TableModel).

Specified by:
getRowCount in interface TableDataAccess

setRange

public void setRange(int from,
                     int to)
Specified by:
setRange in interface TableDataAccess


Copyright © 2002-2002 . All Rights Reserved.