public interface Grid
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
Grid.FastGrid
Use binary to mark whether the cells are `merged` and set
them accordingly if they are merged, so that you can quickly
mark and check the cell status and save space.
|
static class |
Grid.FractureGrid |
static class |
Grid.IndexGrid |
static class |
Grid.LinkedScanner |
static interface |
Grid.Scanner |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
mark(char[] chars,
int from,
int to)
Mark `1` at the specified coordinates
|
void |
mark(Dimension dimension)
Mark `1` at the specified
Dimension |
default void |
mark(String coordinate)
Mark `1` at the specified coordinates
|
int |
merge(int r,
Cell cell)
Merge cell in range cells
|
int |
size()
Returns count of merged cells
|
boolean |
test(int r,
int c)
Test the specified
Dimension has be marked. |
default void mark(String coordinate)
coordinate - the excel coordinate string,
it's a coordinate or range coordinates
like `A1` or `A1:C4`default void mark(char[] chars,
int from,
int to)
chars - the excel coordinate buffer,
it's a coordinate or range coordinates
like `A1` or `A1:C4`from - the begin indexto - the end indexvoid mark(Dimension dimension)
Dimensiondimension - range Dimensionboolean test(int r,
int c)
Dimension has be marked.r - row number (from one)c - column number (from one)int merge(int r,
Cell cell)
r - row number (from one)cell - column number (from one)int size()
Copyright © 2025. All rights reserved.