public class BackgroundGridModel extends AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Background,org.drools.scenariosimulation.api.model.BackgroundData>
abstractScesimModel, collectionEditorSingletonDOMElementFactory, columnCounter, eventBus, HEADER_ROW_COUNT, scenarioCellTextAreaSingletonDOMElementFactory, scenarioExpressionCellTextAreaSingletonDOMElementFactory, scenarioHeaderTextBoxSingletonDOMElementFactory, selectedColumn, simpleJavaTypeInstancesName| Constructor and Description |
|---|
BackgroundGridModel(boolean isMerged) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commonAddRow(int rowIndex) |
GridWidget |
getGridWidget() |
org.uberfire.ext.wires.core.grids.client.model.GridData.Range |
getInstanceLimits(int columnIndex)
This methods returns the
Range of a single block of columns of the same instance/data object. |
void |
insertRowGridOnly(int rowIndex,
org.uberfire.ext.wires.core.grids.client.model.GridRow row,
org.drools.scenariosimulation.api.model.BackgroundData abstractScesimData)
This method insert a row to the grid and populate it with values taken from given
Scenario |
appendRow, bindContent, checkAlreadyAssignedProperty, checkSameInstanceHeader, checkSamePropertyHeader, checkSimulation, checkUniquePropertyHeaderTitle, checkValidAndUniqueInstanceHeaderTitle, checkValidAndUniquePropertyHeaderTitle, clear, clearSelections, commonAddColumn, commonAddColumn, commonAddRow, deleteCell, deleteColumn, deleteInstance, deleteRow, duplicateColumnValues, duplicateRow, forceRefreshWidth, getAbstractScesimModel, getCollectionEditorSingletonDOMElementFactory, getDOMElementFactory, getFirstIndexLeftOfGroup, getFirstIndexRightOfGroup, getGroupSize, getInstanceLimits, getInstanceScenarioGridColumns, getInstanceScenarioGridColumns, getInstancesCount, getScenarioCellTextAreaSingletonDOMElementFactory, getScenarioExpressionCellTextAreaSingletonDOMElementFactory, getScenarioHeaderTextBoxSingletonDOMElementFactory, getSelectedColumn, getValidPlaceholders, insertColumn, insertColumnGridOnly, insertRow, insertRowGridOnly, isAlreadyAssignedProperty, isColumnEmpty, isNewInstanceName, isNewPropertyName, isSameInstanceType, isSameInstanceType, isSameSelectedColumnProperty, isSameSelectedColumnProperty, isSameSelectedColumnType, isSameSelectedColumnType, isSelectedColumnEmpty, isSimpleType, loadFactMappingsWidth, nextColumnCount, refreshErrors, refreshErrorsRow, replaceColumn, resetError, resetErrors, resetErrors, selectColumn, selectRow, setCell, setCellGridOnly, setCellValue, setCollectionEditorSingletonDOMElementFactory, setEventBus, setScenarioCellTextAreaSingletonDOMElementFactory, setScenarioExpressionCellTextAreaSingletonDOMElementFactory, setScenarioHeaderTextBoxSingletonDOMElementFactory, setSimpleJavaTypeInstancesName, synchronizeFactMappingsWidths, synchronizeFactMappingWidth, updateColumnInstance, updateColumnProperty, updateFactMapping, updateHeader, updateIndexColumn, validateInstanceHeaderUpdate, validatePropertyHeaderUpdateappendColumn, collapseCell, deleteColumn, doSetCell, expandCell, getCell, getColumnCount, getColumns, getHeaderRowCount, getRow, getRowCount, getRows, getSelectedCells, getSelectedCellsOrigin, getSelectedHeaderCells, getVisibleHeight, getVisibleWidth, getWidth, internalRefreshWidth, isColumnDraggingEnabled, isMerged, isRowDraggingEnabled, moveColumnsTo, moveColumnTo, moveRowsTo, moveRowTo, refreshWidth, refreshWidth, selectCell, selectCells, selectHeaderCell, setColumnDraggingEnabled, setHeaderRowCount, setMerged, setRowDraggingEnabled, setVisibleSizeAndRefresh, updateColumnpublic GridWidget getGridWidget()
getGridWidget in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Background,org.drools.scenariosimulation.api.model.BackgroundData>public org.uberfire.ext.wires.core.grids.client.model.GridData.Range getInstanceLimits(int columnIndex)
AbstractScesimGridModelRange of a single block of columns of the same instance/data object.
A single block is made of all the columns immediately to the left and right of the selected one with the same "label".
If there is another column with the same "label" but separated by a different column, it is not part of the group.getInstanceLimits in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Background,org.drools.scenariosimulation.api.model.BackgroundData>public void insertRowGridOnly(int rowIndex,
org.uberfire.ext.wires.core.grids.client.model.GridRow row,
org.drools.scenariosimulation.api.model.BackgroundData abstractScesimData)
ScenarioinsertRowGridOnly in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Background,org.drools.scenariosimulation.api.model.BackgroundData>row - protected void commonAddRow(int rowIndex)
commonAddRow in class AbstractScesimGridModel<org.drools.scenariosimulation.api.model.Background,org.drools.scenariosimulation.api.model.BackgroundData>Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.