sessionctrl.java
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 62 行
JAVA
62 行
/* SessionCtrl.java{{IS_NOTE Purpose: Description: History: Fri Jun 3 15:08:34 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 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.Desktop;import org.zkoss.zk.ui.ComponentNotFoundException;/** * Additional interface of {@link org.zkoss.zk.ui.Session} for implementation. * <p>Note: applications shall never access this interface. * * @author tomyeh */public interface SessionCtrl { /** Returns the desktop cache, or null if not available. * * <p>Note: this is an utility to implement {@link DesktopCacheProvider}, * which might or might not use this method. Other part of ZK shall not * access this method. */ public DesktopCache getDesktopCache(); /** Sets the desktop cache. * * <p>Note: this is an utility to implement {@link DesktopCacheProvider}, * which might or might not use this method. Other part of ZK shall not * access this method. * * @param cache the desktop cache; null to denote no cache available. */ public void setDesktopCache(DesktopCache cache); /** Called when the session is destroyed. * <p>Application shall never access this method. */ public void onDestroyed(); /** Returns whether this session is invalidated * (i.e., {@link org.zkoss.zk.ui.Session#invalidate} was called). */ public boolean isInvalidated(); /** Really invalidates the session. * <p>Application shall never access this method. */ public void invalidateNow();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?