📄 zcellerasor.java
字号:
/*
* Copyright 2002 EZCell , Inc. All rights reserved.
* Version 1.0.
* Author W.John
*/
package ezcell;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
/**
* put your documentation comment here
*/
class ZCellErasor implements Serializable {
private int row;
private int col;
/**
* put your documentation comment here
* @param int row
* @param int col
*/
public ZCellErasor(int row, int col) {
this.row = row;
this.col = col;
}
/**
* put your documentation comment here
* @param ois
* @exception ClassNotFoundException, IOException
*/
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
ois.defaultReadObject();
ObjectInputStream2 is = (ObjectInputStream2) ois;
ZDefaultCell cell = is.sheet.getExistCell(row, col);
if (cell != null) {
is.sheet.remove(cell);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -