Package | Description |
---|---|
com.google.gwt.cell.client | |
com.google.gwt.user.cellview.client |
The "cellview" widget set.
|
com.google.gwt.view.client |
Classes and interfaces used by the
cellview widget set. |
Modifier and Type | Method and Description |
---|---|
protected void |
EditTextCell.edit(Cell.Context context,
Element parent,
java.lang.String value)
Convert the cell to edit mode.
|
boolean |
CheckboxCell.isEditing(Cell.Context context,
Element parent,
java.lang.Boolean value) |
boolean |
IconCellDecorator.isEditing(Cell.Context context,
Element parent,
C value) |
boolean |
CompositeCell.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 |
AbstractInputCell.isEditing(Cell.Context context,
Element parent,
C value) |
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 |
AbstractCell.isEditing(Cell.Context context,
Element parent,
C value)
Returns false.
|
boolean |
DatePickerCell.isEditing(Cell.Context context,
Element parent,
java.util.Date value) |
boolean |
EditTextCell.isEditing(Cell.Context context,
Element parent,
java.lang.String value) |
void |
CheckboxCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.Boolean value,
NativeEvent event,
ValueUpdater<java.lang.Boolean> valueUpdater) |
void |
IconCellDecorator.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
CompositeCell.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 |
ButtonCellBase.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 |
AbstractInputCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
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 |
DatePickerCell.onBrowserEvent(Cell.Context context,
Element parent,
java.util.Date value,
NativeEvent event,
ValueUpdater<java.util.Date> valueUpdater) |
void |
TextInputCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
SelectionCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ImageLoadingCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
EditTextCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ClickableTextCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ButtonCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
protected void |
ButtonCellBase.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 |
AbstractInputCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
protected void |
AbstractCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater)
Called when the user triggers a
keydown event with the ENTER
key while focused on the cell. |
protected void |
DatePickerCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.util.Date value,
NativeEvent event,
ValueUpdater<java.util.Date> valueUpdater) |
protected void |
ClickableTextCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
protected void |
ButtonCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
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 |
CheckboxCell.render(Cell.Context context,
java.lang.Boolean value,
SafeHtmlBuilder sb) |
void |
IconCellDecorator.render(Cell.Context context,
C value,
SafeHtmlBuilder sb) |
void |
CompositeCell.render(Cell.Context context,
C value,
SafeHtmlBuilder sb) |
void |
Cell.render(Cell.Context context,
C value,
SafeHtmlBuilder sb)
Render a cell as HTML into a
SafeHtmlBuilder , suitable for passing
to Element.setInnerHTML(String) on a container element. |
void |
ButtonCellBase.render(Cell.Context context,
C value,
SafeHtmlBuilder sb) |
void |
ActionCell.render(Cell.Context context,
C value,
SafeHtmlBuilder sb) |
void |
AbstractSafeHtmlCell.render(Cell.Context context,
C data,
SafeHtmlBuilder sb) |
abstract void |
AbstractCell.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 a
SafeHtmlBuilder , suitable
for passing to Element.setInnerHTML(java.lang.String) on a container element. |
void |
DatePickerCell.render(Cell.Context context,
java.util.Date value,
SafeHtmlBuilder sb) |
void |
DateCell.render(Cell.Context context,
java.util.Date value,
SafeHtmlBuilder sb) |
void |
ImageResourceCell.render(Cell.Context context,
ImageResource value,
SafeHtmlBuilder sb) |
void |
NumberCell.render(Cell.Context context,
java.lang.Number value,
SafeHtmlBuilder sb) |
void |
TextCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
void |
SafeHtmlCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
protected void |
ClickableTextCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
void |
ButtonCell.render(Cell.Context context,
SafeHtml data,
SafeHtmlBuilder sb) |
protected abstract void |
AbstractSafeHtmlCell.render(Cell.Context context,
SafeHtml data,
SafeHtmlBuilder sb)
Render the cell contents after they have been converted to
SafeHtml
form. |
void |
SafeImageCell.render(Cell.Context context,
SafeUri value,
SafeHtmlBuilder sb) |
void |
TextInputCell.render(Cell.Context context,
java.lang.String value,
SafeHtmlBuilder sb) |
void |
SelectionCell.render(Cell.Context context,
java.lang.String value,
SafeHtmlBuilder sb) |
void |
ImageLoadingCell.render(Cell.Context context,
java.lang.String value,
SafeHtmlBuilder sb) |
void |
ImageCell.render(Cell.Context context,
java.lang.String value,
SafeHtmlBuilder sb) |
void |
EditTextCell.render(Cell.Context context,
java.lang.String value,
SafeHtmlBuilder sb) |
boolean |
IconCellDecorator.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
CompositeCell.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
Cell.resetFocus(Cell.Context context,
Element parent,
C value)
Reset focus on the Cell.
|
boolean |
AbstractInputCell.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
AbstractCell.resetFocus(Cell.Context context,
Element parent,
C value)
Reset focus on the Cell.
|
boolean |
EditTextCell.resetFocus(Cell.Context context,
Element parent,
java.lang.String value) |
void |
IconCellDecorator.setValue(Cell.Context context,
Element parent,
C value) |
void |
CompositeCell.setValue(Cell.Context context,
Element parent,
C object) |
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 using
Element.setInnerHTML(String) . |
void |
AbstractCell.setValue(Cell.Context context,
Element parent,
C value) |
Modifier and Type | Method and Description |
---|---|
Cell.Context |
AbstractCellTableBuilder.createContext(int column)
Create the context for a column based on the current table building state.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CellList.fireEventToCell(Cell.Context context,
Event event,
Element parent,
T value)
Fire an event to the cell.
|
java.lang.String |
Column.getCellStyleNames(Cell.Context context,
T object)
Get extra style names that should be applied to a cell in this column.
|
HasCell<T,?> |
CellTableBuilder.getColumn(Cell.Context context,
T rowValue,
Element elem)
Return the column containing an element.
|
HasCell<T,?> |
AbstractCellTableBuilder.getColumn(Cell.Context context,
T rowValue,
Element elem)
Return the column containing an element.
|
void |
Header.onBrowserEvent(Cell.Context context,
Element elem,
NativeEvent event)
Handle a browser event that took place within the header.
|
void |
Column.onBrowserEvent(Cell.Context context,
Element elem,
T object,
NativeEvent event)
Handle a browser event that took place within the column.
|
boolean |
Header.onPreviewColumnSortEvent(Cell.Context context,
Element elem,
NativeEvent event)
Preview a browser event that may trigger a column sort event.
|
void |
Header.render(Cell.Context context,
SafeHtmlBuilder sb)
Render the header.
|
void |
Column.render(Cell.Context context,
T object,
SafeHtmlBuilder sb)
Render the object into the cell.
|
<C> void |
AbstractCellTableBuilder.renderCell(ElementBuilderBase<?> builder,
Cell.Context context,
HasCell<T,C> column,
T rowValue)
Render the cell into an
ElementBuilderBase . |
protected <H> void |
AbstractHeaderOrFooterBuilder.renderHeader(ElementBuilderBase<?> out,
Cell.Context context,
Header<H> header)
Renders a given Header into a given ElementBuilderBase.
|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
Cell.Context |
CellPreviewEvent.getContext()
Get the cell
Cell.Context . |
Modifier and Type | Method and Description |
---|---|
static <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.
|
Constructor and Description |
---|
CellPreviewEvent(NativeEvent nativeEvent,
HasData<T> display,
Cell.Context context,
T value,
boolean isCellEditing,
boolean isSelectionHandled)
Construct a new
CellPreviewEvent . |