public interface IBorderService
| Modifier and Type | Method and Description |
|---|---|
void |
set(IRangeAddress range,
Consumer<IBorderStyleBuilder> builderConsumer,
BordersSides sides)
Sets the borders in the given range address.
|
void |
set(IRangeAddress range,
IBorderStyle style,
BordersSides sides)
Sets the borders in the given range address
|
void |
updateExisting(IRangeAddress range,
AddressItemEditor<ICellBorders> editor)
Applies the settings of the borders obtained from the
editor to each cell of the given range |
void set(IRangeAddress range, IBorderStyle style, BordersSides sides)
range - the IRangeAddress in which the settings will be appliedstyle - the value of the border style to be setsides - the sides of the border to be setIBorderStyle,
BordersSidesvoid set(IRangeAddress range, Consumer<IBorderStyleBuilder> builderConsumer, BordersSides sides)
IBorderStyleBuilder
into which the desired values will be filled in. The builder is instantiated from the IScellApiResolver
so that the user could register his own implementation using custom default data.
This function calls IBorderStyleBuilder.build() and
set(IRangeAddress, IBorderStyle, BordersSides) with the obtained data resultrange - the IRangeAddress in which the settings will be appliedbuilderConsumer - the Consumer with a new instance of IBorderStyleBuildersides - the sides of the border to be setIBorderStyle,
BordersSidesvoid updateExisting(IRangeAddress range, AddressItemEditor<ICellBorders> editor)
editor to each cell of the given rangerange - the IRangeAddress in which the settings will be appliededitor - the function which takes the style of the current borders
and creates new border styles to be appliedICellBordersCopyright © 2025. All rights reserved.