Examples of NavigationBean


Examples of edu.indiana.dlib.metsnav.data.NavigationBean

        }
        /*
         * page.setAltMessage(navigateObject.getDescription() + ": Page " +
         * currentPageNum + " of " + total);
         */
        NavigationBean bean = new NavigationBean();
        bean.setNavigateObject(navigateObject);
        bean.setCurrentPageItem(page);
        bean.setPageDisplay(page.getDataStream(properties));
        if (currentPageNum > 1) {
            bean.setPreviousPage(printURL(currentPageNum - 1) + properties.print());
        } else {
            bean.setPreviousPage(printURL(currentPageNum) + properties.print());
        }
        if (currentPageNum < total) {
            bean.setNextPage(printURL(currentPageNum + 1) + properties.print());
        } else {
            bean.setNextPage(printURL(total) + properties.print());
        }
        bean.setTotalPages(String.valueOf(total));
        bean.setFirstPage(printURL(1) + properties.print());
        bean.setLastPage(printURL(total) + properties.print());
        bean.setCurrentPageBaseURL(printURL(currentPageNum));
        bean.setDescription(navigateObject.getDescription());
        bean.setParameterMap(properties);
       
        bean.setDataStreamMap(dataSParameterMap);

        log.debug("Finished creating NavigationBean object: collection [" + prefix + "], oid ["
                + oid + "]");
        return bean;
    }
View Full Code Here

Examples of edu.indiana.dlib.metsnav.data.NavigationBean

    /**
     * @return
     */
    public NavigationBean populateScreenBean() {
        NavigationBean screenBean = new NavigationBean();
        return screenBean;
    }
View Full Code Here

Examples of org.onebusaway.phone.actions.search.NavigationBean

  @Override
  public void buildTemplate(ActionContext context) {

    ValueStack vs = context.getValueStack();

    NavigationBean navigation = (NavigationBean) vs.findValue("navigation");
    List<NameBean> names = navigation.getNames();
    int index = navigation.getCurrentIndex();
    if (index < 0)
      index = 0;

    /**
     * We always listen for the key-press for the previous name in case it takes
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.