📄 f.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
import java.util.Enumeration;
import java.util.Vector;
import javax.microedition.lcdui.*;
class f extends d
implements CommandListener
{
private e d;
private int f;
private Font a;
private List c;
private Displayable b;
private Display e;
f(e e1, int i, Font font)
{
c = null;
b = null;
e = null;
d = e1;
f = i;
a = font;
}
void a(o o1, Vector vector, boolean flag)
{
try
{
if(flag)
o1.b(1);
else
o1.b(0);
b b1 = (b)vector.elementAt(f);
o1.a(a);
o1.c(b1.a, b1.e, b1.a() - b1.b() - 1, b1.b());
String s = d.c();
if(s != null)
{
int i = o1.c();
int j = o1.b();
int k = o1.a();
int i1 = o1.d();
o1.d(b1.a, b1.e, b1.a() - b1.b(), b1.b());
o1.a(s, b1.a, b1.e, 20);
o1.b(i, j, k, i1);
}
o1.c((b1.a + b1.a()) - b1.b(), b1.e, b1.b() - 1, b1.b());
o1.a(((b1.a + b1.a()) - b1.b()) + 2, b1.e + 2, b1.b() - 4, b1.b() - 4, 0, 360);
}
catch(ArrayIndexOutOfBoundsException arrayindexoutofboundsexception) { }
}
void a(l l1, Display display, Displayable displayable, int i, int j, boolean flag)
{
if(d.b)
c = new List(null, 2);
else
c = new List(null, 1);
for(Enumeration enumeration = d.d.elements(); enumeration.hasMoreElements(); c.append(((p)enumeration.nextElement()).a(), null));
if(d.b)
{
int k = 0;
for(Enumeration enumeration1 = d.d.elements(); enumeration1.hasMoreElements();)
{
c.setSelectedIndex(k, ((p)enumeration1.nextElement()).c);
k++;
}
} else
{
c.setSelectedIndex(d.a(), true);
}
c.addCommand(new Command("OK", 4, 1));
c.addCommand(new Command("Cancel", 3, 69));
c.setCommandListener(this);
b = displayable;
e = display;
display.setCurrent(c);
}
public void commandAction(Command command, Displayable displayable)
{
if(command.getCommandType() == 4)
if(d.b)
{
for(int i = 0; i < c.size(); i++)
((p)d.d.elementAt(i)).a(c.isSelected(i));
} else
{
d.a(c.getSelectedIndex());
}
e.setCurrent(b);
b = null;
c = null;
e = null;
}
int a()
{
return f;
}
int b()
{
return 1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -