Home » displaytag-1.1.1-src » org » displaytag » sample » [javadoc | source]
org.displaytag.sample
public class: TestList [javadoc | source]
java.lang.Object
   java.util.AbstractCollection
      java.util.AbstractList
         java.util.ArrayList
            org.displaytag.sample.TestList

All Implemented Interfaces:
    List, Serializable, RandomAccess, Cloneable, Collection

Just a utility class for testing out the table and column tags. When this class is created, it loads itself with a number of ListObjects that are shown throughout the various example pages that exercise the table object. If created via the default constructor, this loads itself with 60 ListObjects.
Constructor:
 public TestList() 
 public TestList(int size,
    boolean duplicates) 
Method from org.displaytag.sample.TestList Summary:
getItem
Methods from java.util.ArrayList:
add,   add,   addAll,   addAll,   clear,   clone,   contains,   ensureCapacity,   get,   indexOf,   isEmpty,   lastIndexOf,   remove,   remove,   set,   size,   toArray,   toArray,   trimToSize
Methods from java.util.AbstractList:
add,   add,   addAll,   clear,   equals,   get,   hashCode,   indexOf,   iterator,   lastIndexOf,   listIterator,   listIterator,   remove,   set,   subList
Methods from java.util.AbstractCollection:
add,   addAll,   clear,   contains,   containsAll,   isEmpty,   iterator,   remove,   removeAll,   retainAll,   size,   toArray,   toArray,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.sample.TestList Detail:
 public ListObject getItem(int index) 
    Returns a ListObject using get(index) from the Array.