Package org.cyclop.web.components.iterablegrid

Examples of org.cyclop.web.components.iterablegrid.IterableGridView


  public boolean isEnabled() {

    // goto-last-page for IterableGridView can be only enabled if all
    // elements has been read from iterator
    if (pageNumber == -1 && pageable instanceof IterableGridView) {
      IterableGridView iterableGridView = (IterableGridView) pageable;
      if (iterableGridView.hasMoreData()) {
        return false;
      }
    }
    return super.isEnabled();
  }
View Full Code Here


  }

  @Override
  protected boolean isLinkEnabled() {
    if (pageable instanceof IterableGridView) {
      IterableGridView iterableGridView = (IterableGridView) pageable;
      if (iterableGridView.hasMoreData()) {
        return false;
      }
    }

    return super.isLinkEnabled();
View Full Code Here

TOP

Related Classes of org.cyclop.web.components.iterablegrid.IterableGridView

Copyright © 2018 www.massapicom. 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.