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

📄 zcell.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
 */
/*
 * put your module comment here
 * formatted with JxBeauty (c) johann.langhofer@nextra.at
 */
package ezcell;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2001</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */
public interface ZCell {
    /**
     *
     * @return
     */
    public ZBrush getBackBrush();

    /**
     *
     * @return
     */
    public boolean isChild();

    /**
     *
     * @return
     */
    public int getCol();

    /**
     *
     * @param cookie
     */
    public void setCookie(int cookie);

    /**
     *
     * @return
     */
    public int getCookie();

    /**
     *
     * @return
     */
    public ZFont getFont();

    /**
     *
     * @return
     */
    public String getFormat();

    /**
     *
     * @return
     */
    public boolean isHead();

    /**
     *
     * @return
     */
    public int getHeight();

    /**
     *
     * @return
     */
    public int getHorzAlign();

    /**
     *
     * @return
     */
    public ZPen getLeftBorder0();

    /**
     *
     * @return
     *
     * @throws Exception
     */
    public ZCell getParent() throws Exception;

    /**
     *
     * @return
     */
    public boolean isParent();

    /**
     *
     * @return
     */
    public boolean isReadOnly();

    /**
     *
     * @return
     */
    public int getRow();

    /**
     *
     * @return
     */
    public ZDefaultSheet getSheet();

    /**
     *
     * @return
     */
    public ZRect getSpan();

    /**
     *
     * @return
     */
    public String getText();

    /**
     *
     * @return
     */
    public ZBrush getTextBrush();

    /**
     *
     * @return
     */
    public ZPen getTopBorder0();

    /**
     *
     * @return
     */
    public int getVertAlign();

    /**
     *
     * @return
     */
    public int getWidth();

    /**
     *
     * @return
     */
    public boolean isWordWrap();

    /**
     *
     * @param sheet
     * @param row
     * @param col
     *
     * @return
     */
    public ZCell clone(ZSheet sheet, int row, int col);
}

abstract class ZAbstractCell implements ZCell {
    /**
     *
     * @return
     */
    public ZBrush getBackBrush() {
        return null;
    }

    /**
     *
     * @return
     */
    public boolean isChild() {
        return false;
    }

    /**
     *
     * @return
     */
    public ZFont getFont() {
        return null;
    }

    /**
     *
     * @return
     */
    public String getFormat() {
        return null;
    }

    /**
     *
     * @return
     */
    public boolean isHead() {
        return (getRow() == 0) || (getCol() == 0);
    }

    /**
     *
     * @return
     */
    public int getHorzAlign() {
        return ZBase.LEFT;
    }

    /**
     *
     * @return
     */
    public ZPen getLeftBorder0() {
        return null;
    }

    /**
     *
     * @return
     *
     * @throws Exception
     */
    public ZCell getParent() throws Exception {
        return null;
    }

    /**
     *
     * @return
     */
    public boolean isParent() {
        return false;
    }

    /**
     *
     * @return
     */
    public boolean isReadOnly() {
        return false;
    }

    /**
     *
     * @return
     */
    public ZRect getSpan() {
        return null;
    }

    /**
     *
     * @return
     */
    public String getText() {
        return null;
    }

    /**
     *
     * @return
     */
    public ZBrush getTextBrush() {
        return null;
    }

    /**
     *
     * @return
     */
    public ZPen getTopBorder0() {
        return null;
    }

    /**
     *
     * @return
     */
    public int getVertAlign() {
        return ZBase.YCENTER;
    }

    /**
     *
     * @param sheet
     * @param row
     * @param col
     *
     * @return
     */
    public ZCell clone(ZSheet sheet, int row, int col) {
        return null;
    }
}

⌨️ 快捷键说明

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