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>
public class CmsButtonCell<T> extends com.google.gwt.cell.client.ActionCell<T>
Cell class for rendering a button inside a cell table.
-
-
Constructor Summary
Constructors Constructor Description CmsButtonCell(java.lang.String title, java.lang.String cssClass, com.google.gwt.cell.client.ActionCell.Delegate<T> delegate, com.google.common.base.Predicate<T> checkActive)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(com.google.gwt.cell.client.Cell.Context context, T value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
-
-
-
Constructor Detail
-
CmsButtonCell
public CmsButtonCell(java.lang.String title, java.lang.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
-
-