Package org.zkoss.zul.event
Class DataLoadingEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zul.event.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 Summary
Constructors Constructor Description DataLoadingEvent(java.lang.String name, Component comp, int offset, int limit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataLoadingEvent
getDataLoadingEvent(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
-
-
-
-
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.
-
-