public interface AreaEval extends TwoDEval, ThreeDEval
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int row, int col)
returns true if the cell at row and col specified as absolute indexes in the sheet is contained in this area.
(如果指定为工作表中绝对索引的 row 和 col 处的单元格包含在此区域中,则返回 true。)
|
boolean |
containsColumn(int col)
returns true if the specified col is in range
(如果指定的 col 在范围内,则返回 true)
|
boolean |
containsRow(int row)
returns true if the specified row is in range
(如果指定的行在范围内,则返回 true)
|
ValueEval |
getAbsoluteValue(int row, int col) |
int |
getFirstColumn()
returns the 0-based index of the first col in this area.
(返回此区域中第一个 col 的从 0 开始的索引。)
|
int |
getFirstRow()
returns the 0-based index of the first row in this area.
(返回此区域中第一行的从 0 开始的索引。)
|
int |
getHeight() |
int |
getLastColumn()
returns the 0-based index of the last col in this area.
(返回此区域中最后一个 col 的从 0 开始的索引。)
|
int |
getLastRow()
returns the 0-based index of the last row in this area.
(返回此区域中最后一行的从 0 开始的索引。)
|
ValueEval |
getRelativeValue(int relativeRowIndex, int relativeColumnIndex) |
int |
getWidth() |
AreaEval |
offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
Creates an
AreaEval offset by a relative amount from from the upper left cell of this area
(从该区域的左上角单元格创建一个相对量的 AreaEval 偏移量)
|
getValue
getColumn, getRow, getValue, isColumn, isRow, isRowHidden, isSubTotal
getFirstSheetIndex, getLastSheetIndex
int getFirstRow()
int getLastRow()
int getFirstColumn()
int getLastColumn()
ValueEval getAbsoluteValue(int row, int col)
null
(possibly
BlankEval
). The specified indexes should be absolute indexes in the sheet and not relative indexes within the area.
(此区域内指定行和列索引处的 ValueEval。从不为空(可能是 BlankEval)。指定的索引应该是工作表中的绝对索引,而不是区域内的相对索引。)
boolean contains(int row, int col)
row
-
(排 -)
col
-
(与 -)
boolean containsColumn(int col)
col
-
(与 -)
boolean containsRow(int row)
row
-
(排 -)
ValueEval getRelativeValue(int relativeRowIndex, int relativeColumnIndex)
null
(possibly
BlankEval
). The specified indexes should relative to the top left corner of this area.
(此区域内指定的 relativeRowIndex 和 relativeColumnIndex 处的 ValueEval。从不为空(可能是 BlankEval)。指定的索引应该相对于该区域的左上角。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.