public static class ReserveUtil.ReservedResult extends Object implements Serializable
Constructor and Description |
---|
ReservedResult(SSheet sheet,
int row,
int column,
int lastRow,
int lastColumn,
int reserveType) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLastColumn() |
int |
getLastRow() |
CellRegion[] |
getMergeInfo() |
int |
getRow() |
Map<Integer,ReserveUtil.ReservedRow> |
getRows() |
SSheet |
getSheet() |
boolean |
isWholeColumn() |
boolean |
isWholeRow() |
boolean |
isWholeSheet() |
void |
restore() |
void |
setColumnsInfo(Map<Integer,ReserveUtil.ReservedColumn> columns) |
void |
setMergeInfo(CellRegion[] mergeInfo) |
void |
setRowsInfo(Map<Integer,ReserveUtil.ReservedRow> rows) |
public ReservedResult(SSheet sheet, int row, int column, int lastRow, int lastColumn, int reserveType)
public boolean isWholeSheet()
public boolean isWholeRow()
public boolean isWholeColumn()
public SSheet getSheet()
public int getRow()
public int getColumn()
public int getLastRow()
public int getLastColumn()
public CellRegion[] getMergeInfo()
public void setMergeInfo(CellRegion[] mergeInfo)
public void setRowsInfo(Map<Integer,ReserveUtil.ReservedRow> rows)
public void setColumnsInfo(Map<Integer,ReserveUtil.ReservedColumn> columns)
public Map<Integer,ReserveUtil.ReservedRow> getRows()
public void restore()
Copyright © 2020. All rights reserved.