org.cruxframework.crux.widgets.client.event.row
Class BeforeShowRowDetailsEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<BeforeShowRowDetailsHandler>
          extended by org.cruxframework.crux.widgets.client.event.row.BeforeShowRowDetailsEvent

public class BeforeShowRowDetailsEvent
extends com.google.gwt.event.shared.GwtEvent<BeforeShowRowDetailsHandler>

Event fired right before the details of some grid's row gets shown

Author:
Gesse S. F. Dafe

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
BeforeShowRowDetailsEvent(HasBeforeShowDetailsHandlers source, DataRow row)
           
 
Method Summary
 void cancel()
          Cancels the event
protected  void dispatch(BeforeShowRowDetailsHandler handler)
           
static BeforeShowRowDetailsEvent fire(HasBeforeShowDetailsHandlers source, DataRow row)
           
 com.google.gwt.event.shared.GwtEvent.Type<BeforeShowRowDetailsHandler> getAssociatedType()
           
 DataRow getRow()
           
 HasBeforeShowDetailsHandlers getSource()
           
static com.google.gwt.event.shared.GwtEvent.Type<BeforeShowRowDetailsHandler> getType()
           
 boolean isCanceled()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, 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

BeforeShowRowDetailsEvent

public BeforeShowRowDetailsEvent(HasBeforeShowDetailsHandlers source,
                                 DataRow row)
Method Detail

getSource

public HasBeforeShowDetailsHandlers getSource()
Overrides:
getSource in class com.google.gwt.event.shared.GwtEvent<BeforeShowRowDetailsHandler>

getType

public static com.google.gwt.event.shared.GwtEvent.Type<BeforeShowRowDetailsHandler> getType()

dispatch

protected void dispatch(BeforeShowRowDetailsHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<BeforeShowRowDetailsHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<BeforeShowRowDetailsHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<BeforeShowRowDetailsHandler>

fire

public static BeforeShowRowDetailsEvent fire(HasBeforeShowDetailsHandlers source,
                                             DataRow row)

getRow

public DataRow getRow()
Returns:
The grid's row which holds the details

isCanceled

public boolean isCanceled()
Returns:
true if the event was canceled

cancel

public void cancel()
Cancels the event



Copyright © 2015. All rights reserved.