public class CellBasedWidgetImplStandardBase extends Object
CellBasedWidgetImpl
.Constructor and Description |
---|
CellBasedWidgetImplStandardBase() |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.user.cellview.client.CellBasedWidgetImpl |
get()
Get the singleton instance.
|
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,
String typeName)
Get the event bits to sink for an event type.
|
void |
sinkEvents(Widget widget,
Set<String> typeNames)
Sink events on the widget.
|
public void resetFocus(Scheduler.ScheduledCommand command)
command
- the command to execute when resetting focusprotected int sinkEvent(Widget widget, String typeName)
widget
- the Widget
that will handle the eventstypeName
- the name of the event to sinkpublic static com.google.gwt.user.cellview.client.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 processCopyright © 2018. All rights reserved.