Class DataLoadingEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataLoadingEvent
    extends Event
    Represent onDataLoading event.
    Since:
    5.0.0
    Author:
    henrichen
    See Also:
    Serialized Form
    • Constructor Detail

      • DataLoadingEvent

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

      • getDataLoadingEvent

        public static final DataLoadingEvent getDataLoadingEvent​(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.