public interface DBWritable
限定符和类型 | 方法和说明 |
---|---|
AppendRowData |
appendData(ColumnRow curPoint,
boolean beofrePoint,
int count,
boolean isFromStash)
根据某appendPoint单元格插入行列数据
|
java.awt.Rectangle |
deleteData(ColumnRow curPoint)
根据某deletePoint单元格删除行列数据
|
java.util.List |
getExtendedColumnRowList(ColumnRow[] crArray,
ColumnRow baseLocation)
以baseLocation为基础,查找原始位置crArray对应扩展后的链表
baseLocation是扩展后单元格的位置
ColumnRow[]中为原格子,此方法生成扩展队列,详情见SE$FORM
|
void |
importStashData(JSONObject cellValues,
JSONArray rows,
JSONArray insertRows,
JSONArray deleteRows,
JSONObject cellValuesAssist)
引入暂存数据
|
java.lang.Object |
resolveColumnRowRange(ColumnRowRange crr,
ColumnRow baseLocation)
解析行列域,返回这值
|
int |
setCurrentColumnRow(ColumnRow[] crArray,
ColumnRow baseLocation,
Calculator ca,
DBWriteAction action,
int groupIdx)
根据crArray和baseLocation找到不同的BaseColumnRow
|
AppendRowData |
simpleAppendData(ColumnRow selectedPoint,
boolean beofrePoint,
int count,
boolean isExcelImport,
boolean isFromStash)
简单插入
|
void |
simpleDeleteData(ColumnRow selectedColumnRow)
删除
|
void |
unDeleteData(ColumnRow undoDeletePoint)
根据某deletePoint单元格进行取消删除行列操作
|
AppendRowData appendData(ColumnRow curPoint, boolean beofrePoint, int count, boolean isFromStash) throws WriteException
curPoint
- 插入点 插入行按钮所在位置beofrePoint
- 是否在添加点之前插入数据count
- 插入数目isFromStash
- 是否是插入已保存数据WriteException
AppendRowData simpleAppendData(ColumnRow selectedPoint, boolean beofrePoint, int count, boolean isExcelImport, boolean isFromStash) throws WriteException
selectedPoint
- 选中位置beofrePoint
- 是否在添加点之前插入数据count
- 插入数目isExcelImport
- 是否是excel导入isFromStash
- 是否是插入已保存数据WriteException
void simpleDeleteData(ColumnRow selectedColumnRow) throws WriteException
selectedColumnRow
- 选中位置WriteException
java.awt.Rectangle deleteData(ColumnRow curPoint) throws WriteException
curPoint
- 插入点WriteException
void unDeleteData(ColumnRow undoDeletePoint) throws WriteException
undoDeletePoint
- 某deletePoint单元格WriteException
java.util.List getExtendedColumnRowList(ColumnRow[] crArray, ColumnRow baseLocation)
crArray
- 一组单元格baseLocation
- 基准单元格int setCurrentColumnRow(ColumnRow[] crArray, ColumnRow baseLocation, Calculator ca, DBWriteAction action, int groupIdx) throws java.lang.Exception
crArray
- 一组单元格baseLocation
- 基准格子ca
- 算子action
- 操作groupIdx
- 如果是单元格组的话java.lang.Exception
java.lang.Object resolveColumnRowRange(ColumnRowRange crr, ColumnRow baseLocation)
crr
- 行列域baseLocation
- 基准格子void importStashData(JSONObject cellValues, JSONArray rows, JSONArray insertRows, JSONArray deleteRows, JSONObject cellValuesAssist)
cellValues
- 格子值rows
- 行insertRows
- 插入行cellValuesAssist
- 格子值最终形态的辅助类(是公式还是编辑后的值)deleteRows
- 删除行