We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.spreadsheet.client.
Class MergedRegionUtil
- java.lang.Object
-
- com.vaadin.flow.component.spreadsheet.client.MergedRegionUtil
-
public class MergedRegionUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MergedRegionUtil.MergedRegionContainer
-
Constructor Summary
Constructors Constructor Description MergedRegionUtil()
-
Method Summary
All Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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:
-
-