📄 movable.java
字号:
/* Movable.java{{IS_NOTE Purpose: Description: History: Fri Aug 12 08:44:39 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 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}, * a component is movable by the client. * * <p>Once it is moved by the user, {@link #setLeftByClient} and * {@link #setTopByClient} * are called and {@link org.zkoss.zk.ui.event.MoveEvent} is sent to notify the component. * * @author tomyeh */public interface Movable { /** Sets the left 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 setLeftByClient(String left); /** Sets the top 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 setTopByClient(String top);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -