Class DataLoadingEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataLoadingEvent
    extends org.zkoss.zk.ui.event.Event
    Represent onDataLoading event.
    Since:
    5.0.0
    Author:
    henrichen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataLoadingEvent​(java.lang.String name, org.zkoss.zk.ui.Component comp, int offset, int limit)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static DataLoadingEvent getDataLoadingEvent​(org.zkoss.zk.au.AuRequest request, int preload)
      Converts an AU request to a data loading event.
      int getLimit()
      Returns the limit of the data chunk to be loaded.
      int getOffset()
      Returns the offset of the data chunk to be loaded.
      • Methods inherited from class org.zkoss.zk.ui.event.Event

        getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataLoadingEvent

        public DataLoadingEvent​(java.lang.String name,
                                org.zkoss.zk.ui.Component comp,
                                int offset,
                                int limit)
    • Method Detail

      • getDataLoadingEvent

        public static final DataLoadingEvent getDataLoadingEvent​(org.zkoss.zk.au.AuRequest request,
                                                                 int preload)
        Converts an AU request to a data loading event.
      • getOffset

        public int getOffset()
        Returns the offset of the data chunk to be loaded.
        Returns:
        the offset of the data chunk to be loaded.
      • getLimit

        public int getLimit()
        Returns the limit of the data chunk to be loaded.
        Returns:
        the limit of the data chunk to be loaded.