org.zkoss.zul
Class Tree.ExtraCtrl

java.lang.Object
  extended by org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
      extended by org.zkoss.zul.Tree.ExtraCtrl
All Implemented Interfaces:
InnerWidth, Movable, Selectable, Sizable, ZIndexed, ChildChangedAware, PrologAllowed
Enclosing class:
Tree

protected class Tree.ExtraCtrl
extends HtmlBasedComponent.ExtraCtrl
implements InnerWidth, Selectable, ChildChangedAware

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


Constructor Summary
protected Tree.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.
 void setInnerWidthByClient(java.lang.String width)
          Sets the inner width of the component, caused by user's activity at the client.
 
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

Tree.ExtraCtrl

protected Tree.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

setInnerWidthByClient

public void setInnerWidthByClient(java.lang.String width)
Description copied from interface: InnerWidth
Sets the inner width 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.

Specified by:
setInnerWidthByClient in interface InnerWidth

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.