org.drools.guvnor.client.widgets.decoratedgrid
Class SelectedCellChangeEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<SelectedCellChangeHandler>
      extended by org.drools.guvnor.client.widgets.decoratedgrid.SelectedCellChangeEvent

public class SelectedCellChangeEvent
extends com.google.gwt.event.shared.GwtEvent<SelectedCellChangeHandler>

Represents a change in the selected cell.


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
protected SelectedCellChangeEvent(MergableGridWidget.CellSelectionDetail cellDetails)
          Creates a value change event.
 
Method Summary
protected  void dispatch(SelectedCellChangeHandler handler)
           
static void fire(HasSelectedCellChangeHandlers source, MergableGridWidget.CellSelectionDetail cellDetails)
          Fires a value change event on all registered handlers in the handler manager.
 com.google.gwt.event.shared.GwtEvent.Type<SelectedCellChangeHandler> getAssociatedType()
           
 MergableGridWidget.CellSelectionDetail getCellSelectionDetail()
          Gets the details of the selected cell
static com.google.gwt.event.shared.GwtEvent.Type<SelectedCellChangeHandler> getType()
          Gets the type of Handlers that can handle the event
 String toDebugString()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectedCellChangeEvent

protected SelectedCellChangeEvent(MergableGridWidget.CellSelectionDetail cellDetails)
Creates a value change event.

Parameters:
cellExtents - details of selected cell
Method Detail

fire

public static void fire(HasSelectedCellChangeHandlers source,
                        MergableGridWidget.CellSelectionDetail cellDetails)
Fires a value change event on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.

Parameters:
source - the source of the handlers
cellDetails - details of selected cell

getType

public static com.google.gwt.event.shared.GwtEvent.Type<SelectedCellChangeHandler> getType()
Gets the type of Handlers that can handle the event

Returns:

getAssociatedType

public final com.google.gwt.event.shared.GwtEvent.Type<SelectedCellChangeHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SelectedCellChangeHandler>

getCellSelectionDetail

public MergableGridWidget.CellSelectionDetail getCellSelectionDetail()
Gets the details of the selected cell

Returns:
the details

toDebugString

public String toDebugString()
Overrides:
toDebugString in class com.google.gwt.event.shared.GwtEvent<SelectedCellChangeHandler>

dispatch

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


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.