📄 shapetype.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: ShapeType.java
package jxl.biff.drawing;
final class ShapeType
{
private int value;
private static ShapeType types[] = new ShapeType[0];
public static final ShapeType MIN = new ShapeType(0);
public static final ShapeType PICTURE_FRAME = new ShapeType(75);
public static final ShapeType HOST_CONTROL = new ShapeType(201);
public static final ShapeType TEXT_BOX = new ShapeType(202);
public static final ShapeType UNKNOWN = new ShapeType(-1);
ShapeType(int v)
{
value = v;
ShapeType old[] = types;
types = new ShapeType[types.length + 1];
System.arraycopy(old, 0, types, 0, old.length);
types[old.length] = this;
}
static ShapeType getType(int v)
{
ShapeType st = UNKNOWN;
boolean found = false;
for(int i = 0; i < types.length && !found; i++)
if(types[i].value == v)
{
found = true;
st = types[i];
}
return st;
}
public int getValue()
{
return value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -