Class CmsButtonCell<T>

  • Type Parameters:
    T - the cell type
    All Implemented Interfaces:<T>

    public class CmsButtonCell<T>
    Cell class for rendering a button inside a cell table.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class<T extends java.lang.Object>
      • Nested classes/interfaces inherited from interface
    • Constructor Summary

      Constructor Description
      CmsButtonCell​(java.lang.String title, java.lang.String cssClass,<T> delegate,<T> checkActive)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void render​( context, T value, sb)  
      • Methods inherited from class

        onBrowserEvent, onEnterKeyDown
      • Methods inherited from class

        dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsButtonCell

        public CmsButtonCell​(java.lang.String title,
                             java.lang.String cssClass,
                   <T> delegate,
                   <T> checkActive)
        Creates a new instance.

        title - the value for the title attribute of the button
        cssClass - the value for the CSS class of the button
        delegate - the delegate which should be called when the button is clicked
        checkActive - a predicate to check whether the button should be active
    • Method Detail

      • render

        public void render​( context,
                           T value,
        Specified by:
        render in interface<T>
        render in class<T>
        See Also:
        ActionCell.render(, java.lang.Object,