sizable.java

来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 48 行

JAVA
48
字号
/* Sizable.java{{IS_NOTE	Purpose:			Description:			History:		Thu Dec  7 11:16:06     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.client;/** * Implemented by the object returned by {@link org.zkoss.zk.ui.sys.ComponentCtrl#getExtraCtrl} * to indicate a component is sizable by the client. * * <p>Once it is re-sized by the user, {@link #setWidthByClient} and * {@link #setHeightByClient} is called. * Depending on the compoent, {@link org.zkoss.zk.ui.event.SizeEvent} is * usually sent to notify the component. *  * @author tomyeh */public interface Sizable {	/** Sets the width of the component, caused by user's activity at	 * the client.	 * <p>This method is designed to be used by engine.	 * Don't invoke it directly. Otherwise, the client and server	 * might mismatch.	 */	public void setWidthByClient(String width);	/** Sets the height of the component, caused by user's activity at	 * the client.	 * <p>This method is designed to be used by ZK update engine.	 * Don't invoke it directly. Otherwise, the client and server	 * might mismatch.	 */	public void setHeightByClient(String height);}

⌨️ 快捷键说明

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