class sun.awt.windows.WListPeer extends sun.awt.windows.WComponentPeer implements java.awt.peer.ListPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WListPeer
super_class: sun.awt.windows.WComponentPeer
{
private java.awt.FontMetrics fm;
descriptor: Ljava/awt/FontMetrics;
flags: (0x0002) ACC_PRIVATE
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.windows.WListPeer.minimumSize:(I)Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WListPeer;
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/windows/WListPeer;
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.windows.WListPeer.target:Ljava/lang/Object;
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.windows.WListPeer java.awt.List int int[] int int
StackMap stack:
aload 0
iload 5
invokevirtual sun.awt.windows.WListPeer.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/windows/WListPeer;
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 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.windows.WListPeer.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/windows/WListPeer;
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.windows.WListPeer.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WListPeer;
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.windows.WListPeer.setMultipleSelections:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WListPeer;
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.windows.WListPeer.preferredSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WListPeer;
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.windows.WListPeer.minimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WListPeer;
0 1 1 rows I
MethodParameters:
Name Flags
rows
public void addItem(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
iload 2
aload 0
getfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
aload 1
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
invokevirtual sun.awt.windows.WListPeer.addItems:([Ljava/lang/String;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WListPeer;
0 2 1 item Ljava/lang/String;
0 2 2 index I
MethodParameters:
Name Flags
item
index
native void addItems(java.lang.String[], int, int);
descriptor: ([Ljava/lang/String;II)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
items
index
width
public native void delItems(int, int);
descriptor: (II)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
start
end
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
astore 1
start local 1 1: aload 0
iconst_0
aload 1
invokevirtual java.awt.List.countItems:()I
invokevirtual sun.awt.windows.WListPeer.delItems:(II)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WListPeer;
1 3 1 l Ljava/awt/List;
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 native void setMultipleSelections(boolean);
descriptor: (Z)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
v
public native int getMaxWidth();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public java.awt.Dimension preferredSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
ifnonnull 3
1: aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
astore 2
start local 2 2: aload 0
aload 0
aload 2
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WListPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
end local 2 3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.windows.WListPeer.minimumSize:(I)Ljava/awt/Dimension;
astore 2
start local 2 4: aload 2
aload 2
getfield java.awt.Dimension.width:I
aload 0
invokevirtual sun.awt.windows.WListPeer.getMaxWidth:()I
bipush 20
iadd
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WListPeer;
0 6 1 v I
2 3 2 li Ljava/awt/List;
4 6 2 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
v
public java.awt.Dimension minimumSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Dimension
dup
bipush 20
aload 0
getfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
ldc "0123456789abcde"
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
iadd
1: aload 0
getfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
iload 1
imul
iconst_4
iadd
2: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WListPeer;
0 3 1 v I
MethodParameters:
Name Flags
v
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.windows.WComponentPeer.<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/windows/WListPeer;
0 2 1 target Ljava/awt/List;
MethodParameters:
Name Flags
target
native void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
astore 1
start local 1 1: aload 0
aload 0
aload 1
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WListPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
2: aload 1
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
aload 2
invokevirtual sun.awt.windows.WListPeer.setFont:(Ljava/awt/Font;)V
5: StackMap locals: java.awt.List java.awt.Font
StackMap stack:
aload 1
invokevirtual java.awt.List.countItems:()I
istore 3
start local 3 6: iload 3
ifle 19
7: iload 3
anewarray java.lang.String
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: iconst_0
istore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 17
12: StackMap locals: sun.awt.windows.WListPeer java.awt.List java.awt.Font int java.lang.String[] int int int
StackMap stack:
aload 4
iload 7
aload 1
iload 7
invokevirtual java.awt.List.getItem:(I)Ljava/lang/String;
aastore
13: aload 0
getfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
aload 4
iload 7
aaload
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 6
14: iload 6
iload 5
if_icmple 16
15: iload 6
istore 5
16: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 3
if_icmplt 12
end local 7 18: aload 0
aload 4
iconst_0
iload 5
invokevirtual sun.awt.windows.WListPeer.addItems:([Ljava/lang/String;II)V
end local 6 end local 5 end local 4 19: StackMap locals: sun.awt.windows.WListPeer java.awt.List java.awt.Font int
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.List.allowsMultipleSelections:()Z
invokevirtual sun.awt.windows.WListPeer.setMultipleSelections:(Z)V
20: aload 1
invokevirtual java.awt.List.getSelectedIndexes:()[I
astore 4
start local 4 21: iconst_0
istore 5
start local 5 22: goto 25
23: StackMap locals: int[] int
StackMap stack:
aload 0
aload 4
iload 5
iaload
invokevirtual sun.awt.windows.WListPeer.select:(I)V
24: iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
aload 4
arraylength
if_icmplt 23
end local 5 26: aload 1
invokevirtual java.awt.List.getVisibleIndex:()I
istore 5
start local 5 27: iload 5
ifge 29
aload 4
arraylength
ifle 29
28: aload 4
iconst_0
iaload
istore 5
29: StackMap locals:
StackMap stack:
iload 5
iflt 31
30: aload 0
iload 5
invokevirtual sun.awt.windows.WListPeer.makeVisible:(I)V
31: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.windows.WComponentPeer.initialize:()V
32: 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 33 0 this Lsun/awt/windows/WListPeer;
1 33 1 li Ljava/awt/List;
3 33 2 f Ljava/awt/Font;
6 33 3 nitems I
8 19 4 items [Ljava/lang/String;
9 19 5 maxWidth I
10 19 6 width I
11 18 7 i I
21 33 4 sel [I
22 26 5 i I
27 33 5 index I
public boolean shouldClearRectBeforePaint();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WListPeer;
private native void updateMaxItemWidth();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
native boolean isSelected(int);
descriptor: (I)Z
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
index
public synchronized void _setFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WComponentPeer._setFont:(Ljava/awt/Font;)V
1: aload 0
aload 0
aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
invokevirtual java.awt.List.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WListPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield sun.awt.windows.WListPeer.fm:Ljava/awt/FontMetrics;
2: aload 0
invokevirtual sun.awt.windows.WListPeer.updateMaxItemWidth:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WListPeer;
0 4 1 f Ljava/awt/Font;
MethodParameters:
Name Flags
f
void handleAction(int, long, int);
descriptor: (IJI)V
flags: (0x0000)
Code:
stack=9, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
astore 5
start local 5 1: aload 5
new sun.awt.windows.WListPeer$1
dup
aload 0
aload 5
iload 1
lload 2
iload 4
invokespecial sun.awt.windows.WListPeer$1.<init>:(Lsun/awt/windows/WListPeer;Ljava/awt/List;IJI)V
invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WListPeer;
0 3 1 index I
0 3 2 when J
0 3 4 modifiers I
1 3 5 l Ljava/awt/List;
MethodParameters:
Name Flags
index final
when final
modifiers final
void handleListChanged(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.windows.WListPeer.target:Ljava/lang/Object;
checkcast java.awt.List
astore 2
start local 2 1: aload 2
new sun.awt.windows.WListPeer$2
dup
aload 0
aload 2
iload 1
invokespecial sun.awt.windows.WListPeer$2.<init>:(Lsun/awt/windows/WListPeer;Ljava/awt/List;I)V
invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WListPeer;
0 3 1 index I
1 3 2 l Ljava/awt/List;
MethodParameters:
Name Flags
index final
}
SourceFile: "WListPeer.java"
NestMembers:
sun.awt.windows.WListPeer$1 sun.awt.windows.WListPeer$2
InnerClasses:
sun.awt.windows.WListPeer$1
sun.awt.windows.WListPeer$2