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

📄 multibranch.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* MultiBranch.java{{IS_NOTE	Purpose:			Description:			History:		Tue Oct 17 14:02:55     2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT*/package org.zkoss.zk.ui.ext.render;import org.zkoss.zk.ui.Component;/** * Implemented by the object returned by {@link org.zkoss.zk.ui.sys.ComponentCtrl#getExtraCtrl} * to denote a component might have several branches of elements at the client. * Then, ZK will call {@link #inDifferentBranch} to see whether a child * is NOT on the main branch. *  * @author tomyeh */public interface MultiBranch {	/** Whether the specified child is placed in different branch	 * of the DOM tree (other than the main one).	 * For example, you might put caption at a branch	 * and the rest at another branch. Then, you shall return false	 * for the caption. Thus, ZK knows how to render them correctly.	 *	 * <p>Note: for components, say caption, in different branch,	 * you have to invalidate the parent when they are added or removed.	 * Only children causing this method to return true are handled	 * by ZK Update Engine.	 */	public boolean inDifferentBranch(Component child);}

⌨️ 快捷键说明

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