org.nakedobjects.plugins.dnd.viewer.basic
Interface CollectionDisplayIterator


public interface CollectionDisplayIterator


Method Summary
 java.util.Enumeration displayElements()
          Return cache to be viewed on current page
 void first()
          Position cursor at first element
 int getDisplaySize()
           
 boolean hasNext()
          If true there is a next page to display, and 'next' and 'last' options are valid
 boolean hasPrevious()
           
 void last()
          Position cursor at last
 void next()
          Position cursor at beginning of next page
 int position()
           
 void previous()
          Position cursor at beginning of previous page
 

Method Detail

displayElements

java.util.Enumeration displayElements()
Return cache to be viewed on current page


first

void first()
Position cursor at first element


getDisplaySize

int getDisplaySize()

hasNext

boolean hasNext()
If true there is a next page to display, and 'next' and 'last' options are valid


hasPrevious

boolean hasPrevious()

last

void last()
Position cursor at last


next

void next()
Position cursor at beginning of next page


position

int position()

previous

void previous()
Position cursor at beginning of previous page



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.