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

📄 zcmdworker.java

📁 用Java写的报表.功能如下: 0.内建网络打印,网络预览功能! 1.文件操作。包括url 指定的文件。 2.全功能打印支持。包括打印预览。 3.Undo 和 redo。 4.合并单元格。 5.Cel
💻 JAVA
字号:
package ezcell;/** * put your documentation comment here */class ZCmdWorker {    final static int ACCEPT_CELL = 1;    final static int ACCEPT_ROW = 2;    final static int ACCEPT_COLUMN = 4;    final static int ACCEPT_ANY = 7;    int saveOption = ACCEPT_ANY;    int workOption = ACCEPT_ANY;    /**     * put your documentation comment here     */    ZCmdWorker() {    }    /**     * put your documentation comment here     * @param     int option     */    ZCmdWorker(int option) {        saveOption = workOption = option;    }    /**     * put your documentation comment here     * @param     int so     * @param     int wo     */    ZCmdWorker(int so, int wo) {        saveOption = so;        workOption = wo;    }    /**     * put your documentation comment here     * @return     */    public boolean needSave(int option) {        return (saveOption & option) != 0;    }    /**     * put your documentation comment here     * @param option     * @return     */    public boolean needWork(int option) {        return (workOption & option) != 0;    }    /**     *     * @param cmd     */    public void prepareUndo(ZCmdFormat cmd) {    }    /**     *     * @param cmd     * @param obj     */    public void workOnObject(ZCmdFormat cmd, ZBase obj) {    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -