Package com.google.gwt.cell.client
Class TextButtonCell
- All Implemented Interfaces:
Cell<String>
,IsCollapsible
,HasEnabled
TextButtonCell
is a simple button with text content.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The appearance used to render this Cell.static class
The default implementation of theTextButtonCell.Appearance
.Nested classes/interfaces inherited from class com.google.gwt.cell.client.ButtonCellBase
ButtonCellBase.Decoration
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
Cell.Context
-
Constructor Summary
ConstructorDescriptionConstruct aTextButtonCell
using theTextButtonCell.DefaultAppearance
.TextButtonCell
(TextButtonCell.Appearance appearance) Construct aTextButtonCell
using the specifiedTextButtonCell.Appearance
to render the cell. -
Method Summary
Methods inherited from class com.google.gwt.cell.client.ButtonCellBase
getAccessKey, getDecoration, getIcon, getTabIndex, isCollapseLeft, isCollapseRight, isEnabled, onBrowserEvent, onEnterKeyDown, render, setAccessKey, setCollapseLeft, setCollapseRight, setDecoration, setEnabled, setFocus, setIcon, setTabIndex
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValue
-
Constructor Details
-
TextButtonCell
public TextButtonCell()Construct aTextButtonCell
using theTextButtonCell.DefaultAppearance
.The
TextButtonCell.DefaultAppearance
may be replaced with a more modern appearance in the future. If you want to stay up to date with the latest appearance, use this constructor. If you do not want the appearance to be updated with successive versions of GWT, create anTextButtonCell.Appearance
and pass it toTextButtonCell(Appearance)
. -
TextButtonCell
Construct aTextButtonCell
using the specifiedTextButtonCell.Appearance
to render the cell.- Parameters:
appearance
- the appearance of the cell
-