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

📄 mulblankcell.java

📁 实现JAVA界面的代码GWT
💻 JAVA
字号:
// 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:   MulBlankCell.java

package jxl.read.biff;

import common.Logger;
import jxl.*;
import jxl.biff.FormattingRecords;
import jxl.format.CellFormat;

// Referenced classes of package jxl.read.biff:
//            CellFeaturesAccessor, SheetImpl, ColumnInfoRecord, RowRecord

class MulBlankCell
    implements Cell, CellFeaturesAccessor
{

    private static Logger logger;
    private int row;
    private int column;
    private CellFormat cellFormat;
    private int xfIndex;
    private FormattingRecords formattingRecords;
    private boolean initialized;
    private SheetImpl sheet;
    private CellFeatures features;
    static Class class$jxl$read$biff$MulBlankCell; /* synthetic field */

    public MulBlankCell(int r, int c, int xfi, FormattingRecords fr, SheetImpl si)
    {
        row = r;
        column = c;
        xfIndex = xfi;
        formattingRecords = fr;
        sheet = si;
        initialized = false;
    }

    public final int getRow()
    {
        return row;
    }

    public final int getColumn()
    {
        return column;
    }

    public String getContents()
    {
        return "";
    }

    public CellType getType()
    {
        return CellType.EMPTY;
    }

    public CellFormat getCellFormat()
    {
        if(!initialized)
        {
            cellFormat = formattingRecords.getXFRecord(xfIndex);
            initialized = true;
        }
        return cellFormat;
    }

    public boolean isHidden()
    {
        ColumnInfoRecord cir = sheet.getColumnInfo(column);
        if(cir != null && cir.getWidth() == 0)
            return true;
        RowRecord rr = sheet.getRowInfo(row);
        return rr != null && (rr.getRowHeight() == 0 || rr.isCollapsed());
    }

    public CellFeatures getCellFeatures()
    {
        return features;
    }

    public void setCellFeatures(CellFeatures cf)
    {
        if(features != null)
            logger.warn("current cell features not null - overwriting");
        features = cf;
    }

    static Class class$(String x0)
    {
        return Class.forName(x0);
        ClassNotFoundException x1;
        x1;
        throw new NoClassDefFoundError(x1.getMessage());
    }

    static 
    {
        logger = Logger.getLogger(class$jxl$read$biff$MulBlankCell != null ? class$jxl$read$biff$MulBlankCell : (class$jxl$read$biff$MulBlankCell = class$("jxl.read.biff.MulBlankCell")));
    }
}

⌨️ 快捷键说明

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