⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pageable.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* Pageable.java{{IS_NOTE	Purpose:			Description:			History:		Fri Jun 29 17:17:01     2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zul.ext;import org.zkoss.zk.ui.WrongValueException;/** * Denotes a component that can be displayed in multiple pages. * * <p>Note: a component that can be displayed in multiple pages * can be implemented in two ways. * * <p>1) If it can be controlled by a paging controller * (i.e., {@link Paginal}), it shall hold an reference to one of * the paging controllers. * * <p>2) If it cannot be controlled, it shall implement * the {@link Pageable} interface. * * @author tomyeh * @since 2.4.1 * @see Paginal */public interface Pageable {	/** Returns the number of items per page.	 * <p>Default: 20.	 */	public int getPageSize();	/** Sets the number of items per page.	 */	public void setPageSize(int size) throws WrongValueException;	/** Returns the number of pages.	 * Note: there is at least one page even no item at all.	 */	public int getPageCount();	/** Returns the active page (starting from 0).	 */	public int getActivePage();	/** Sets the active page (starting from 0).	 */	public void setActivePage(int pg) throws WrongValueException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -