Class AbstractSafeHtmlCell<C>

  • Type Parameters:
    C - the type that this Cell represents
    All Implemented Interfaces:
    Cell<C>
    Direct Known Subclasses:
    ButtonCell, ClickableTextCell, TextCell

    public abstract class AbstractSafeHtmlCell<C>
    extends AbstractCell<C>
    A superclass for Cells that render or escape a String argument as HTML.
    • Constructor Detail

      • AbstractSafeHtmlCell

        public AbstractSafeHtmlCell​(SafeHtmlRenderer<C> renderer,
                                    java.lang.String... consumedEvents)
        Construct an AbstractSafeHtmlCell using a given SafeHtmlRenderer that will consume a given set of events.
        Parameters:
        renderer - a SafeHtmlRenderer
        consumedEvents - a varargs list of event names
      • AbstractSafeHtmlCell

        public AbstractSafeHtmlCell​(SafeHtmlRenderer<C> renderer,
                                    java.util.Set<java.lang.String> consumedEvents)
        Construct an AbstractSafeHtmlCell using a given SafeHtmlRenderer that will consume a given set of events.
        Parameters:
        renderer - a SafeHtmlRenderer
        consumedEvents - a Set of event names