org.zkoss.zul
Class Combobox.ExtraCtrl

java.lang.Object
  extended by org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
      extended by org.zkoss.zul.impl.InputElement.ExtraCtrl
          extended by org.zkoss.zul.Combobox.ExtraCtrl
All Implemented Interfaces:
Errorable, InputableX, Movable, Selectable, Sizable, ZIndexed, ChildChangedAware, PrologAllowed
Enclosing class:
Combobox

protected class Combobox.ExtraCtrl
extends InputElement.ExtraCtrl
implements ChildChangedAware, Selectable

A utility class to implement AbstractComponent.getExtraCtrl(). It is used only by component developers.


Constructor Summary
protected Combobox.ExtraCtrl()
           
 
Method Summary
 void clearSelectionByClient()
          Clears the selection.
 boolean isChildChangedAware()
          Returns whether to send the z.chchg command to the client.
 void selectItemsByClient(java.util.Set selItems)
          Set the selection to a set of specified items.
 
Methods inherited from class org.zkoss.zul.impl.InputElement.ExtraCtrl
setErrorByClient, setTextByClient
 
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
setHeightByClient, setLeftByClient, setPrologContent, setTopByClient, setWidthByClient, setZIndexByClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Combobox.ExtraCtrl

protected Combobox.ExtraCtrl()
Method Detail

isChildChangedAware

public boolean isChildChangedAware()
Description copied from interface: ChildChangedAware
Returns whether to send the z.chchg command to the client.

Specified by:
isChildChangedAware in interface ChildChangedAware

selectItemsByClient

public void selectItemsByClient(java.util.Set selItems)
Description copied from interface: Selectable
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.

Specified by:
selectItemsByClient in interface Selectable

clearSelectionByClient

public void clearSelectionByClient()
Description copied from interface: Selectable
Clears the selection.

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

Specified by:
clearSelectionByClient in interface Selectable


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