public class TextButtonCell extends ButtonCellBase<java.lang.String>
TextButtonCell
is a simple button with text content.Modifier and Type | Class and Description |
---|---|
static interface |
TextButtonCell.Appearance
The appearance used to render this Cell.
|
static class |
TextButtonCell.DefaultAppearance
The default implementation of the
TextButtonCell.Appearance . |
ButtonCellBase.Decoration
Cell.Context
Constructor and Description |
---|
TextButtonCell()
Construct a
TextButtonCell using the TextButtonCell.DefaultAppearance . |
TextButtonCell(TextButtonCell.Appearance appearance)
Construct a
TextButtonCell using the specified TextButtonCell.Appearance
to render the cell. |
getAccessKey, getDecoration, getIcon, getTabIndex, isCollapseLeft, isCollapseRight, isEnabled, onBrowserEvent, onEnterKeyDown, render, setAccessKey, setCollapseLeft, setCollapseRight, setDecoration, setEnabled, setFocus, setIcon, setTabIndex
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValue
public TextButtonCell()
TextButtonCell
using the TextButtonCell.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 an TextButtonCell.Appearance
and pass it to
TextButtonCell(Appearance)
.
public TextButtonCell(TextButtonCell.Appearance appearance)
TextButtonCell
using the specified TextButtonCell.Appearance
to render the cell.appearance
- the appearance of the cell