📄 bliptype.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: BlipType.java
package jxl.biff.drawing;
final class BlipType
{
private int value;
private String desc;
private static BlipType types[] = new BlipType[0];
public static final BlipType ERROR = new BlipType(0, "Error");
public static final BlipType UNKNOWN = new BlipType(1, "Unknown");
public static final BlipType EMF = new BlipType(2, "EMF");
public static final BlipType WMF = new BlipType(3, "WMF");
public static final BlipType PICT = new BlipType(4, "PICT");
public static final BlipType JPEG = new BlipType(5, "JPEG");
public static final BlipType PNG = new BlipType(6, "PNG");
public static final BlipType DIB = new BlipType(7, "DIB");
public static final BlipType FIRST_CLIENT = new BlipType(32, "FIRST");
public static final BlipType LAST_CLIENT = new BlipType(255, "LAST");
private BlipType(int val, String d)
{
value = val;
desc = d;
BlipType newtypes[] = new BlipType[types.length + 1];
System.arraycopy(types, 0, newtypes, 0, types.length);
newtypes[types.length] = this;
types = newtypes;
}
public String getDescription()
{
return desc;
}
public int getValue()
{
return value;
}
public static BlipType getType(int val)
{
BlipType type = UNKNOWN;
int i = 0;
do
{
if(i >= types.length)
break;
if(types[i].value == val)
{
type = types[i];
break;
}
i++;
} while(true);
return type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -