|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.html.ItemNavigator
public class ItemNavigator
ItemNavigation provides a way to navigate between items
| Constructor Summary | |
|---|---|
ItemNavigator(List<String> listItems,
int nCurrentItemId,
String strBaseUrl,
String strParameterName)
Create a new instance of ItemNavigator |
|
| Method Summary | |
|---|---|
int |
getCurrentItemId()
Get the current item map key |
int |
getListItemSize()
Get the size of the item list |
String |
getNextPageLink()
Get the next page link of the item |
String |
getPreviousPageLink()
Get the previous page link of the item |
void |
setCurrentItemId(String strItem)
Set the current item id given the content of the item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemNavigator(List<String> listItems,
int nCurrentItemId,
String strBaseUrl,
String strParameterName)
listItems - the list of itemnCurrentItemId - The current map keystrBaseUrl - The base urlstrParameterName - The parameter name| Method Detail |
|---|
public void setCurrentItemId(String strItem)
strItem - the itempublic String getPreviousPageLink()
public String getNextPageLink()
public int getListItemSize()
public int getCurrentItemId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||