Package org.zkoss.zul.ext

Examples of org.zkoss.zul.ext.Pageable


   */
  public static final PagingEvent getPagingEvent(AuRequest request) {
    final Component comp = request.getComponent();
    final Map data = request.getData();
    int pgi = AuRequests.getInt(data, "", 0);
    final Pageable pageable = (Pageable)comp;
    if (pgi < 0) pgi = 0;
    else {
      final int pgcnt = pageable.getPageCount();
      if (pgi >= pgcnt) {
        pgi = pgcnt - 1;
        if (pgi < 0) pgi = 0;
      }
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.ext.Pageable

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.