Class 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 class  TitledTextCell.TitledText
      Container for the Cell value; consisting of title and description
      static class  TitledTextCell.TitledTextSafeHtmlRenderer
      A renderer for TitledText values
      • Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell

        com.google.gwt.cell.client.Cell.Context
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static CommonCss css  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void render​(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)  
      • Methods inherited from class com.google.gwt.cell.client.AbstractSafeHtmlCell

        getRenderer, render
      • Methods inherited from class com.google.gwt.cell.client.AbstractCell

        dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, onEnterKeyDown, resetFocus, setValue
    • Field Detail

    • Constructor Detail

      • TitledTextCell

        public TitledTextCell​(com.google.gwt.text.shared.SafeHtmlRenderer<TitledTextCell.TitledText> renderer)
        Constructs a TextCell that uses the provided SafeHtmlRenderer to render its text.
        Parameters:
        renderer - a SafeHtmlRenderer instance
    • 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:
        render in class com.google.gwt.cell.client.AbstractSafeHtmlCell<TitledTextCell.TitledText>