public interface IRangeAddress
The address consists of 4 values: top row, left column, bottom row and right column numbers
Note, that in the address of a single cell the numbers of the top and bottom row as well as the numbers of the left and right column coincide (are identical)
By the default all values (column and row numbers) are set to "1"
Modifier and Type | Method and Description |
---|---|
IRangeAddressBuilder |
createBuilder() |
int |
getBottomRowNumber() |
int |
getHeight() |
int |
getLeftColumnNumber() |
int |
getRightColumnNumber() |
int |
getTopRowNumber() |
int |
getWidth() |
boolean |
isAll() |
boolean |
isSingleCell() |
String |
toA1String() |
int getTopRowNumber()
(can't be less than 1)
int getLeftColumnNumber()
(can't be less than 1)
int getRightColumnNumber()
(can't be less than 1)
int getBottomRowNumber()
(can't be less than 1)
boolean isSingleCell()
true
if it is a single cell address, false
if it is a range addressboolean isAll()
true
if the whole spreadsheet is selected, if not - false
String toA1String()
int getWidth()
int getHeight()
IRangeAddressBuilder createBuilder()
IRangeAddressBuilder
with the current values of the range addressCopyright © 2024. All rights reserved.