cropper.java
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 51 行
JAVA
51 行
/* Cropper.java{{IS_NOTE Purpose: Description: History: Tue Aug 22 16:43:40 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;import java.util.Set;/** * Implemented by the object returned by {@link org.zkoss.zk.ui.sys.ComponentCtrl#getExtraCtrl} * if not all of the children of a component are available at the client. * In other word, the component support 'cropping'. * Example: only children of the active page of ZUL's grid are available * at the client, if it is in the paging mold. * * <p>ZK Update Engine detects this interface and then ignores any update to * components that don't have counterpart at the client. * * @author tomyeh */public interface Cropper { /** Returns whether it is a cropper, i.e., cropping is applied. * * <p>If {@link #isCropper} returns false, {@link #getAvailableAtClient} must return null. * In other words, the result of returning false is the same as not declaring * with {@link Cropper}. */ public boolean isCropper(); /** Returns a set of child components that are available at the client, * or null if ALL available. * * <p>Note: for better performance, it is better to return null if * all children are available at the client. */ public Set getAvailableAtClient();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?