📄 bb.java
字号:
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.TextField;
public final class bb extends n
implements CommandListener
{
public StringBuffer a;
public StringBuffer b;
private int j;
private int k;
private long jdField_a_of_type_Long;
private long jdField_b_of_type_Long;
private static char jdField_a_of_type_Char = '*';
private int l;
public String a;
public boolean e;
public int i;
private byte jdField_b_of_type_Byte;
public String b;
private int m;
public Form a;
public TextField a;
public Command a;
public Command b;
public Displayable a;
private byte c;
public final void a()
{
this.i = 15653280;
}
public bb(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, String paramString)
{
// Byte code:
// 0: aload_0
// 1: iload_1
// 2: iload_2
// 3: iload_3
// 4: iload 4
// 6: invokespecial 60 n:<init> (IIII)V
// 9: aload_0
// 10: aconst_null
// 11: putfield 27 bb:jdField_a_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 14: aload_0
// 15: aconst_null
// 16: putfield 43 bb:jdField_b_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 19: aload_0
// 20: iconst_0
// 21: putfield 56 bb:j I
// 24: aload_0
// 25: iconst_0
// 26: putfield 57 bb:k I
// 29: aload_0
// 30: ldc2_w 132
// 33: putfield 28 bb:jdField_a_of_type_Long J
// 36: aload_0
// 37: lconst_0
// 38: putfield 44 bb:jdField_b_of_type_Long J
// 41: aload_0
// 42: iconst_0
// 43: putfield 58 bb:l I
// 46: aload_0
// 47: ldc 108
// 49: putfield 29 bb:jdField_a_of_type_JavaLangString Ljava/lang/String;
// 52: aload_0
// 53: iconst_0
// 54: putfield 52 bb:e Z
// 57: aload_0
// 58: ldc 130
// 60: putfield 55 bb:i I
// 63: aload_0
// 64: iconst_0
// 65: putfield 45 bb:jdField_b_of_type_Byte B
// 68: aload_0
// 69: aconst_null
// 70: putfield 42 bb:jdField_b_of_type_JavaLangString Ljava/lang/String;
// 73: aload_0
// 74: iconst_0
// 75: putfield 59 bb:m I
// 78: aload_0
// 79: aconst_null
// 80: putfield 30 bb:jdField_a_of_type_JavaxMicroeditionLcduiForm Ljavax/microedition/lcdui/Form;
// 83: aload_0
// 84: aconst_null
// 85: putfield 31 bb:jdField_a_of_type_JavaxMicroeditionLcduiTextField Ljavax/microedition/lcdui/TextField;
// 88: aload_0
// 89: new 17 javax/microedition/lcdui/Command
// 92: dup
// 93: ldc 120
// 95: iconst_4
// 96: iconst_1
// 97: invokespecial 61 javax/microedition/lcdui/Command:<init> (Ljava/lang/String;II)V
// 100: putfield 32 bb:jdField_a_of_type_JavaxMicroeditionLcduiCommand Ljavax/microedition/lcdui/Command;
// 103: aload_0
// 104: new 17 javax/microedition/lcdui/Command
// 107: dup
// 108: ldc 125
// 110: iconst_2
// 111: iconst_1
// 112: invokespecial 61 javax/microedition/lcdui/Command:<init> (Ljava/lang/String;II)V
// 115: putfield 46 bb:jdField_b_of_type_JavaxMicroeditionLcduiCommand Ljavax/microedition/lcdui/Command;
// 118: aload_0
// 119: aconst_null
// 120: putfield 33 bb:jdField_a_of_type_JavaxMicroeditionLcduiDisplayable Ljavax/microedition/lcdui/Displayable;
// 123: aload_0
// 124: iconst_0
// 125: putfield 49 bb:c B
// 128: aload_0
// 129: getstatic 34 a:a Ljavax/microedition/lcdui/Display;
// 132: invokevirtual 91 javax/microedition/lcdui/Display:getCurrent ()Ljavax/microedition/lcdui/Displayable;
// 135: putfield 33 bb:jdField_a_of_type_JavaxMicroeditionLcduiDisplayable Ljavax/microedition/lcdui/Displayable;
// 138: iload 6
// 140: iconst_3
// 141: if_icmpne +14 -> 155
// 144: iload 5
// 146: bipush 8
// 148: if_icmple +7 -> 155
// 151: bipush 10
// 153: istore 5
// 155: aload_0
// 156: new 14 java/lang/StringBuffer
// 159: dup
// 160: aload 7
// 162: invokespecial 62 java/lang/StringBuffer:<init> (Ljava/lang/String;)V
// 165: putfield 27 bb:jdField_a_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 168: iload_3
// 169: ifne +15 -> 184
// 172: getstatic 35 n:jdField_a_of_type_JavaxMicroeditionLcduiFont Ljavax/microedition/lcdui/Font;
// 175: aload 7
// 177: invokevirtual 103 javax/microedition/lcdui/Font:stringWidth (Ljava/lang/String;)I
// 180: bipush 6
// 182: iadd
// 183: istore_3
// 184: aload_0
// 185: iload_3
// 186: getstatic 54 n:g I
// 189: imul
// 190: sipush 176
// 193: idiv
// 194: putfield 36 n:jdField_a_of_type_Int I
// 197: aload_0
// 198: getstatic 53 n:f I
// 201: putfield 47 n:b I
// 204: iload 6
// 206: ifeq +9 -> 215
// 209: iload 6
// 211: iconst_1
// 212: if_icmpne +13 -> 225
// 215: aload_0
// 216: dup
// 217: getfield 47 n:b I
// 220: iconst_3
// 221: iadd
// 222: putfield 47 n:b I
// 225: aload_0
// 226: iload 5
// 228: ifle +8 -> 236
// 231: iload 5
// 233: goto +4 -> 237
// 236: iconst_1
// 237: putfield 57 bb:k I
// 240: aload_0
// 241: iload 6
// 243: putfield 58 bb:l I
// 246: iload 6
// 248: iconst_1
// 249: if_icmpne +47 -> 296
// 252: aload_0
// 253: new 14 java/lang/StringBuffer
// 256: dup
// 257: invokespecial 63 java/lang/StringBuffer:<init> ()V
// 260: putfield 43 bb:jdField_b_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 263: iconst_0
// 264: istore 8
// 266: iload 8
// 268: aload_0
// 269: getfield 27 bb:jdField_a_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 272: invokevirtual 94 java/lang/StringBuffer:length ()I
// 275: if_icmpge +20 -> 295
// 278: aload_0
// 279: getfield 43 bb:jdField_b_of_type_JavaLangStringBuffer Ljava/lang/StringBuffer;
// 282: getstatic 37 bb:jdField_a_of_type_Char C
// 285: invokevirtual 77 java/lang/StringBuffer:append (C)Ljava/lang/StringBuffer;
// 288: pop
// 289: iinc 8 1
// 292: goto -26 -> 266
// 295: return
// 296: iload 6
// 298: iconst_3
// 299: if_icmpeq +9 -> 308
// 302: iload 6
// 304: iconst_2
// 305: if_icmpne +60 -> 365
// 308: lconst_0
// 309: lstore 8
// 311: iconst_0
// 312: istore 10
// 314: iload 10
// 316: aload_0
// 317: getfield 57 bb:k I
// 320: if_icmpge +22 -> 342
// 323: lload 8
// 325: ldc2_w 136
// 328: lmul
// 329: dup2
// 330: lstore 8
// 332: lconst_1
// 333: ladd
// 334: lstore 8
// 336: iinc 10 1
// 339: goto -25 -> 314
// 342: aload_0
// 343: lload 8
// 345: ldc2_w 134
// 348: lmul
// 349: putfield 28 bb:jdField_a_of_type_Long J
// 352: iload 6
// 354: iconst_3
// 355: if_icmpne +10 -> 365
// 358: aload_0
// 359: ldc2_w 138
// 362: putfield 28 bb:jdField_a_of_type_Long J
// 365: return
}
public final void a(Graphics paramGraphics)
{
int i2;
int i3;
String str;
int i1 = 0;
paramGraphics.setColor(0);
paramGraphics.fillRect(this.c, this.d, this.jdField_a_of_type_Int, this.b);
switch (this.l)
{
case 2:
case 3:
am.a(paramGraphics, this.c, this.d, this.jdField_a_of_type_Int, this.b, 0);
paramGraphics.setColor(this.i);
i2 = this.jdField_a_of_type_JavaLangStringBuffer.toString().trim().length();
i3 = 0;
str = this.jdField_a_of_type_JavaLangStringBuffer.toString().trim();
for (i1 = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(str); i1 + 4 > this.jdField_a_of_type_Int; i1 = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(str))
{
if (i3 > i2 - 1)
break;
str = this.jdField_a_of_type_JavaLangStringBuffer.toString().substring(++i3).trim();
}
if (this.l == 2)
{
if (this.e)
paramGraphics.drawString(str, this.c + this.jdField_a_of_type_Int - i1, this.d, 20);
else
paramGraphics.drawString(this.jdField_a_of_type_JavaLangStringBuffer.toString(), this.c + 4, this.d, 20);
}
else
{
be.a[8].a(paramGraphics, this.c + 2, this.d + 5, this.c, false);
if (this.e)
paramGraphics.drawString(str, this.c + this.jdField_a_of_type_Int - i1, this.d, 20);
else
paramGraphics.drawString(str, this.c + 7 + 4, this.d, 20);
}
break;
case 0:
case 1:
paramGraphics.setColor(9204806);
paramGraphics.drawRect(this.c, this.d, this.jdField_a_of_type_Int, this.b);
paramGraphics.setColor(11506013);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -