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

All Known Implementing Classes:
Detail.ExtraCtrl, FileuploadDlg.ExtraCtrl, Group.ExtraCtrl, Groupbox.ExtraCtrl, LayoutRegion.ExtraCtrl, Listgroup.ExtraCtrl, Panel.ExtraCtrl, Popup.ExtraCtrl, Splitter.ExtraCtrl, Treeitem.ExtraCtrl, Window.ExtraCtrl

public interface Openable

Implemented by the object returned by ComponentCtrl.getExtraCtrl(), if a component allows users to change its open status from the client.

OpenEvent will be sent wih name as "onOpen" after setOpenByClient(boolean) is called to notify application developers that it is called by user (rather than by codes).

Author:
tomyeh
See Also:
OpenEvent

Method Summary
 void setOpenByClient(boolean open)
          Sets the open state caused by client's operation.
 

Method Detail

setOpenByClient

void setOpenByClient(boolean open)
Sets the open state caused by client's operation.

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. SourceForge.net Logo