java.lang.Object | ||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |
↳ | com.google.gwt.view.client.CellPreviewEvent<T> |
Allows the previewing of events before they are fired to Cells.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CellPreviewEvent.Handler<T> | Handler for CellPreviewEvent . |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
CellPreviewEvent . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fires a cell preview event on all registered handlers in the handler
manager.
| |||||||||||
Returns the type used to register this event.
| |||||||||||
Get the column index of the Cell where the event occurred if the source is
a table.
| |||||||||||
Get the cell
Cell.Context . | |||||||||||
Get the
HasData source of the event. | |||||||||||
Get the index of the value where the event occurred.
| |||||||||||
Get the
NativeEvent to preview. | |||||||||||
Gets the type associated with this event.
| |||||||||||
Get the value where the event occurred.
| |||||||||||
Check if the event has been canceled.
| |||||||||||
Check whether or not the cell where the event occurred is being edited.
| |||||||||||
Check whether or not selection is being handled by the widget or one of its
Cells.
| |||||||||||
Cancel the event and prevent it from firing to the Cell.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should only be called by
HandlerManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.GwtEvent | |||||||||||
From class
java.lang.Object
|
Construct a new CellPreviewEvent
.
nativeEvent | the event to preview |
---|---|
display | the HasData source of the event |
context | the Cell Cell.Context |
value | the value where the event occurred |
isCellEditing | indicates whether or not the cell is being edited |
isSelectionHandled | indicates whether or not selection is handled |
Fires a cell preview event on all registered handlers in the handler manager. If no such handlers exist, this implementation will do nothing. This implementation sets the column to 0.
source | the source of the handlers |
---|---|
nativeEvent | the event to preview |
display | the HasData source of the event |
context | the Cell Cell.Context |
value | the value where the event occurred |
isCellEditing | indicates whether or not the cell is being edited |
isSelectionHandled | indicates whether or not selection is handled |
CellPreviewEvent
that was fired
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.
Get the column index of the Cell where the event occurred if the source is a table. If the source is not a table, the column is always 0.
Get the index of the value where the event occurred.
Gets the type associated with this event.
Get the value where the event occurred.
Check if the event has been canceled.
Check whether or not the cell where the event occurred is being edited.
Check whether or not selection is being handled by the widget or one of its Cells.
Cancel the event and prevent it from firing to the Cell.
cancel | true to cancel the event, false to allow it |
---|
Should only be called by HandlerManager
. In other words, do not use
or call.
handler | handler |
---|