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

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 Sizable

Implemented by the object returned by ComponentCtrl.getExtraCtrl() to indicate a component is sizable by the client.

Once it is re-sized by the user, setWidthByClient(java.lang.String) and setHeightByClient(java.lang.String) is called. Depending on the compoent, SizeEvent is usually sent to notify the component.

Author:
tomyeh

Method Summary
 void setHeightByClient(java.lang.String height)
          Sets the height of the component, caused by user's activity at the client.
 void setWidthByClient(java.lang.String width)
          Sets the width of the component, caused by user's activity at the client.
 

Method Detail

setWidthByClient

void setWidthByClient(java.lang.String width)
Sets the width 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.


setHeightByClient

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

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



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo