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
protected class Listitem.ExtraCtrl extends java.lang.Object implements LoadStatus
A utility class to implementHtmlBasedComponent.getExtraCtrl(). It is used only by component developers.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExtraCtrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLoaded()Returns whether the on-demand-loading item is loaded.voidsetIndex(int index)Sets the index of the loaded item (so client known row's index).voidsetLoaded(boolean loaded)Sets whether the on-demand-loading item is loaded.
-
-
-
Method Detail
-
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
-
-