Class CellBasedWidgetImpl
java.lang.Object
com.google.gwt.user.cellview.client.CellBasedWidgetImpl
- Direct Known Subclasses:
CellBasedWidgetImplStandard
Deprecated.
Implementation used by various cell based widgets.
Deprecated, may be flattened into its subclass CellBasedWidgetImplStandard in a future release.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.The set of natively focusable elements. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.processHtml(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 intDeprecated.Get the event bits to sink for an event type.final voidsinkEvents(Widget widget, Set<String> typeNames) Deprecated.Sink events on the widget.
-
Field Details
-
focusableTypes
Deprecated.The set of natively focusable elements.
-
-
Constructor Details
-
CellBasedWidgetImpl
CellBasedWidgetImpl()Deprecated.
-
-
Method Details
-
get
Deprecated.Get the singleton instance.- Returns:
- the
CellBasedWidgetImplinstance
-
isFocusable
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
Deprecated.Process an event on a target cell.- Parameters:
widget- theWidgeton which the event occurredevent- the event to handle
-
resetFocus
Deprecated.Reset focus on an element.- Parameters:
command- the command to execute when resetting focus
-
sinkEvents
Deprecated.Sink events on the widget.- Parameters:
widget- theWidgetthat will handle the eventstypeNames- the names of the events to sink
-
sinkEvent
Deprecated.Get the event bits to sink for an event type.- Parameters:
widget- theWidgetthat will handle the eventstypeName- the name of the event to sink- Returns:
- the event bits to sink, or -1 if no events to sink
-