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 TypeMethodDescriptionvoidCalled when the user pushes the button down.voidCalled when the user releases the button from being pushed.voidrender(ButtonCellBase<C> cell, Cell.Context context, C value, SafeHtmlBuilder sb) Render the button and its contents.voidExplicitly 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
-