@Deprecated
abstract class CellBasedWidgetImpl
extends java.lang.Object
Deprecated, may be flattened into its subclass CellBasedWidgetImplStandard in a future release.
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Set<java.lang.String> |
focusableTypes
Deprecated.
The set of natively focusable elements.
|
Constructor and Description |
---|
CellBasedWidgetImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CellBasedWidgetImpl |
get()
Deprecated.
Get the singleton instance.
|
boolean |
isFocusable(Element elem)
Deprecated.
Check if an element is focusable.
|
void |
onBrowserEvent(Widget widget,
Event event)
Deprecated.
Process an event on a target cell.
|
SafeHtml |
processHtml(SafeHtml html)
Deprecated.
Takes in an html string and processes it, adding support for events.
|
void |
resetFocus(Scheduler.ScheduledCommand command)
Deprecated.
Reset focus on an element.
|
protected int |
sinkEvent(Widget widget,
java.lang.String typeName)
Deprecated.
Get the event bits to sink for an event type.
|
void |
sinkEvents(Widget widget,
java.util.Set<java.lang.String> typeNames)
Deprecated.
Sink events on the widget.
|
final java.util.Set<java.lang.String> focusableTypes
public static CellBasedWidgetImpl get()
CellBasedWidgetImpl
instancepublic boolean isFocusable(Element elem)
elem
- the elementpublic void onBrowserEvent(Widget widget, Event event)
widget
- the Widget
on which the event occurredevent
- the event to handlepublic SafeHtml processHtml(SafeHtml html)
html
- the html string to processpublic void resetFocus(Scheduler.ScheduledCommand command)
command
- the command to execute when resetting focuspublic final void sinkEvents(Widget widget, java.util.Set<java.lang.String> typeNames)
widget
- the Widget
that will handle the eventstypeNames
- the names of the events to sink