class CellBasedWidgetImplTrident extends CellBasedWidgetImpl
focusableTypes
Constructor and Description |
---|
CellBasedWidgetImplTrident() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFocusable(Element elem)
Check if an element is focusable.
|
void |
onBrowserEvent(Widget widget,
Event event)
Process an event on a target cell.
|
SafeHtml |
processHtml(SafeHtml html)
Takes in an html string and processes it, adding support for events.
|
void |
resetFocus(Scheduler.ScheduledCommand command)
Reset focus on an element.
|
protected int |
sinkEvent(Widget widget,
java.lang.String typeName)
Get the event bits to sink for an event type.
|
get, sinkEvents
public boolean isFocusable(Element elem)
CellBasedWidgetImpl
isFocusable
in class CellBasedWidgetImpl
elem
- the elementpublic void onBrowserEvent(Widget widget, Event event)
CellBasedWidgetImpl
onBrowserEvent
in class CellBasedWidgetImpl
widget
- the Widget
on which the event occurredevent
- the event to handlepublic SafeHtml processHtml(SafeHtml html)
CellBasedWidgetImpl
processHtml
in class CellBasedWidgetImpl
html
- the html string to processpublic void resetFocus(Scheduler.ScheduledCommand command)
CellBasedWidgetImpl
resetFocus
in class CellBasedWidgetImpl
command
- the command to execute when resetting focusprotected int sinkEvent(Widget widget, java.lang.String typeName)
CellBasedWidgetImpl
sinkEvent
in class CellBasedWidgetImpl
widget
- the Widget
that will handle the eventstypeName
- the name of the event to sink