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

📄 writablefontrecord.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:   WritableFontRecord.java

package jxl.write.biff;

import jxl.biff.FontRecord;
import jxl.format.Font;
import jxl.write.WriteException;

// Referenced classes of package jxl.write.biff:
//            JxlWriteException

public class WritableFontRecord extends FontRecord
{

    protected WritableFontRecord(String fn, int ps, int bold, boolean it, int us, int ci, int ss)
    {
        super(fn, ps, bold, it, us, ci, ss);
    }

    protected WritableFontRecord(Font f)
    {
        super(f);
    }

    protected void setPointSize(int pointSize)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontPointSize(pointSize);
            return;
        }
    }

    protected void setBoldStyle(int boldStyle)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontBoldStyle(boldStyle);
            return;
        }
    }

    protected void setItalic(boolean italic)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontItalic(italic);
            return;
        }
    }

    protected void setUnderlineStyle(int us)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontUnderlineStyle(us);
            return;
        }
    }

    protected void setColour(int colour)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontColour(colour);
            return;
        }
    }

    protected void setScriptStyle(int scriptStyle)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontScriptStyle(scriptStyle);
            return;
        }
    }

    protected void setStruckout(boolean os)
        throws WriteException
    {
        if(isInitialized())
        {
            throw new JxlWriteException(JxlWriteException.formatInitialized);
        } else
        {
            super.setFontStruckout(os);
            return;
        }
    }
}

⌨️ 快捷键说明

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