Uses of Class
com.google.gwt.cell.client.Cell.Context
Package
Description
The "cellview" widget set.
Classes and interfaces used by the
cellview
widget set.-
Uses of Cell.Context in com.google.gwt.cell.client
Modifier and TypeMethodDescriptionprotected void
EditTextCell.edit
(Cell.Context context, Element parent, String value) Convert the cell to edit mode.boolean
AbstractCell.isEditing
(Cell.Context context, Element parent, C value) Returns false.abstract boolean
AbstractEditableCell.isEditing
(Cell.Context context, Element parent, C value) Returns true if the cell is currently editing the data identified by the given element and key.boolean
AbstractInputCell.isEditing
(Cell.Context context, Element parent, C value) boolean
Cell.isEditing
(Cell.Context context, Element parent, C value) Returns true if the cell is currently editing the data identified by the given element and key.boolean
CheckboxCell.isEditing
(Cell.Context context, Element parent, Boolean value) boolean
CompositeCell.isEditing
(Cell.Context context, Element parent, C value) boolean
DatePickerCell.isEditing
(Cell.Context context, Element parent, Date value) boolean
EditTextCell.isEditing
(Cell.Context context, Element parent, String value) boolean
IconCellDecorator.isEditing
(Cell.Context context, Element parent, C value) void
AbstractCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Handle a browser event that took place within the cell.void
AbstractInputCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ActionCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ButtonCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
ButtonCellBase.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
Cell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Handle a browser event that took place within the cell.void
CheckboxCell.onBrowserEvent
(Cell.Context context, Element parent, Boolean value, NativeEvent event, ValueUpdater<Boolean> valueUpdater) void
ClickableTextCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
CompositeCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
DatePickerCell.onBrowserEvent
(Cell.Context context, Element parent, Date value, NativeEvent event, ValueUpdater<Date> valueUpdater) void
EditTextCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
IconCellDecorator.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ImageLoadingCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
SelectionCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
TextInputCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
AbstractCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Called when the user triggers akeydown
event with the ENTER key while focused on the cell.protected void
AbstractInputCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ActionCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ButtonCell.onEnterKeyDown
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
ButtonCellBase.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ClickableTextCell.onEnterKeyDown
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
DatePickerCell.onEnterKeyDown
(Cell.Context context, Element parent, Date value, NativeEvent event, ValueUpdater<Date> valueUpdater) abstract void
AbstractCell.render
(Cell.Context context, C value, SafeHtmlBuilder sb) protected abstract void
AbstractSafeHtmlCell.render
(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) Render the cell contents after they have been converted toSafeHtml
form.void
AbstractSafeHtmlCell.render
(Cell.Context context, C data, SafeHtmlBuilder sb) void
ActionCell.render
(Cell.Context context, C value, SafeHtmlBuilder sb) void
ButtonCell.render
(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) void
ButtonCellBase.Appearance.render
(ButtonCellBase<C> cell, Cell.Context context, C value, SafeHtmlBuilder sb) Render the button and its contents.void
ButtonCellBase.DefaultAppearance.render
(ButtonCellBase<C> cell, Cell.Context context, C value, SafeHtmlBuilder sb) void
ButtonCellBase.render
(Cell.Context context, C value, SafeHtmlBuilder sb) void
Cell.render
(Cell.Context context, C value, SafeHtmlBuilder sb) Render a cell as HTML into aSafeHtmlBuilder
, suitable for passing toElement.setInnerHTML(String)
on a container element.void
CheckboxCell.render
(Cell.Context context, Boolean value, SafeHtmlBuilder sb) protected void
ClickableTextCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) void
CompositeCell.render
(Cell.Context context, C value, SafeHtmlBuilder sb) protected <X> void
CompositeCell.render
(Cell.Context context, C value, SafeHtmlBuilder sb, HasCell<C, X> hasCell) Render the composite cell as HTML into aSafeHtmlBuilder
, suitable for passing toElement.setInnerHTML(java.lang.String)
on a container element.void
DateCell.render
(Cell.Context context, Date value, SafeHtmlBuilder sb) void
DatePickerCell.render
(Cell.Context context, Date value, SafeHtmlBuilder sb) void
EditTextCell.render
(Cell.Context context, String value, SafeHtmlBuilder sb) void
IconCellDecorator.render
(Cell.Context context, C value, SafeHtmlBuilder sb) void
ImageCell.render
(Cell.Context context, String value, SafeHtmlBuilder sb) void
ImageLoadingCell.render
(Cell.Context context, String value, SafeHtmlBuilder sb) void
ImageResourceCell.render
(Cell.Context context, ImageResource value, SafeHtmlBuilder sb) void
NumberCell.render
(Cell.Context context, Number value, SafeHtmlBuilder sb) void
SafeHtmlCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) void
SafeImageCell.render
(Cell.Context context, SafeUri value, SafeHtmlBuilder sb) void
SelectionCell.render
(Cell.Context context, String value, SafeHtmlBuilder sb) void
TextCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) void
TextInputCell.render
(Cell.Context context, String value, SafeHtmlBuilder sb) boolean
AbstractCell.resetFocus
(Cell.Context context, Element parent, C value) Reset focus on the Cell.boolean
AbstractInputCell.resetFocus
(Cell.Context context, Element parent, C value) boolean
Cell.resetFocus
(Cell.Context context, Element parent, C value) Reset focus on the Cell.boolean
CompositeCell.resetFocus
(Cell.Context context, Element parent, C value) boolean
EditTextCell.resetFocus
(Cell.Context context, Element parent, String value) boolean
IconCellDecorator.resetFocus
(Cell.Context context, Element parent, C value) void
AbstractCell.setValue
(Cell.Context context, Element parent, C value) void
Cell.setValue
(Cell.Context context, Element parent, C value) This method may be used by cell containers to set the value on a single cell directly, rather than usingElement.setInnerHTML(String)
.void
CompositeCell.setValue
(Cell.Context context, Element parent, C object) void
IconCellDecorator.setValue
(Cell.Context context, Element parent, C value) -
Uses of Cell.Context in com.google.gwt.user.cellview.client
Modifier and TypeMethodDescriptionfinal Cell.Context
AbstractCellTableBuilder.createContext
(int column) Create the context for a column based on the current table building state.Modifier and TypeMethodDescriptionprotected void
CellList.fireEventToCell
(Cell.Context context, Event event, Element parent, T value) Fire an event to the cell.Column.getCellStyleNames
(Cell.Context context, T object) Get extra style names that should be applied to a cell in this column.AbstractCellTableBuilder.getColumn
(Cell.Context context, T rowValue, Element elem) Return the column containing an element.CellTableBuilder.getColumn
(Cell.Context context, T rowValue, Element elem) Return the column containing an element.void
Column.onBrowserEvent
(Cell.Context context, Element elem, T object, NativeEvent event) Handle a browser event that took place within the column.void
Header.onBrowserEvent
(Cell.Context context, Element elem, NativeEvent event) Handle a browser event that took place within the header.boolean
Header.onPreviewColumnSortEvent
(Cell.Context context, Element elem, NativeEvent event) Preview a browser event that may trigger a column sort event.void
Column.render
(Cell.Context context, T object, SafeHtmlBuilder sb) Render the object into the cell.void
Header.render
(Cell.Context context, SafeHtmlBuilder sb) Render the header.final <C> void
AbstractCellTableBuilder.renderCell
(ElementBuilderBase<?> builder, Cell.Context context, HasCell<T, C> column, T rowValue) Render the cell into anElementBuilderBase
.protected final <H> void
AbstractHeaderOrFooterBuilder.renderHeader
(ElementBuilderBase<?> out, Cell.Context context, Header<H> header) Renders a given Header into a given ElementBuilderBase.protected final void
AbstractHeaderOrFooterBuilder.renderSortableHeader
(ElementBuilderBase<?> out, Cell.Context context, Header<?> header, boolean isSorted, boolean isSortAscending) Render a header, including a sort icon if the column is sortable and sorted. -
Uses of Cell.Context in com.google.gwt.view.client
Modifier and TypeMethodDescriptionstatic <T> CellPreviewEvent
<T> CellPreviewEvent.fire
(HasCellPreviewHandlers<T> source, NativeEvent nativeEvent, HasData<T> display, Cell.Context context, T value, boolean isCellEditing, boolean isSelectionHandled) Fires a cell preview event on all registered handlers in the handler manager.ModifierConstructorDescriptionprotected
CellPreviewEvent
(NativeEvent nativeEvent, HasData<T> display, Cell.Context context, T value, boolean isCellEditing, boolean isSelectionHandled) Construct a newCellPreviewEvent
.