final class sun.lwawt.LWListPeer$ScrollableJList extends javax.swing.JScrollPane implements javax.swing.event.ListSelectionListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWListPeer$ScrollableJList
super_class: javax.swing.JScrollPane
{
private boolean skipStateChangedEvent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final javax.swing.DefaultListModel<java.lang.String> model;
descriptor: Ljavax/swing/DefaultListModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavax/swing/DefaultListModel<Ljava/lang/String;>;
private int[] oldSelectedIndices;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
final sun.lwawt.LWListPeer this$0;
descriptor: Lsun/lwawt/LWListPeer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.lwawt.LWListPeer);
descriptor: (Lsun/lwawt/LWListPeer;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.lwawt.LWListPeer$ScrollableJList.this$0:Lsun/lwawt/LWListPeer;
aload 0
invokespecial javax.swing.JScrollPane.<init>:()V
1: aload 0
2: new sun.lwawt.LWListPeer$ScrollableJList$1
dup
aload 0
invokespecial sun.lwawt.LWListPeer$ScrollableJList$1.<init>:(Lsun/lwawt/LWListPeer$ScrollableJList;)V
putfield sun.lwawt.LWListPeer$ScrollableJList.model:Ljavax/swing/DefaultListModel;
3: aload 0
iconst_0
newarray 10
putfield sun.lwawt.LWListPeer$ScrollableJList.oldSelectedIndices:[I
4: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getViewport:()Ljavax/swing/JViewport;
iconst_0
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
5: new sun.lwawt.LWListPeer$ScrollableJList$JListDelegate
dup
aload 0
invokespecial sun.lwawt.LWListPeer$ScrollableJList$JListDelegate.<init>:(Lsun/lwawt/LWListPeer$ScrollableJList;)V
astore 2
start local 2 6: aload 2
aload 0
invokevirtual javax.swing.JList.addListSelectionListener:(Ljavax/swing/event/ListSelectionListener;)V
7: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getViewport:()Ljavax/swing/JViewport;
aload 2
invokevirtual javax.swing.JViewport.setView:(Ljava/awt/Component;)V
8: aload 1
invokevirtual sun.lwawt.LWListPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.List
invokevirtual java.awt.List.getItems:()[Ljava/lang/String;
astore 3
start local 3 9: iconst_0
istore 4
start local 4 10: goto 13
11: StackMap locals: sun.lwawt.LWListPeer$ScrollableJList sun.lwawt.LWListPeer javax.swing.JList java.lang.String[] int
StackMap stack:
aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.model:Ljavax/swing/DefaultListModel;
iload 4
aload 3
iload 4
aaload
invokevirtual javax.swing.DefaultListModel.add:(ILjava/lang/Object;)V
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 3
arraylength
if_icmplt 11
end local 4 14: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
6 15 2 list Ljavax/swing/JList<Ljava/lang/String;>;
9 15 3 items [Ljava/lang/String;
10 14 4 i I
MethodParameters:
Name Flags
this$0 final
public boolean isSkipStateChangedEvent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.skipStateChangedEvent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
public void setSkipStateChangedEvent(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
putfield sun.lwawt.LWListPeer$ScrollableJList.skipStateChangedEvent:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
0 2 1 skipStateChangedEvent Z
MethodParameters:
Name Flags
skipStateChangedEvent
public void valueChanged(javax.swing.event.ListSelectionEvent);
descriptor: (Ljavax/swing/event/ListSelectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.event.ListSelectionEvent.getValueIsAdjusting:()Z
ifne 19
aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.isSkipStateChangedEvent:()Z
ifne 19
1: aload 1
invokevirtual javax.swing.event.ListSelectionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JList
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 17
4: StackMap locals: javax.swing.JList int
StackMap stack:
aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.oldSelectedIndices:[I
iload 3
invokestatic java.util.Arrays.binarySearch:([II)I
iflt 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: aload 2
iload 3
invokevirtual javax.swing.JList.isSelectedIndex:(I)Z
istore 5
start local 5 8: iload 4
iload 5
if_icmpne 10
9: goto 16
10: StackMap locals: int int
StackMap stack:
iload 4
ifne 11
iload 5
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_2
StackMap locals:
StackMap stack: int
12: istore 6
start local 6 13: aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.this$0:Lsun/lwawt/LWListPeer;
new java.awt.event.ItemEvent
dup
aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.this$0:Lsun/lwawt/LWListPeer;
invokevirtual sun.lwawt.LWListPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.ItemSelectable
sipush 701
14: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 6
invokespecial java.awt.event.ItemEvent.<init>:(Ljava/awt/ItemSelectable;ILjava/lang/Object;I)V
15: invokevirtual sun.lwawt.LWListPeer.postEvent:(Ljava/awt/AWTEvent;)V
end local 6 end local 5 end local 4 16: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
aload 2
invokevirtual javax.swing.JList.getModel:()Ljavax/swing/ListModel;
invokeinterface javax.swing.ListModel.getSize:()I
if_icmplt 4
end local 3 18: aload 0
aload 2
invokevirtual javax.swing.JList.getSelectedIndices:()[I
putfield sun.lwawt.LWListPeer$ScrollableJList.oldSelectedIndices:[I
end local 2 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
0 20 1 e Ljavax/swing/event/ListSelectionEvent;
2 19 2 source Ljavax/swing/JList<*>;
3 18 3 i I
7 16 4 wasSelected Z
8 16 5 isSelected Z
13 16 6 state I
MethodParameters:
Name Flags
e final
public javax.swing.JList<java.lang.String> getView();
descriptor: ()Ljavax/swing/JList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getViewport:()Ljavax/swing/JViewport;
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.JList
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
Signature: ()Ljavax/swing/JList<Ljava/lang/String;>;
public javax.swing.DefaultListModel<java.lang.String> getModel();
descriptor: ()Ljavax/swing/DefaultListModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.model:Ljavax/swing/DefaultListModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
Signature: ()Ljavax/swing/DefaultListModel<Ljava/lang/String;>;
public void setEnabled(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
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getView:()Ljavax/swing/JList;
iload 1
invokevirtual javax.swing.JList.setEnabled:(Z)V
1: aload 0
iload 1
invokespecial javax.swing.JScrollPane.setEnabled:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
0 3 1 enabled Z
MethodParameters:
Name Flags
enabled final
public void setOpaque(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
invokespecial javax.swing.JScrollPane.setOpaque:(Z)V
1: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getView:()Ljavax/swing/JList;
ifnull 3
2: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getView:()Ljavax/swing/JList;
iload 1
invokevirtual javax.swing.JList.setOpaque:(Z)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
0 4 1 isOpaque Z
MethodParameters:
Name Flags
isOpaque final
public void setFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JScrollPane.setFont:(Ljava/awt/Font;)V
1: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getView:()Ljavax/swing/JList;
ifnull 4
2: aload 0
invokevirtual sun.lwawt.LWListPeer$ScrollableJList.getView:()Ljavax/swing/JList;
aload 1
invokevirtual javax.swing.JList.setFont:(Ljava/awt/Font;)V
3: aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.this$0:Lsun/lwawt/LWListPeer;
invokevirtual sun.lwawt.LWListPeer.revalidate:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/LWListPeer$ScrollableJList;
0 5 1 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
static sun.lwawt.LWListPeer access$0(sun.lwawt.LWListPeer$ScrollableJList);
descriptor: (Lsun/lwawt/LWListPeer$ScrollableJList;)Lsun/lwawt/LWListPeer;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield sun.lwawt.LWListPeer$ScrollableJList.this$0:Lsun/lwawt/LWListPeer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LWListPeer.java"
NestHost: sun.lwawt.LWListPeer
InnerClasses:
final ScrollableJList = sun.lwawt.LWListPeer$ScrollableJList of sun.lwawt.LWListPeer
sun.lwawt.LWListPeer$ScrollableJList$1
private final JListDelegate = sun.lwawt.LWListPeer$ScrollableJList$JListDelegate of sun.lwawt.LWListPeer$ScrollableJList