|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.user.cellview.client.CellBasedWidgetImpl
abstract class CellBasedWidgetImpl
Implementation used by various cell based widgets.
| Field Summary | |
|---|---|
(package private) java.util.Set<java.lang.String> |
focusableTypes
The set of natively focusable elements. |
| Constructor Summary | |
|---|---|
CellBasedWidgetImpl()
|
|
| Method Summary | |
|---|---|
static 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,
java.lang.String typeName)
Get the event bits to sink for an event type. |
void |
sinkEvents(Widget widget,
java.util.Set<java.lang.String> typeNames)
Sink events on the widget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final java.util.Set<java.lang.String> focusableTypes
| Constructor Detail |
|---|
CellBasedWidgetImpl()
| Method Detail |
|---|
public static CellBasedWidgetImpl get()
CellBasedWidgetImpl instancepublic boolean isFocusable(Element elem)
elem - the element
public 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 process
public void resetFocus(Scheduler.ScheduledCommand command)
command - the command to execute when resetting focus
public 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
protected int sinkEvent(Widget widget,
java.lang.String typeName)
widget - the Widget that will handle the eventstypeName - the name of the event to sink
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||