📄 webappctrl.java
字号:
/* WebAppCtrl.java{{IS_NOTE Purpose: Description: History: Tue Apr 18 11:07:30 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.sys.DesktopCache;import org.zkoss.zk.ui.sys.DesktopCacheProvider;import org.zkoss.zk.ui.sys.UiFactory;/** * Additional interface of {@link org.zkoss.zk.ui.WebApp} for implementation. * <p>Note: applications shall never access this interface. * * @author tomyeh */public interface WebAppCtrl { /** Initializes the {@link org.zkoss.zk.ui.WebApp}. */ public void init(UiEngine engine, DesktopCacheProvider provider, UiFactory factory); /** Returns the UI engine for this session. */ public UiEngine getUiEngine(); /** Returns the desktop cache. * A shortcut of {@link #getDesktopCacheProvider}'s * {@link DesktopCacheProvider#getDesktopCache}. */ public DesktopCache getDesktopCache(Session sess); /** Returns the desktop cache provider. */ public DesktopCacheProvider getDesktopCacheProvider(); /** Returns the UI factory. */ public UiFactory getUiFactory(); /** 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);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -