Class DataLoadingEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zul.event.DataLoadingEvent
All Implemented Interfaces:
Serializable

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

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

    Modifier and Type
    Method
    Description
    static final DataLoadingEvent
    getDataLoadingEvent(org.zkoss.zk.au.AuRequest request, int preload)
    Converts an AU request to a data loading event.
    int
    Returns the limit of the data chunk to be loaded.
    int
    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 Details

    • DataLoadingEvent

      public DataLoadingEvent(String name, org.zkoss.zk.ui.Component comp, int offset, int limit)
  • Method Details

    • 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.