Class CmsButtonCell<T>
java.lang.Object
com.google.gwt.cell.client.AbstractCell<C>
com.google.gwt.cell.client.ActionCell<T>
org.opencms.gwt.client.ui.history.CmsButtonCell<T>
- Type Parameters:
T
- the cell type
- All Implemented Interfaces:
com.google.gwt.cell.client.Cell<T>
Cell class for rendering a button inside a cell table.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.cell.client.ActionCell
com.google.gwt.cell.client.ActionCell.Delegate<T extends Object>
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
com.google.gwt.cell.client.Cell.Context
-
Constructor Summary
ConstructorsConstructorDescriptionCmsButtonCell
(String title, String cssClass, com.google.gwt.cell.client.ActionCell.Delegate<T> delegate, com.google.common.base.Predicate<T> checkActive) Creates a new instance. -
Method Summary
Methods inherited from class com.google.gwt.cell.client.ActionCell
onBrowserEvent, onEnterKeyDown
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValue
-
Constructor Details
-
CmsButtonCell
public CmsButtonCell(String title, String cssClass, com.google.gwt.cell.client.ActionCell.Delegate<T> delegate, com.google.common.base.Predicate<T> checkActive) Creates a new instance.- Parameters:
title
- the value for the title attribute of the buttoncssClass
- the value for the CSS class of the buttondelegate
- the delegate which should be called when the button is clickedcheckActive
- a predicate to check whether the button should be active
-
-
Method Details