org.extremecomponents.table.model
Class PageHandler

java.lang.Object
  extended byorg.extremecomponents.table.model.PageHandler

public class PageHandler
extends java.lang.Object

Keep track of the page information

Author:
Jeff Johnston

Field Summary
static java.lang.String FIRST
           
static java.lang.String FIRST_PAGE
           
static java.lang.String LAST
           
static java.lang.String LAST_PAGE
           
static java.lang.String NEXT
           
static java.lang.String NEXT_PAGE
           
static java.lang.String PREV
           
static java.lang.String PREV_PAGE
           
 
Constructor Summary
PageHandler(TableModel model)
           
 
Method Summary
 java.lang.String buildPaginationCell(TableModel model, java.lang.String name, int page, boolean selected)
           
 java.util.List getPagination(TableModel model)
          Build up the pagination cells.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST

public static final java.lang.String FIRST
See Also:
Constant Field Values

LAST

public static final java.lang.String LAST
See Also:
Constant Field Values

PREV

public static final java.lang.String PREV
See Also:
Constant Field Values

NEXT

public static final java.lang.String NEXT
See Also:
Constant Field Values

LAST_PAGE

public static final java.lang.String LAST_PAGE
See Also:
Constant Field Values

FIRST_PAGE

public static final java.lang.String FIRST_PAGE
See Also:
Constant Field Values

PREV_PAGE

public static final java.lang.String PREV_PAGE
See Also:
Constant Field Values

NEXT_PAGE

public static final java.lang.String NEXT_PAGE
See Also:
Constant Field Values
Constructor Detail

PageHandler

public PageHandler(TableModel model)
Method Detail

getPagination

public java.util.List getPagination(TableModel model)
Build up the pagination cells.


buildPaginationCell

public java.lang.String buildPaginationCell(TableModel model,
                                            java.lang.String name,
                                            int page,
                                            boolean selected)


Copyright © 2004 sourceforge. All Rights Reserved.