Package com.google.gwt.cell.client
Interface ButtonCellBase.Appearance<C>
- Type Parameters:
C
- the type that this Cell represents
- All Known Subinterfaces:
TextButtonCell.Appearance
- All Known Implementing Classes:
ButtonCellBase.DefaultAppearance
,TextButtonCell.DefaultAppearance
- Enclosing class:
ButtonCellBase<C>
public static interface ButtonCellBase.Appearance<C>
The appearance used to render this Cell.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the user pushes the button down.void
Called when the user releases the button from being pushed.void
render
(ButtonCellBase<C> cell, Cell.Context context, C value, SafeHtmlBuilder sb) Render the button and its contents.void
Explicitly focus/unfocus this cell.
-
Method Details
-
onPush
Called when the user pushes the button down.- Parameters:
parent
- the parent Element
-
onUnpush
Called when the user releases the button from being pushed.- Parameters:
parent
- the parent Element
-
setFocus
Explicitly focus/unfocus this cell.- Parameters:
parent
- the parent elementfocused
- whether this cell should take focus or release it
-