zidrequired.java

来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 46 行

JAVA
46
字号
/* ZidRequired.java{{IS_NOTE	Purpose:			Description:			History:		Fri Oct 13 15:47:20     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.ext.render;/** * Implemented by the object returned by {@link org.zkoss.zk.ui.sys.ComponentCtrl#getExtraCtrl} * if the component might be accessible at the client with * {@link org.zkoss.zk.ui.Component#getId}. * * <p>In other words, the client engine will handle extra info related to * {@link org.zkoss.zk.ui.IdSpace} when this interface is declared and * {@link #isZidRequired} returns true. * * <p>Most components don't need to implement this interface for the object * returned by {@link org.zkoss.zk.ui.sys.ComponentCtrl#getExtraCtrl}. * * <p>Note: if a component is NOT derived from {@link org.zkoss.zk.ui.HtmlBasedComponent}, * it has to detect this interface and generate z.zid if {@link #isZidRequired} * return true. * * @author tomyeh */public interface ZidRequired {	/** Returns whether the component that owns this object	 * can be accessible at the client with	 * {@link org.zkoss.zk.ui.Component#getId}.	 */	public boolean isZidRequired();}

⌨️ 快捷键说明

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