KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > navi > PageInfo


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.olap.navi;
14
15 /**
16  * Describes a page
17  *
18  * @author av
19  */

20 public interface PageInfo {
21
22   /**
23    * 0-based index of page page
24    */

25   int getPageIndex();
26
27   /**
28    * 1-based number of page page
29    */

30   int getPageNo();
31   
32   /**
33    * number of available pages
34    */

35   int getPageCount();
36   
37   /**
38    * short description of the first Item
39    */

40   String JavaDoc getFirstShort();
41   
42   /**
43    * long description of the first Item
44    */

45   String JavaDoc getFirstLong();
46   
47   /**
48    * short description of the last Item
49    */

50   String JavaDoc getLastShort();
51   
52   /**
53    * long description of the last Item
54    */

55   String JavaDoc getLastLong();
56 }
57
Popular Tags