Class MergedRegionUtil
java.lang.Object
com.vaadin.flow.component.spreadsheet.client.MergedRegionUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MergedRegionfindIncreasingSelection(MergedRegionUtil.MergedRegionContainer container, int topRow, int bottomRow, int leftColumn, int rightColumn) Goes through the given selection and checks that the cells on the edges of the selection are not in "the beginning / middle / end" of a merged cell.
-
Constructor Details
-
MergedRegionUtil
public MergedRegionUtil()
-
-
Method Details
-
findIncreasingSelection
public static MergedRegion findIncreasingSelection(MergedRegionUtil.MergedRegionContainer container, int topRow, int bottomRow, int leftColumn, int rightColumn) Goes through the given selection and checks that the cells on the edges of the selection are not in "the beginning / middle / end" of a merged cell. Returns the correct increased selection, after taking the merged cells into account. Parameters 1-based.- Parameters:
container-topRow-bottomRow-leftColumn-rightColumn-- Returns:
-