| java.lang.Object ru.emdev.EmForge.web.bean.TrailController
TrailController | public class TrailController (Code) | | Trail Controller This class is implemented by storing a breadcrumb trail,
which is a fixed size queue. This queue is displayed as a series of links
separated by a separator character.
author: spopov |
MAX_TRAIL_SIZE | final public static int MAX_TRAIL_SIZE(Code) | | |
logger | final protected Log logger(Code) | | |
TrailController | public TrailController()(Code) | | |
backToPreviousUrl | public void backToPreviousUrl()(Code) | | |
getCurrentUrl | public String getCurrentUrl()(Code) | | Returns URL currently placed on the top of stack
|
getIndexOfInHead | protected int getIndexOfInHead(Crumb i_crumb)(Code) | | gets index of object
-1 if not exists |
getIndexOfInTail | protected int getIndexOfInTail(Crumb i_crumb)(Code) | | gets index of object
-1 if not exists |
push | public void push(String i_displayName, String i_url)(Code) | | push "crumb" to trail list
Parameters: i_requestServletPath - Parameters: i_pageName - Parameters: i_displayName - if null it equals i_pageName |
removeTailToRecycle | protected void removeTailToRecycle(int i_indexFrom)(Code) | | moves the elements of trail from i_index to last element, exclusive
Parameters: i_index - |
restoreTailFromRecycle | protected void restoreTailFromRecycle(int i_indexTo)(Code) | | restores tail from recycle
Parameters: i_toIndex - index of the elements to resotered |
|
|