org.zkoss.zk.ui.ext.client
Interface Movable

All Known Subinterfaces:
Maximizable, Minimizable
All Known Implementing Classes:
Audio.ExtraCtrl, Calendar.ExtraCtrl, Checkbox.ExtraCtrl, Combobox.ExtraCtrl, Detail.ExtraCtrl, Fileupload.ExtraCtrl, FileuploadDlg.ExtraCtrl, Fisheyebar.ExtraCtrl, Grid.ExtraCtrl, Group.ExtraCtrl, Groupbox.ExtraCtrl, HtmlBasedComponent.ExtraCtrl, Iframe.ExtraCtrl, Image.ExtraCtrl, InputElement.ExtraCtrl, Jasperreport.ExtraCtrl, LabelImageElement.ExtraCtrl, LayoutRegion.ExtraCtrl, Listbox.ExtraCtrl, Listgroup.ExtraCtrl, Menuitem.ExtraCtrl, Panel.ExtraCtrl, Popup.ExtraCtrl, Portalchildren.ExtraCtrl, Radio.ExtraCtrl, Rows.ExtraCtrl, Slider.ExtraCtrl, Splitter.ExtraCtrl, Tab.ExtraCtrl, Tabbox.ExtraCtrl, Timer.ExtraCtrl, Tree.ExtraCtrl, Treechildren.ExtraCtrl, Treeitem.ExtraCtrl, Window.ExtraCtrl

public interface Movable

Implemented by the object returned by ComponentCtrl.getExtraCtrl(), a component is movable by the client.

Once it is moved by the user, setLeftByClient(java.lang.String) and setTopByClient(java.lang.String) are called and MoveEvent is sent to notify the component.

Author:
tomyeh

Method Summary
 void setLeftByClient(java.lang.String left)
          Sets the left of the component, caused by user's activity at the client.
 void setTopByClient(java.lang.String top)
          Sets the top of the component, caused by user's activity at the client.
 

Method Detail

setLeftByClient

void setLeftByClient(java.lang.String left)
Sets the left of the component, caused by user's activity at the client.

This method is designed to be used by engine. Don't invoke it directly. Otherwise, the client and server might mismatch.


setTopByClient

void setTopByClient(java.lang.String top)
Sets the top of the component, caused by user's activity at the client.

This method is designed to be used by engine. Don't invoke it directly. Otherwise, the client and server might mismatch.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved.