📄 cropper.java
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -