Class CellBasedWidgetImpl
- java.lang.Object
-
- com.google.gwt.user.cellview.client.CellBasedWidgetImpl
-
- Direct Known Subclasses:
CellBasedWidgetImplStandard
@Deprecated abstract class CellBasedWidgetImpl extends java.lang.ObjectDeprecated.Implementation used by various cell based widgets.Deprecated, may be flattened into its subclass CellBasedWidgetImplStandard in a future release.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Set<java.lang.String>focusableTypesDeprecated.The set of natively focusable elements.
-
Constructor Summary
Constructors Constructor Description CellBasedWidgetImpl()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CellBasedWidgetImplget()Deprecated.Get the singleton instance.booleanisFocusable(Element elem)Deprecated.Check if an element is focusable.voidonBrowserEvent(Widget widget, Event event)Deprecated.Process an event on a target cell.SafeHtmlprocessHtml(SafeHtml html)Deprecated.Takes in an html string and processes it, adding support for events.voidresetFocus(Scheduler.ScheduledCommand command)Deprecated.Reset focus on an element.protected intsinkEvent(Widget widget, java.lang.String typeName)Deprecated.Get the event bits to sink for an event type.voidsinkEvents(Widget widget, java.util.Set<java.lang.String> typeNames)Deprecated.Sink events on the widget.
-
-
-
Method Detail
-
get
public static CellBasedWidgetImpl get()
Deprecated.Get the singleton instance.- Returns:
- the
CellBasedWidgetImplinstance
-
isFocusable
public boolean isFocusable(Element elem)
Deprecated.Check if an element is focusable. If an element is focusable, the cell widget should not steal focus from it.- Parameters:
elem- the element- Returns:
- true if the element is focusable, false if not
-
onBrowserEvent
public void onBrowserEvent(Widget widget, Event event)
Deprecated.Process an event on a target cell.- Parameters:
widget- theWidgeton which the event occurredevent- the event to handle
-
processHtml
public SafeHtml processHtml(SafeHtml html)
Deprecated.Takes in an html string and processes it, adding support for events.- Parameters:
html- the html string to process- Returns:
- the processed html string
-
resetFocus
public void resetFocus(Scheduler.ScheduledCommand command)
Deprecated.Reset focus on an element.- Parameters:
command- the command to execute when resetting focus
-
sinkEvents
public final void sinkEvents(Widget widget, java.util.Set<java.lang.String> typeNames)
Deprecated.Sink events on the widget.- Parameters:
widget- theWidgetthat will handle the eventstypeNames- the names of the events to sink
-
-