com.bitmechanic.listlib
Class ListContainer

java.lang.Object
  |
  +--com.bitmechanic.listlib.ListContainer

public class ListContainer
extends java.lang.Object

Object that stores information about a given list to iterate through. Your implementation of ListCreator will return one of these. You only need to set the Iterator and Size properties -- the taglib will set the other properties for you.

Version:
$Id: ListContainer.java,v 1.1 2002/03/29 22:08:59 pixel Exp $

Constructor Summary
ListContainer(java.util.Iterator iter, int size)
          Constructor called by an implementation of ListCreator to create a new ListContainer.
 
Method Summary
 int getEnd()
           
 java.util.Iterator getIterator()
           
 int getMax()
           
 int getSize()
           
 int getStart()
           
 boolean hasNext()
           
 boolean hasPrev()
           
 void setIterator(java.util.Iterator iter)
           
 void setMax(int max)
           
 void setOffset(int offset)
           
 void setSize(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListContainer

public ListContainer(java.util.Iterator iter,
                     int size)
Constructor called by an implementation of ListCreator to create a new ListContainer. You don't need to set any other properties on the object.
Method Detail

setIterator

public void setIterator(java.util.Iterator iter)

getIterator

public java.util.Iterator getIterator()

setSize

public void setSize(int size)

getSize

public int getSize()

setMax

public void setMax(int max)

getMax

public int getMax()

getStart

public int getStart()

getEnd

public int getEnd()

setOffset

public void setOffset(int offset)

hasNext

public boolean hasNext()

hasPrev

public boolean hasPrev()