org.zkoss.zul.event
Class DataLoadingEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by 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
DataLoadingEvent(java.lang.String name, Component comp, int offset, int limit)
           
 
Method Summary
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
 
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,
                        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.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo