Package org.zkoss.zul
Class Listitem.ExtraCtrl
java.lang.Object
org.zkoss.zul.Listitem.ExtraCtrl
- All Implemented Interfaces:
org.zkoss.zk.ui.ext.render.PrologAllowed,LoadStatus
- Enclosing class:
- Listitem
A utility class to implement
HtmlBasedComponent.getExtraCtrl().
It is used only by component developers.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExtraCtrl
protected ExtraCtrl()
-
-
Method Details
-
isLoaded
public boolean isLoaded()Description copied from interface:LoadStatusReturns whether the on-demand-loading item is loaded.- Specified by:
isLoadedin interfaceLoadStatus- Returns:
- loaded true to set the item as loaded.
-
setLoaded
public void setLoaded(boolean loaded) Description copied from interface:LoadStatusSets whether the on-demand-loading item is loaded.- Specified by:
setLoadedin interfaceLoadStatus- Parameters:
loaded- true to set the item as loaded.
-
setIndex
public void setIndex(int index) Description copied from interface:LoadStatusSets the index of the loaded item (so client known row's index).- Specified by:
setIndexin interfaceLoadStatus- Parameters:
index- the loaded item
-