dimensionrecord.java

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

JAVA
32
字号
// 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:   DimensionRecord.java

package jxl.write.biff;

import jxl.biff.*;

class DimensionRecord extends WritableRecordData
{

    private int numRows;
    private int numCols;
    private byte data[];

    public DimensionRecord(int r, int c)
    {
        super(Type.DIMENSION);
        numRows = r;
        numCols = c;
        data = new byte[14];
        IntegerHelper.getFourBytes(numRows, data, 4);
        IntegerHelper.getTwoBytes(numCols, data, 10);
    }

    protected byte[] getData()
    {
        return data;
    }
}

⌨️ 快捷键说明

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