parseitem.java

来自「实现JAVA界面的代码GWT」· Java 代码 · 共 63 行

JAVA
63
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ParseItem.java

package jxl.biff.formula;


abstract class ParseItem
{

    private ParseItem parent;
    private boolean volatileFunction;
    private boolean alternateCode;

    public ParseItem()
    {
        volatileFunction = false;
        alternateCode = false;
    }

    protected void setParent(ParseItem p)
    {
        parent = p;
    }

    protected void setVolatile()
    {
        volatileFunction = true;
        if(parent != null && !parent.isVolatile())
            parent.setVolatile();
    }

    final boolean isVolatile()
    {
        return volatileFunction;
    }

    abstract void getString(StringBuffer stringbuffer);

    abstract byte[] getBytes();

    abstract void adjustRelativeCellReferences(int i, int j);

    abstract void columnInserted(int i, int j, boolean flag);

    abstract void columnRemoved(int i, int j, boolean flag);

    abstract void rowInserted(int i, int j, boolean flag);

    abstract void rowRemoved(int i, int j, boolean flag);

    protected void setAlternateCode()
    {
        alternateCode = true;
    }

    protected final boolean useAlternateCode()
    {
        return alternateCode;
    }
}

⌨️ 快捷键说明

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