Class ScenarioGridColumnRenderer
- java.lang.Object
-
- org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.BaseGridColumnRenderer<String>
-
- org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.impl.StringColumnRenderer
-
- org.drools.workbench.screens.scenariosimulation.client.renderers.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
-
-
Constructor Summary
Constructors Constructor Description ScenarioGridColumnRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyBackgroundColor(ScenarioGridCell cell, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context, com.ait.lienzo.client.core.shape.Group group, ScenarioGridRendererTheme theme)protected StringgetCollectionString(String jsonString, boolean isList)protected StringgetValueToShow(ScenarioGridCell scenarioGridCell)protected com.ait.lienzo.client.core.shape.GroupinternalRenderCell(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.GrouprenderCell(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)
-
-
-
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:
renderCellin interfaceorg.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String>- Overrides:
renderCellin classorg.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)
-
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:
internalRenderCellin classorg.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)
-
getValueToShow
protected String getValueToShow(ScenarioGridCell scenarioGridCell)
-
-