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

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

public class ClickableCellClickEvent
extends com.google.gwt.event.shared.GwtEvent<ClickableCellClickHandler>

Logical event fired After the cell is clicked.


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
ClickableCellClickEvent(java.lang.Integer rowIndex, java.lang.Integer columnIndex)
          Constructor.
 
Method Summary
protected  void dispatch(ClickableCellClickHandler handler)
          
 com.google.gwt.event.shared.GwtEvent.Type<ClickableCellClickHandler> getAssociatedType()
          
 java.lang.Boolean getCancelEditing()
          Gets weather or not the cell editing is cancelled
 java.lang.Integer getColumnIndex()
          Gets the columnIndex of the cell.
 java.lang.Boolean getReadOnly()
          Gets weather or not the cell editor is read only editor
 java.lang.Integer getRowIndex()
          Gets the rowIndex of the cell.
static com.google.gwt.event.shared.GwtEvent.Type<ClickableCellClickHandler> getType()
          Get the event type
 void setCancelEditing(boolean cancelEditing)
          Sets weather or not to cancel the cell editing
 void setReadOnly(boolean readOnly)
          Sets weather or not the cell editor is read only
 
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

ClickableCellClickEvent

public ClickableCellClickEvent(java.lang.Integer rowIndex,
                               java.lang.Integer columnIndex)
Constructor.

Parameters:
rowIndex - the rowIndex of the cell
columnIndex - the column index
Method Detail

getType

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

Returns:
event type

getRowIndex

public java.lang.Integer getRowIndex()
Gets the rowIndex of the cell.

Returns:
the rowIndex of the cell

getColumnIndex

public java.lang.Integer getColumnIndex()
Gets the columnIndex of the cell.

Returns:
the columnIndex of the cell

setCancelEditing

public void setCancelEditing(boolean cancelEditing)
Sets weather or not to cancel the cell editing

Parameters:
cancelEditing - the true, if the cell editing will be cancelled

getCancelEditing

public java.lang.Boolean getCancelEditing()
Gets weather or not the cell editing is cancelled

Returns:
the true, if the cell editing is cancelled

setReadOnly

public void setReadOnly(boolean readOnly)
Sets weather or not the cell editor is read only

Parameters:
readOnly - the true, set cell editor state as read only

getReadOnly

public java.lang.Boolean getReadOnly()
Gets weather or not the cell editor is read only editor

Returns:
the true, if the cell editor is read only editor

dispatch

protected void dispatch(ClickableCellClickHandler handler)

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

getAssociatedType

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

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


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