it.eng.qbe.utility
Class PageNavigatorUtils

java.lang.Object
  extended by it.eng.qbe.utility.PageNavigatorUtils

public class PageNavigatorUtils
extends java.lang.Object

The Class PageNavigatorUtils.

Author:
Andrea Gioia

Constructor Summary
PageNavigatorUtils()
           
 
Method Summary
static int[] getPageWindow(int currentPage, int lastPage, int windowSize)
          Gets the page window.
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageNavigatorUtils

public PageNavigatorUtils()
Method Detail

getPageWindow

public static int[] getPageWindow(int currentPage,
                                  int lastPage,
                                  int windowSize)
Gets the page window.

Parameters:
currentPage - the current page
lastPage - the last page
windowSize - the window size
Returns:
the page window

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments