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

All Known Implementing Classes:
Combobox.ExtraCtrl, Listbox.ExtraCtrl, Tab.ExtraCtrl, Tree.ExtraCtrl

public interface Selectable

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

SelectEvent will be sent after selectItemsByClient(java.util.Set) is called to notify application developers that it is called by user (rather than by codes).

Author:
tomyeh
See Also:
SelectEvent

Method Summary
 void clearSelectionByClient()
          Clears the selection.
 void selectItemsByClient(java.util.Set selectedItems)
          Set the selection to a set of specified items.
 

Method Detail

selectItemsByClient

void selectItemsByClient(java.util.Set selectedItems)
Set the selection to a set of specified items.

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


clearSelectionByClient

void clearSelectionByClient()
Clears the selection.

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

Since:
3.6.0


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