Class IconCell

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

    public class IconCell
    extends com.google.gwt.cell.client.AbstractSafeHtmlCell<String>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell

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

      Constructors 
      Constructor Description
      IconCell​(org.gwtbootstrap3.client.ui.constants.IconType iconType)
      Construct a new IconCell with the specified icon type
      IconCell​(org.gwtbootstrap3.client.ui.constants.IconType iconType, org.gwtbootstrap3.client.ui.constants.IconSize iconSize)
      Construct a new IconCell with the specified icon type and icon size
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gwtbootstrap3.client.ui.constants.IconSize getIconSize()  
      org.gwtbootstrap3.client.ui.constants.IconType getIconType()  
      String getTooltip()  
      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 onEnterKeyDown​(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)  
      void setIconSize​(org.gwtbootstrap3.client.ui.constants.IconSize iconSize)  
      void setIconType​(org.gwtbootstrap3.client.ui.constants.IconType iconType)  
      void setTooltip​(String tooltip)  
      • 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, resetFocus, setValue
    • Constructor Detail

      • IconCell

        public IconCell​(org.gwtbootstrap3.client.ui.constants.IconType iconType)
        Construct a new IconCell with the specified icon type
        Parameters:
        iconType -
      • IconCell

        public IconCell​(org.gwtbootstrap3.client.ui.constants.IconType iconType,
                        org.gwtbootstrap3.client.ui.constants.IconSize iconSize)
        Construct a new IconCell with the specified icon type and icon size
        Parameters:
        iconType -
        iconSize -
    • Method Detail

      • getIconType

        public org.gwtbootstrap3.client.ui.constants.IconType getIconType()
      • setIconType

        public void setIconType​(org.gwtbootstrap3.client.ui.constants.IconType iconType)
      • getIconSize

        public org.gwtbootstrap3.client.ui.constants.IconSize getIconSize()
      • setIconSize

        public void setIconSize​(org.gwtbootstrap3.client.ui.constants.IconSize iconSize)
      • getTooltip

        public String getTooltip()
      • setTooltip

        public void setTooltip​(String tooltip)
      • 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>
      • onEnterKeyDown

        protected void onEnterKeyDown​(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)
        Overrides:
        onEnterKeyDown in class com.google.gwt.cell.client.AbstractCell<String>