org.zkoss.zul
Class Grid.ExtraCtrl

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

protected class Grid.ExtraCtrl
extends HtmlBasedComponent.ExtraCtrl
implements InnerWidth, RenderOnDemand, ChildChangedAware

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


Constructor Summary
protected Grid.ExtraCtrl()
           
 
Method Summary
 boolean isChildChangedAware()
          Returns whether to send the z.chchg command to the client.
 void renderItems(java.util.Set items)
          Renders a set of specified items, if they are not rendered before.
 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

Grid.ExtraCtrl

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

renderItems

public void renderItems(java.util.Set items)
Description copied from interface: RenderOnDemand
Renders a set of specified items, if they are not rendered before. If an item was rendered before, nothing is changed.

Specified by:
renderItems in interface RenderOnDemand


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