⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zcellerasor.java

📁 用Java写的报表.功能如下: 0.内建网络打印,网络预览功能! 1.文件操作。包括url 指定的文件。 2.全功能打印支持。包括打印预览。 3.Undo 和 redo。 4.合并单元格。 5.Cel
💻 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 + -