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.DecorationCell.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, setTabIndexdependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValuepublic 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