public abstract class AbstractEventCell<C> extends AbstractCell<C>
Cell.Context
Constructor and Description |
---|
AbstractEventCell(Set<String> consumedEvents) |
AbstractEventCell(String... consumedEvents) |
Modifier and Type | Method and Description |
---|---|
<H extends EventHandler> |
addHandler(H handler,
GwtEvent.Type<H> type)
Adds this handler to the widget.
|
void |
fireEvent(GwtEvent<?> event) |
boolean |
isDisableEvents() |
void |
setDisableEvents(boolean disableEvents) |
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, render, resetFocus, setValue
public AbstractEventCell(String... consumedEvents)
public final <H extends EventHandler> HandlerRegistration addHandler(H handler, GwtEvent.Type<H> type)
H
- the type of handler to addtype
- the event typehandler
- the handlerHandlerRegistration
used to remove the handlerpublic void fireEvent(GwtEvent<?> event)
public boolean isDisableEvents()
public void setDisableEvents(boolean disableEvents)
Copyright © 2015. All rights reserved.