📄 s.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.Vector;
import javax.microedition.lcdui.*;
public class s extends List implements CommandListener
{
private f _fldif;
private final Command a[] = new Command[3];
private a ax;
public s(f f1)
{
super("收藏夹", 3);
_fldif = f1;
for(int i = 0; i < f1.size(); i++)
append(f1._mthif(i)._fldif, null);
a[0] = new Command("跳转", 1, 1);
a[1] = new Command("删除", 1, 2);
a[2] = new Command("编辑", 1, 3);
a();
addCommand(new Command("返回", 2, 4));
setCommandListener(this);
}
private void a()
{
for(int i = 0; i < a.length; i++)
if(size() > 0)
addCommand(a[i]);
else
removeCommand(a[i]);
}
public void commandAction(Command command, Displayable displayable)
{
int i = getSelectedIndex();
n n1 = _fldif._mthif(i);
if(command == List.SELECT_COMMAND || command.getPriority() == 1)
{
if(n1 != null)
{
ax.i._mthif();
ax.i.a(n1.a());
}
} else
{
switch(command.getPriority())
{
default:
break;
case 2: // '\002'
if(i != -1)
{
//_fldif.a(i);
delete(i);
a();
}
break;
case 3: // '\003'
if(n1 != null)
ax.i.a(n1, this);
break;
case 4: // '\004'
ax.i._mthif();
break;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -