Package org.zkoss.zul

Class Listitem.ExtraCtrl

All Implemented Interfaces:
PrologAllowed, LoadStatus
Enclosing class:
Listitem

protected class Listitem.ExtraCtrl extends HtmlBasedComponent.ExtraCtrl implements LoadStatus
A utility class to implement HtmlBasedComponent.getExtraCtrl(). It is used only by component developers.
  • Constructor Details

    • ExtraCtrl

      protected ExtraCtrl()
  • Method Details

    • isLoaded

      public boolean isLoaded()
      Description copied from interface: LoadStatus
      Returns whether the on-demand-loading item is loaded.
      Specified by:
      isLoaded in interface LoadStatus
      Returns:
      loaded true to set the item as loaded.
    • setLoaded

      public void setLoaded(boolean loaded)
      Description copied from interface: LoadStatus
      Sets whether the on-demand-loading item is loaded.
      Specified by:
      setLoaded in interface LoadStatus
      Parameters:
      loaded - true to set the item as loaded.
    • setIndex

      public void setIndex(int index)
      Description copied from interface: LoadStatus
      Sets the index of the loaded item (so client known row's index).
      Specified by:
      setIndex in interface LoadStatus
      Parameters:
      index - the loaded item