Class PopoverTextCell

  • All Implemented Interfaces:
    com.google.gwt.cell.client.Cell<String>

    public class PopoverTextCell
    extends com.google.gwt.cell.client.AbstractSafeHtmlCell<String>
    An extension to the normal TextCell that renders a Bootstrap Popover when text overflows.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PopoverTextCell.Placement  
      • 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 onBrowserEvent​(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)  
      protected void render​(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml data, 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, onEnterKeyDown, resetFocus, setValue
    • Field Detail

    • Constructor Detail

      • PopoverTextCell

        public PopoverTextCell()
    • Method Detail

      • render

        protected void render​(com.google.gwt.cell.client.Cell.Context context,
                              com.google.gwt.safehtml.shared.SafeHtml data,
                              com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
        Specified by:
        render in class com.google.gwt.cell.client.AbstractSafeHtmlCell<String>
      • onBrowserEvent

        public void onBrowserEvent​(com.google.gwt.cell.client.Cell.Context context,
                                   com.google.gwt.dom.client.Element parent,
                                   String value,
                                   com.google.gwt.dom.client.NativeEvent event,
                                   com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)
        Specified by:
        onBrowserEvent in interface com.google.gwt.cell.client.Cell<String>
        Overrides:
        onBrowserEvent in class com.google.gwt.cell.client.AbstractCell<String>