Interface ListModelSharer<T>

  • All Known Implementing Classes:
    SimpleListModelSharer

    public interface ListModelSharer<T>
    This interface is created for sharing model to different desktop's component.
    The implementation of this interface should provide built-in Server Push mechanism.

    Available in ZK PE and ZK EE.

    Since:
    3.0.0
    Author:
    Dennis.Chen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.zkoss.zul.ListModel<T> getProxy​(org.zkoss.zk.ui.Desktop desktop)
      Get a proxy which is to be used in listbox or grid of a desktop.
      int getProxyCount()
      Get the count of created proxy.
    • Method Detail

      • getProxy

        org.zkoss.zul.ListModel<T> getProxy​(org.zkoss.zk.ui.Desktop desktop)
        Get a proxy which is to be used in listbox or grid of a desktop.
        Parameters:
        desktop - a desktop
        Returns:
        a ListModel proxy
      • getProxyCount

        int getProxyCount()
        Get the count of created proxy.
        Returns:
        the created proxy count