| 限定符和类型 | 字段和说明 |
|---|---|
Cell[] |
cells |
int |
fc |
Double |
height |
boolean |
hidden |
int |
index |
int |
lc |
Integer |
outlineLevel |
| 构造器和说明 |
|---|
Row() |
| 限定符和类型 | 方法和说明 |
|---|---|
Cell[] |
calloc(int n)
分配指定大小的连续单元格并初始化
|
Row |
clear()
清除附加属性
|
Cell[] |
getCells() |
int |
getFc() |
Double |
getHeight()
获取行高
|
int |
getIndex() |
int |
getLc() |
Integer |
getOutlineLevel()
获取行层级
|
boolean |
isHidden()
判断当前行是否隐藏
|
Cell[] |
malloc(int n)
分配指定大小的连续单元格
|
Cell[] |
realloc(int n)
比较并重分配连续
n个单元格,此方法会比较传入的参数n与当前单元格数量比较,
当n大于当前数量时才进行重分配 |
Row |
setHeight(Double height)
设置行高
|
void |
setHidden(boolean hidden)
设置当前行显示或隐藏
|
void |
setOutlineLevel(Integer outlineLevel)
设置行层级
|
public int index
public int fc
public int lc
public Cell[] cells
public Double height
public boolean hidden
public Integer outlineLevel
public int getIndex()
public int getFc()
public int getLc()
public Cell[] getCells()
public Cell[] malloc(int n)
n - 单元格数量public Cell[] calloc(int n)
n - 单元格数量public Cell[] realloc(int n)
n个单元格,此方法会比较传入的参数n与当前单元格数量比较,
当n大于当前数量时才进行重分配n - 单元格数量public Double getHeight()
public boolean isHidden()
public void setHidden(boolean hidden)
hidden - true:隐藏当前行 false: 显示public Integer getOutlineLevel()
public void setOutlineLevel(Integer outlineLevel)
outlineLevel - 层级(不能为负数)public Row clear()
Copyright © 2025. All rights reserved.