Class TitledTextCell
- java.lang.Object
-
- com.google.gwt.cell.client.AbstractCell<C>
-
- com.google.gwt.cell.client.AbstractSafeHtmlCell<TitledTextCell.TitledText>
-
- org.uberfire.ext.widgets.common.client.tables.TitledTextCell
-
- All Implemented Interfaces:
com.google.gwt.cell.client.Cell<TitledTextCell.TitledText>
public class TitledTextCell extends com.google.gwt.cell.client.AbstractSafeHtmlCell<TitledTextCell.TitledText>
An extension to the normal TextCell that renders upto two rows of text; one being the title and the other being narrative.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTitledTextCell.TitledTextContainer for the Cell value; consisting of title and descriptionstatic classTitledTextCell.TitledTextSafeHtmlRendererA renderer for TitledText values
-
Constructor Summary
Constructors Constructor Description TitledTextCell()Constructs a TitledTextCell that uses aTitledTextCell.TitledTextSafeHtmlRendererto render its text.TitledTextCell(com.google.gwt.text.shared.SafeHtmlRenderer<TitledTextCell.TitledText> renderer)Constructs a TextCell that uses the providedSafeHtmlRendererto render its text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
-
-
-
Field Detail
-
css
protected static final CommonCss css
-
-
Constructor Detail
-
TitledTextCell
public TitledTextCell()
Constructs a TitledTextCell that uses aTitledTextCell.TitledTextSafeHtmlRendererto render its text.
-
TitledTextCell
public TitledTextCell(com.google.gwt.text.shared.SafeHtmlRenderer<TitledTextCell.TitledText> renderer)
Constructs a TextCell that uses the providedSafeHtmlRendererto render its text.- Parameters:
renderer- aSafeHtmlRendererinstance
-
-
Method Detail
-
render
public void render(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)- Specified by:
renderin classcom.google.gwt.cell.client.AbstractSafeHtmlCell<TitledTextCell.TitledText>
-
-