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

📄 desktopcache.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* DesktopCache.java{{IS_NOTE	Purpose:			Description:			History:		Tue Apr 18 10:38:22     2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 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.zk.ui.sys;import org.zkoss.zk.ui.Session;import org.zkoss.zk.ui.Desktop;/** * The cache used to store desktops. * * @author tomyeh */public interface DesktopCache {	/** Returns the next available ID which is unique in the whole cache.	 *	 * <p>{@link Desktop} uses this method to generate ID automatically.	 */	public int getNextId();	/** Returns the desktop for the specified desktop ID.	 * @exception ComponentNotFoundException is thrown if the desktop	 * is not found	 */	public Desktop getDesktop(String desktopId);	/** Returns the desktop for the specified desktop ID, or null if not found.	 */	public Desktop getDesktopIfAny(String desktopId);	/** Adds a desktop to this session.	 * It must be called when a desktop is created.	 * <p>Application shall never access this method.	 */	public void addDesktop(Desktop desktop);	/** Removes a desktop from this session.	 * It must be called when a desktop is remove.	 * <p>Application shall never access this method.	 */	public void removeDesktop(Desktop desktop);	/** Notification that the session is about to be passivated	 * (aka., serialized).	 */	public void sessionWillPassivate(Session sess);	/** Notification that the session has just been activated	 * (aka., deserialized).	 */	public void sessionDidActivate(Session sess);	/** Called when to stop and cleanup this cache.	 * Once stopped, the caller shall not access it any more.	 * It cannot be called other than the implementation of	 * {@link DesktopCacheProvider}.	 */	public void stop();}

⌨️ 快捷键说明

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