com.sage.swt.client.widget.celltable.event
Class RowDataRequestEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<RowDataRequestHandler>
          extended by com.sage.swt.client.widget.celltable.event.RowDataRequestEvent

public class RowDataRequestEvent
extends com.google.gwt.event.shared.GwtEvent<RowDataRequestHandler>

Logical event fired when data request has been responded.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
RowDataRequestEvent(RowDataRequest request, java.util.List<RowData> rows, boolean dataRequestSucceed)
          Construct a new RowDataRequestEvent.
 
Method Summary
protected  void dispatch(RowDataRequestHandler handler)
          
 com.google.gwt.event.shared.GwtEvent.Type<RowDataRequestHandler> getAssociatedType()
          
 boolean getDataRequestSucceed()
          Check of the data request call is succeed
 RowDataRequest getRequest()
          Get the request
 java.util.List<RowData> getRows()
          get the rows
static com.google.gwt.event.shared.GwtEvent.Type<RowDataRequestHandler> getType()
          Get the event type
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowDataRequestEvent

public RowDataRequestEvent(RowDataRequest request,
                           java.util.List<RowData> rows,
                           boolean dataRequestSucceed)
Construct a new RowDataRequestEvent.

Parameters:
request - row data request
rows - list of rows
dataRequestSucceed - whether the data request is succeed
Method Detail

getType

public static com.google.gwt.event.shared.GwtEvent.Type<RowDataRequestHandler> getType()
Get the event type

Returns:
event type

getRows

public java.util.List<RowData> getRows()
get the rows

Returns:
list of row data

getRequest

public RowDataRequest getRequest()
Get the request

Returns:
request

getDataRequestSucceed

public boolean getDataRequestSucceed()
Check of the data request call is succeed

Returns:
true: data request call is succeed

dispatch

protected void dispatch(RowDataRequestHandler handler)

Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<RowDataRequestHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<RowDataRequestHandler> getAssociatedType()

Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<RowDataRequestHandler>


Copyright © 2011 Sage Software, Inc. All rights reserved.