Package com.google.gwt.cell.client
Class TextButtonCell
- java.lang.Object
-
- com.google.gwt.cell.client.AbstractCell<C>
-
- com.google.gwt.cell.client.ButtonCellBase<java.lang.String>
-
- com.google.gwt.cell.client.TextButtonCell
-
- All Implemented Interfaces:
Cell<java.lang.String>,IsCollapsible,HasEnabled
public class TextButtonCell extends ButtonCellBase<java.lang.String>
TextButtonCellis a simple button with text content.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextButtonCell.AppearanceThe appearance used to render this Cell.static classTextButtonCell.DefaultAppearanceThe 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
Constructors Constructor Description TextButtonCell()Construct aTextButtonCellusing theTextButtonCell.DefaultAppearance.TextButtonCell(TextButtonCell.Appearance appearance)Construct aTextButtonCellusing the specifiedTextButtonCell.Appearanceto 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 Detail
-
TextButtonCell
public TextButtonCell()
Construct aTextButtonCellusing theTextButtonCell.DefaultAppearance.The
TextButtonCell.DefaultAppearancemay 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.Appearanceand pass it toTextButtonCell(Appearance).
-
TextButtonCell
public TextButtonCell(TextButtonCell.Appearance appearance)
Construct aTextButtonCellusing the specifiedTextButtonCell.Appearanceto render the cell.- Parameters:
appearance- the appearance of the cell
-
-