class sun.awt.motif.MListPeer extends sun.awt.motif.MComponentPeer implements java.awt.peer.ListPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.motif.MListPeer
super_class: sun.awt.motif.MComponentPeer
{
static final int MARGIN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SPACE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCROLLBAR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
int fontHeight;
descriptor: I
flags: (0x0000)
int fontAscent;
descriptor: I
flags: (0x0000)
int fontLeading;
descriptor: I
flags: (0x0000)
int vval;
descriptor: I
flags: (0x0000)
int hval;
descriptor: I
flags: (0x0000)
int vmax;
descriptor: I
flags: (0x0000)
int hmax;
descriptor: I
flags: (0x0000)
native void create(sun.awt.motif.MComponentPeer);
descriptor: (Lsun/awt/motif/MComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 1
start local 1 1: aload 1
invokevirtual java.awt.List.countItems:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: java.awt.List int int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.awt.List.getItem:(I)Ljava/lang/String;
iconst_m1
invokevirtual sun.awt.motif.MListPeer.addItem:(Ljava/lang/String;I)V
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
aload 1
invokevirtual java.awt.List.allowsMultipleSelections:()Z
invokevirtual sun.awt.motif.MListPeer.setMultipleSelections:(Z)V
8: aload 1
invokevirtual java.awt.List.getVisibleIndex:()I
istore 3
start local 3 9: iload 3
iflt 11
10: aload 0
iload 3
invokevirtual sun.awt.motif.MListPeer.makeVisible:(I)V
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.List.getSelectedIndexes:()[I
astore 4
start local 4 12: iconst_0
istore 5
start local 5 13: goto 16
14: StackMap locals: int[] int
StackMap stack:
aload 0
aload 4
iload 5
iaload
invokevirtual sun.awt.motif.MListPeer.select:(I)V
15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 4
arraylength
if_icmplt 14
end local 5 17: iload 2
ifne 20
18: aload 0
ldc " "
iconst_0
invokevirtual sun.awt.motif.MListPeer.addItem:(Ljava/lang/String;I)V
19: aload 0
iconst_0
iconst_0
invokevirtual sun.awt.motif.MListPeer.delItems:(II)V
20: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.awt.motif.MListPeer.getParent_NoClientCode:(Ljava/awt/Component;)Ljava/awt/Container;
invokevirtual java.awt.Container.getBackground:()Ljava/awt/Color;
invokespecial sun.awt.motif.MComponentPeer.pSetScrollbarBackground:(Ljava/awt/Color;)V
21: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.isBackgroundSet:()Z
ifne 23
22: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
getstatic java.awt.SystemColor.text:Ljava/awt/SystemColor;
invokevirtual java.awt.Component.setBackground:(Ljava/awt/Color;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.isForegroundSet:()Z
ifne 25
24: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
getstatic java.awt.SystemColor.textText:Ljava/awt/SystemColor;
invokevirtual java.awt.Component.setForeground:(Ljava/awt/Color;)V
25: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.motif.MComponentPeer.initialize:()V
26: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/awt/motif/MListPeer;
1 27 1 li Ljava/awt/List;
2 27 2 nitems I
3 7 3 i I
9 27 3 index I
12 27 4 sel [I
13 17 5 i I
void <init>(java.awt.List);
descriptor: (Ljava/awt/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.motif.MComponentPeer.<init>:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MListPeer;
0 2 1 target Ljava/awt/List;
MethodParameters:
Name Flags
target
public void add(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual sun.awt.motif.MListPeer.addItem:(Ljava/lang/String;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MListPeer;
0 2 1 item Ljava/lang/String;
0 2 2 index I
MethodParameters:
Name Flags
item
index
public void removeAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.motif.MListPeer.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MListPeer;
public void setMultipleMode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.motif.MListPeer.setMultipleSelections:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MListPeer;
0 2 1 b Z
MethodParameters:
Name Flags
b
public java.awt.Dimension getPreferredSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.motif.MListPeer.preferredSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
0 1 1 rows I
MethodParameters:
Name Flags
rows
public java.awt.Dimension getMinimumSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.motif.MListPeer.minimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
0 1 1 rows I
MethodParameters:
Name Flags
rows
public void setForeground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.motif.MListPeer.pSetInnerForeground:(Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MListPeer;
0 2 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
public native void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
c
public native void setMultipleSelections(boolean);
descriptor: (Z)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
v
public native boolean isSelected(int);
descriptor: (I)Z
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
public native void addItem(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
item
index
public native void delItems(int, int);
descriptor: (II)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
start
end
public native void select(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
public native void deselect(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
public native void makeVisible(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 1
start local 1 1: aload 1
invokevirtual java.awt.List.countItems:()I
istore 2
start local 2 2: iload 2
ifle 4
3: aload 0
iconst_0
iload 2
iconst_1
isub
invokevirtual sun.awt.motif.MListPeer.delItems:(II)V
4: StackMap locals: java.awt.List int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/motif/MListPeer;
1 5 1 l Ljava/awt/List;
2 5 2 count I
public int[] getSelectedIndexes();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 1
start local 1 1: aload 1
invokevirtual java.awt.List.countItems:()I
istore 2
start local 2 2: iload 2
newarray 10
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 9
6: StackMap locals: sun.awt.motif.MListPeer java.awt.List int int[] int int
StackMap stack:
aload 0
iload 5
invokevirtual sun.awt.motif.MListPeer.isSelected:(I)Z
ifeq 8
7: aload 3
iload 4
iinc 4 1
iload 5
iastore
8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 2
if_icmplt 6
end local 5 10: iload 4
newarray 10
astore 5
start local 5 11: aload 3
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/motif/MListPeer;
1 13 1 l Ljava/awt/List;
2 13 2 len I
3 13 3 sel [I
4 13 4 nsel I
5 10 5 i I
11 13 5 selected [I
public void action(int, long, int);
descriptor: (IJI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 5
start local 5 1: iload 1
istore 6
start local 6 2: aload 5
new sun.awt.motif.MListPeer$1
dup
aload 0
aload 5
iload 6
lload 2
iload 4
invokespecial sun.awt.motif.MListPeer$1.<init>:(Lsun/awt/motif/MListPeer;Ljava/awt/List;IJI)V
invokestatic sun.awt.motif.MToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
3: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/MListPeer;
0 4 1 index I
0 4 2 when J
0 4 4 modifiers I
1 4 5 list Ljava/awt/List;
2 4 6 selectIndex I
MethodParameters:
Name Flags
index
when final
modifiers final
public void handleListChanged(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 3
start local 3 2: iload 1
istore 4
start local 4 3: aload 3
new sun.awt.motif.MListPeer$2
dup
aload 0
aload 2
iload 4
aload 3
invokespecial sun.awt.motif.MListPeer$2.<init>:(Lsun/awt/motif/MListPeer;Lsun/awt/motif/MListPeer;ILjava/awt/List;)V
invokestatic sun.awt.motif.MToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/motif/MListPeer;
0 5 1 index I
1 5 2 listPeer Lsun/awt/motif/MListPeer;
2 5 3 list Ljava/awt/List;
3 5 4 listIndex I
MethodParameters:
Name Flags
index
public java.awt.Dimension minimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokevirtual sun.awt.motif.MListPeer.minimumSize:(I)Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
public java.awt.Dimension preferredSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.motif.MListPeer.minimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
0 1 1 v I
MethodParameters:
Name Flags
v
public java.awt.Dimension minimumSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.motif.MListPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 1: new java.awt.Dimension
dup
bipush 20
2: aload 2
ldc "0123456789abcde"
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
iadd
3: aload 2
invokevirtual java.awt.FontMetrics.getHeight:()I
iconst_2
iadd
iload 1
imul
4: iconst_4
5: iadd
6: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/motif/MListPeer;
0 7 1 v I
1 7 2 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
v
public boolean isFocusable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
public void print(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=18, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 2
start local 2 1: aload 2
invokevirtual java.awt.List.size:()Ljava/awt/Dimension;
astore 3
start local 3 2: aload 2
invokevirtual java.awt.List.getBackground:()Ljava/awt/Color;
astore 4
start local 4 3: aload 2
invokevirtual java.awt.List.getForeground:()Ljava/awt/Color;
astore 5
start local 5 4: aload 2
invokevirtual java.awt.List.getItemCount:()I
istore 6
start local 6 5: aload 0
aload 2
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.motif.MListPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 7
start local 7 6: iconst_0
istore 14
start local 14 7: iconst_0
istore 15
start local 15 8: goto 12
9: StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics top top top top top top int int
StackMap stack:
aload 7
aload 2
iload 15
invokevirtual java.awt.List.getItem:(I)Ljava/lang/String;
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 16
start local 16 10: iload 14
iload 16
invokestatic java.lang.Math.max:(II)I
istore 14
end local 16 11: iinc 15 1
StackMap locals:
StackMap stack:
12: iload 15
iload 6
if_icmplt 9
end local 15 13: aload 0
aload 7
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield sun.awt.motif.MListPeer.fontHeight:I
14: aload 0
aload 7
invokevirtual java.awt.FontMetrics.getAscent:()I
putfield sun.awt.motif.MListPeer.fontAscent:I
15: aload 0
aload 7
invokevirtual java.awt.FontMetrics.getLeading:()I
putfield sun.awt.motif.MListPeer.fontLeading:I
16: iconst_0
dup
istore 12
start local 12 17: istore 13
start local 13 18: aload 0
iconst_1
invokevirtual sun.awt.motif.MListPeer.itemsInWindow:(Z)I
istore 10
start local 10 19: aload 0
iload 6
iload 10
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
putfield sun.awt.motif.MListPeer.vmax:I
20: aload 3
getfield java.awt.Dimension.height:I
bipush 16
isub
istore 9
start local 9 21: aload 0
getfield sun.awt.motif.MListPeer.vmax:I
ifeq 26
22: aload 3
getfield java.awt.Dimension.width:I
bipush 16
isub
istore 8
start local 8 23: iload 8
bipush 6
isub
istore 11
start local 11 24: aload 0
iload 14
iload 11
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
putfield sun.awt.motif.MListPeer.hmax:I
25: goto 29
end local 11 end local 8 26: StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics top int int top int int int
StackMap stack:
aload 3
getfield java.awt.Dimension.width:I
istore 8
start local 8 27: iload 8
bipush 6
isub
istore 11
start local 11 28: aload 0
iload 14
iload 11
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
putfield sun.awt.motif.MListPeer.hmax:I
29: StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.hmax:I
ifne 33
30: aload 3
getfield java.awt.Dimension.height:I
istore 9
31: aload 0
iconst_0
invokevirtual sun.awt.motif.MListPeer.itemsInWindow:(Z)I
istore 10
32: aload 0
iload 6
iload 10
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
putfield sun.awt.motif.MListPeer.vmax:I
33: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.vmax:I
ifne 37
34: aload 3
getfield java.awt.Dimension.width:I
istore 8
35: iload 8
bipush 6
isub
istore 11
36: aload 0
iload 14
iload 11
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
putfield sun.awt.motif.MListPeer.hmax:I
37: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.motif.MListPeer.hval:I
38: aload 0
iconst_0
putfield sun.awt.motif.MListPeer.vval:I
39: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
40: aload 1
iconst_0
iconst_0
iload 8
iload 9
invokevirtual java.awt.Graphics.fillRect:(IIII)V
41: aload 0
getfield sun.awt.motif.MListPeer.hmax:I
ifeq 56
42: aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.motif.MListPeer.vmax:I
ifne 43
iconst_0
goto 44
StackMap locals:
StackMap stack: int
43: bipush 16
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int
StackMap stack: int int
44: isub
istore 15
start local 15 45: aload 1
iconst_1
aload 3
getfield java.awt.Dimension.height:I
bipush 16
isub
iconst_3
isub
iload 15
iconst_1
isub
bipush 13
invokevirtual java.awt.Graphics.fillRect:(IIII)V
46: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 16
start local 16 47: aload 16
iconst_0
aload 3
getfield java.awt.Dimension.height:I
bipush 14
isub
invokevirtual java.awt.Graphics.translate:(II)V
48: aload 0
aload 16
aload 4
bipush 14
iload 15
49: iload 13
aload 0
getfield sun.awt.motif.MListPeer.hmax:I
aload 0
getfield sun.awt.motif.MListPeer.hval:I
iload 11
iconst_1
50: invokevirtual sun.awt.motif.MListPeer.drawScrollbar:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIIIZ)V
51: goto 55
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int int java.awt.Graphics
StackMap stack: java.lang.Throwable
52: astore 17
53: aload 16
invokevirtual java.awt.Graphics.dispose:()V
54: aload 17
athrow
55: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.awt.Graphics.dispose:()V
end local 16 end local 15 56: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.vmax:I
ifeq 71
57: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.motif.MListPeer.hmax:I
ifne 58
iconst_0
goto 59
StackMap locals:
StackMap stack: int
58: bipush 16
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int
StackMap stack: int int
59: isub
istore 15
start local 15 60: aload 1
aload 3
getfield java.awt.Dimension.width:I
bipush 16
isub
iconst_3
isub
iconst_1
bipush 13
iload 15
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
61: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 16
start local 16 62: aload 16
aload 3
getfield java.awt.Dimension.width:I
bipush 14
isub
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
63: aload 0
aload 16
aload 4
bipush 14
iload 15
64: iload 12
aload 0
getfield sun.awt.motif.MListPeer.vmax:I
aload 0
getfield sun.awt.motif.MListPeer.vval:I
iload 10
iconst_0
65: invokevirtual sun.awt.motif.MListPeer.drawScrollbar:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIIIZ)V
66: goto 70
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int int java.awt.Graphics
StackMap stack: java.lang.Throwable
67: astore 17
68: aload 16
invokevirtual java.awt.Graphics.dispose:()V
69: aload 17
athrow
70: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.awt.Graphics.dispose:()V
end local 16 end local 15 71: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
iconst_0
iconst_0
iload 8
iconst_1
isub
iload 9
iconst_1
isub
iconst_0
invokevirtual sun.awt.motif.MListPeer.draw3DRect:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIZ)V
72: iload 6
ifle 78
73: aload 0
aload 0
getfield sun.awt.motif.MListPeer.hmax:I
ifeq 74
iconst_1
goto 75
StackMap locals:
StackMap stack: sun.awt.motif.MListPeer
74: iconst_0
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.List java.awt.Dimension java.awt.Color java.awt.Color int java.awt.FontMetrics int int int int int int int
StackMap stack: sun.awt.motif.MListPeer int
75: invokevirtual sun.awt.motif.MListPeer.itemsInWindow:(Z)I
istore 15
start local 15 76: iload 6
iconst_1
isub
aload 0
getfield sun.awt.motif.MListPeer.vval:I
iload 15
iadd
iconst_1
isub
invokestatic java.lang.Math.min:(II)I
istore 16
start local 16 77: aload 0
aload 1
aload 4
aload 5
aload 0
getfield sun.awt.motif.MListPeer.vval:I
iload 16
invokevirtual sun.awt.motif.MListPeer.paintItems:(Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;II)V
end local 16 end local 15 78: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
aload 1
invokevirtual java.awt.Component.print:(Ljava/awt/Graphics;)V
79: return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 80 0 this Lsun/awt/motif/MListPeer;
0 80 1 g Ljava/awt/Graphics;
1 80 2 l Ljava/awt/List;
2 80 3 d Ljava/awt/Dimension;
3 80 4 bg Ljava/awt/Color;
4 80 5 fg Ljava/awt/Color;
5 80 6 numItems I
6 80 7 fm Ljava/awt/FontMetrics;
23 26 8 w I
27 80 8 w I
21 80 9 h I
19 80 10 vvis I
24 26 11 hvis I
28 80 11 hvis I
17 80 12 vmin I
18 80 13 hmin I
7 80 14 max I
8 13 15 i I
10 11 16 len I
45 56 15 sbw I
47 56 16 ng Ljava/awt/Graphics;
60 71 15 sbh I
62 71 16 ng Ljava/awt/Graphics;
76 78 15 n I
77 78 16 e I
Exception table:
from to target type
47 52 52 any
62 67 67 any
MethodParameters:
Name Flags
g
int itemsInWindow(boolean);
descriptor: (Z)I
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
astore 2
start local 2 1: iload 1
ifeq 4
2: aload 2
getfield java.awt.Dimension.height:I
bipush 20
isub
istore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: java.awt.Dimension
StackMap stack:
aload 2
getfield java.awt.Dimension.height:I
iconst_4
isub
istore 3
start local 3 5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.motif.MListPeer.fontHeight:I
aload 0
getfield sun.awt.motif.MListPeer.fontLeading:I
isub
istore 4
start local 4 6: iload 3
iload 4
iconst_2
iadd
idiv
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/motif/MListPeer;
0 7 1 scrollbarVisible Z
1 7 2 d Ljava/awt/Dimension;
3 4 3 h I
5 7 3 h I
6 7 4 i I
MethodParameters:
Name Flags
scrollbarVisible
void paintItem(java.awt.Graphics, java.awt.Color, java.awt.Color, int, boolean);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;IZ)V
flags: (0x0000)
Code:
stack=6, locals=19, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.awt.motif.MListPeer.target:Ljava/awt/Component;
checkcast java.awt.List
astore 6
start local 6 1: aload 6
invokevirtual java.awt.List.size:()Ljava/awt/Dimension;
astore 7
start local 7 2: aload 6
invokevirtual java.awt.List.getItemCount:()I
istore 8
start local 8 3: aload 2
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
astore 9
start local 9 4: iload 4
aload 0
getfield sun.awt.motif.MListPeer.vval:I
if_icmplt 7
iload 4
aload 0
getfield sun.awt.motif.MListPeer.vval:I
aload 0
aload 0
getfield sun.awt.motif.MListPeer.hmax:I
ifeq 5
iconst_1
goto 6
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.List java.awt.Dimension int java.awt.Color
StackMap stack: int int sun.awt.motif.MListPeer
5: iconst_0
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.List java.awt.Dimension int java.awt.Color
StackMap stack: int int sun.awt.motif.MListPeer int
6: invokevirtual sun.awt.motif.MListPeer.itemsInWindow:(Z)I
iadd
if_icmplt 8
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 7
getfield java.awt.Dimension.width:I
iconst_4
aload 0
getfield sun.awt.motif.MListPeer.vmax:I
ifeq 9
bipush 16
goto 10
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.List java.awt.Dimension int java.awt.Color
StackMap stack: int int
9: iconst_0
StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.List java.awt.Dimension int java.awt.Color
StackMap stack: int int int
10: iadd
isub
istore 10
start local 10 11: aload 0
getfield sun.awt.motif.MListPeer.fontHeight:I
aload 0
getfield sun.awt.motif.MListPeer.fontLeading:I
isub
istore 11
start local 11 12: iload 11
iconst_2
iadd
istore 12
start local 12 13: iconst_2
iload 4
iload 12
imul
iadd
iconst_1
iadd
istore 13
start local 13 14: iload 13
aload 0
getfield sun.awt.motif.MListPeer.vval:I
iload 12
imul
isub
istore 14
start local 14 15: iconst_3
istore 15
start local 15 16: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 16
start local 16 17: iload 4
iload 8
iconst_1
isub
if_icmple 22
18: aload 16
aload 2
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
19: aload 16
iload 15
iconst_2
isub
iload 14
iconst_2
isub
iload 10
iload 11
iconst_4
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
20: aload 16
invokevirtual java.awt.Graphics.dispose:()V
21: return
22: StackMap locals: sun.awt.motif.MListPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.List java.awt.Dimension int java.awt.Color int int int int int int java.awt.Graphics
StackMap stack:
iload 5
ifeq 26
23: aload 16
aload 9
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
24: aload 16
iload 15
iconst_1
isub
iload 14
iconst_1
isub
iload 10
iconst_2
isub
iload 11
iconst_2
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
25: goto 28
26: StackMap locals:
StackMap stack:
aload 16
aload 2
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
27: aload 16
iload 15
iconst_1
isub
iload 14
iconst_1
isub
iload 10
iconst_2
isub
iload 11
iconst_2
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
28: StackMap locals:
StackMap stack:
aload 16
aload 2
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
29: aload 16
iload 15
iconst_2
isub
iload 14
iconst_2
isub
iload 10
iconst_1
isub
iload 11
iconst_3
iadd
invokevirtual java.awt.Graphics.drawRect:(IIII)V
30: aload 16
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
31: aload 6
iload 4
invokevirtual java.awt.List.getItem:(I)Ljava/lang/String;
astore 17
start local 17 32: aload 16
iload 15
iload 14
iload 10
iconst_2
isub
iload 11
invokevirtual java.awt.Graphics.clipRect:(IIII)V
33: aload 16
aload 17
iload 15
aload 0
getfield sun.awt.motif.MListPeer.hval:I
isub
iload 14
aload 0
getfield sun.awt.motif.MListPeer.fontAscent:I
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
end local 17 34: goto 38
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 18
36: aload 16
invokevirtual java.awt.Graphics.dispose:()V
37: aload 18
athrow
38: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.awt.Graphics.dispose:()V
39: return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/awt/motif/MListPeer;
0 40 1 g Ljava/awt/Graphics;
0 40 2 bg Ljava/awt/Color;
0 40 3 fg Ljava/awt/Color;
0 40 4 index I
0 40 5 isSelected Z
1 40 6 l Ljava/awt/List;
2 40 7 d Ljava/awt/Dimension;
3 40 8 numItems I
4 40 9 shadow Ljava/awt/Color;
11 40 10 w I
12 40 11 h I
13 40 12 htotal I
14 40 13 index2y I
15 40 14 y I
16 40 15 x I
17 40 16 ng Ljava/awt/Graphics;
32 34 17 str Ljava/lang/String;
Exception table:
from to target type
17 20 35 any
22 35 35 any
MethodParameters:
Name Flags
g
bg
fg
index
isSelected
void paintItems(java.awt.Graphics, java.awt.Color, java.awt.Color, int, int);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;II)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
istore 6
start local 6 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 6
iconst_0
invokevirtual sun.awt.motif.MListPeer.paintItem:(Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;IZ)V
3: iinc 6 1
StackMap locals:
StackMap stack:
4: iload 6
iload 5
if_icmple 2
end local 6 5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/motif/MListPeer;
0 6 1 g Ljava/awt/Graphics;
0 6 2 bg Ljava/awt/Color;
0 6 3 fg Ljava/awt/Color;
0 6 4 s I
0 6 5 e I
1 5 6 i I
MethodParameters:
Name Flags
g
bg
fg
s
e
public boolean handlesWheelScrolling();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MListPeer;
public void handleEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.AWTEvent.getID:()I
sipush 507
if_icmpne 7
1: aload 1
checkcast java.awt.event.MouseWheelEvent
astore 2
start local 2 2: aload 0
aload 2
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
3: aload 2
invokevirtual java.awt.event.MouseWheelEvent.getScrollAmount:()I
4: aload 2
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
5: invokevirtual sun.awt.motif.MListPeer.nativeHandleMouseWheel:(III)V
end local 2 6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.motif.MComponentPeer.handleEvent:(Ljava/awt/AWTEvent;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/motif/MListPeer;
0 9 1 e Ljava/awt/AWTEvent;
2 6 2 mwe Ljava/awt/event/MouseWheelEvent;
MethodParameters:
Name Flags
e
native void nativeHandleMouseWheel(int, int, int);
descriptor: (III)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
scrollType
scrollAmount
wheelRotation
}
SourceFile: "MListPeer.java"
NestMembers:
sun.awt.motif.MListPeer$1 sun.awt.motif.MListPeer$2
InnerClasses:
sun.awt.motif.MListPeer$1
sun.awt.motif.MListPeer$2