Class ScenarioGridColumnRenderer

  • All Implemented Interfaces:
    org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String>

    public class ScenarioGridColumnRenderer
    extends org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.StringColumnRenderer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyBackgroundColor​(ScenarioGridCell cell, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context, com.ait.lienzo.client.core.shape.Group group, ScenarioGridRendererTheme theme)  
      protected String getCollectionString​(String jsonString, boolean isList)  
      protected String getValueToShow​(ScenarioGridCell scenarioGridCell)  
      protected com.ait.lienzo.client.core.shape.Group internalRenderCell​(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context, com.ait.lienzo.client.core.shape.Text text, String value)  
      com.ait.lienzo.client.core.shape.Group renderCell​(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context)  
      List<org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.GridRenderer.RendererCommand> renderColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyColumnRenderContext context, org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.impl.BaseGridRendererHelper rendererHelper, org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.impl.BaseGridRendererHelper.RenderingInformation renderingInformation, BiFunction<Boolean,​org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>,​Boolean> columnRenderingConstraint)  
      • Methods inherited from class org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.BaseGridColumnRenderer

        getBoundingBoxPathClipper, isPlaceHolderToBeShown, isToReturnNull, renderHeader, renderHeaderContent
    • Constructor Detail

      • ScenarioGridColumnRenderer

        public ScenarioGridColumnRenderer()
    • Method Detail

      • renderCell

        public com.ait.lienzo.client.core.shape.Group renderCell​(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell,
                                                                 org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context)
        Specified by:
        renderCell in interface org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String>
        Overrides:
        renderCell in class org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.StringColumnRenderer
      • renderColumn

        public List<org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.GridRenderer.RendererCommand> renderColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
                                                                                                                                    org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyColumnRenderContext context,
                                                                                                                                    org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.impl.BaseGridRendererHelper rendererHelper,
                                                                                                                                    org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.grids.impl.BaseGridRendererHelper.RenderingInformation renderingInformation,
                                                                                                                                    BiFunction<Boolean,​org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>,​Boolean> columnRenderingConstraint)
        Specified by:
        renderColumn in interface org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String>
        Overrides:
        renderColumn in class org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.BaseGridColumnRenderer<String>
      • internalRenderCell

        protected com.ait.lienzo.client.core.shape.Group internalRenderCell​(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell,
                                                                            org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context,
                                                                            com.ait.lienzo.client.core.shape.Text text,
                                                                            String value)
        Overrides:
        internalRenderCell in class org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.BaseGridColumnRenderer<String>
      • applyBackgroundColor

        protected void applyBackgroundColor​(ScenarioGridCell cell,
                                            org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context,
                                            com.ait.lienzo.client.core.shape.Group group,
                                            ScenarioGridRendererTheme theme)
      • getCollectionString

        protected String getCollectionString​(String jsonString,
                                             boolean isList)