public class com.apple.laf.AquaFileChooserUI$SelectionListener implements javax.swing.event.ListSelectionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaFileChooserUI$SelectionListener
super_class: java.lang.Object
{
final com.apple.laf.AquaFileChooserUI this$0;
descriptor: Lcom/apple/laf/AquaFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(com.apple.laf.AquaFileChooserUI);
descriptor: (Lcom/apple/laf/AquaFileChooserUI;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 // com.apple.laf.AquaFileChooserUI$SelectionListener this
0: .line 636
aload 0 /* this */
aload 1
putfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.apple.laf.AquaFileChooserUI$SelectionListener this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$SelectionListener;
MethodParameters:
Name Flags
this$0 final
public void valueChanged(javax.swing.event.ListSelectionEvent);
descriptor: (Ljavax/swing/event/ListSelectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=2
start local 0 // com.apple.laf.AquaFileChooserUI$SelectionListener this
start local 1 // javax.swing.event.ListSelectionEvent e
0: .line 638
aload 1 /* e */
invokevirtual javax.swing.event.ListSelectionEvent.getValueIsAdjusting:()Z
ifeq 1
return
1: .line 640
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* f */
start local 2 // java.io.File f
2: .line 641
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getSelectedRow:()I
istore 3 /* selectedRow */
start local 3 // int selectedRow
3: .line 642
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
astore 4 /* chooser */
start local 4 // javax.swing.JFileChooser chooser
4: .line 643
aload 4 /* chooser */
invokevirtual javax.swing.JFileChooser.getDialogType:()I
iconst_1
if_icmpne 5
iconst_1
goto 6
StackMap locals: java.io.File int javax.swing.JFileChooser
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 5 /* isSave */
start local 5 // boolean isSave
7: .line 644
iload 3 /* selectedRow */
iflt 9
8: .line 645
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
iload 3 /* selectedRow */
iconst_0
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getValueAt:(II)Ljava/lang/Object;
checkcast java.io.File
astore 2 /* f */
9: .line 649
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
iconst_1
putfield com.apple.laf.AquaFileChooserUI.selectionInProgress:Z
10: .line 650
iload 5 /* isSave */
ifne 35
aload 4 /* chooser */
invokevirtual javax.swing.JFileChooser.isMultiSelectionEnabled:()Z
ifeq 35
11: .line 651
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getSelectedRows:()[I
astore 6 /* rows */
start local 6 // int[] rows
12: .line 652
iconst_0
istore 7 /* selectableCount */
start local 7 // int selectableCount
13: .line 655
aload 6 /* rows */
arraylength
ifle 19
14: .line 656
aload 6 /* rows */
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 18
StackMap locals: com.apple.laf.AquaFileChooserUI$SelectionListener javax.swing.event.ListSelectionEvent java.io.File int javax.swing.JFileChooser int int[] int top int int int[]
StackMap stack:
15: aload 11
iload 9
iaload
istore 8 /* element */
start local 8 // int element
16: .line 657
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 4 /* chooser */
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
iload 8 /* element */
iconst_0
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getValueAt:(II)Ljava/lang/Object;
checkcast java.io.File
invokevirtual com.apple.laf.AquaFileChooserUI.isSelectableForMode:(Ljavax/swing/JFileChooser;Ljava/io/File;)Z
ifeq 17
iinc 7 /* selectableCount */ 1
end local 8 // int element
17: .line 656
StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
18: iload 9
iload 10
if_icmplt 15
19: .line 660
StackMap locals: com.apple.laf.AquaFileChooserUI$SelectionListener javax.swing.event.ListSelectionEvent java.io.File int javax.swing.JFileChooser int int[] int
StackMap stack:
iload 7 /* selectableCount */
ifle 33
20: .line 661
iload 7 /* selectableCount */
anewarray java.io.File
astore 8 /* files */
start local 8 // java.io.File[] files
21: .line 662
iconst_0
istore 9 /* i */
start local 9 // int i
22: iconst_0
istore 10 /* si */
start local 10 // int si
23: goto 30
24: .line 663
StackMap locals: java.io.File[] int int
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
aload 6 /* rows */
iload 9 /* i */
iaload
iconst_0
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getValueAt:(II)Ljava/lang/Object;
checkcast java.io.File
astore 2 /* f */
25: .line 664
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 4 /* chooser */
aload 2 /* f */
invokevirtual com.apple.laf.AquaFileChooserUI.isSelectableForMode:(Ljavax/swing/JFileChooser;Ljava/io/File;)Z
ifeq 29
26: .line 665
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fileView:Lcom/apple/laf/AquaFileView;
aload 2 /* f */
invokevirtual com.apple.laf.AquaFileView.isAlias:(Ljava/io/File;)Z
ifeq 28
27: .line 666
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fileView:Lcom/apple/laf/AquaFileView;
aload 2 /* f */
invokevirtual com.apple.laf.AquaFileView.resolveAlias:(Ljava/io/File;)Ljava/io/File;
astore 2 /* f */
28: .line 668
StackMap locals:
StackMap stack:
aload 8 /* files */
iload 10 /* si */
iinc 10 /* si */ 1
aload 2 /* f */
aastore
29: .line 662
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
30: iload 9 /* i */
aload 6 /* rows */
arraylength
if_icmplt 24
end local 10 // int si
end local 9 // int i
31: .line 671
aload 4 /* chooser */
aload 8 /* files */
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
end local 8 // java.io.File[] files
32: .line 672
goto 37
33: .line 673
StackMap locals:
StackMap stack:
aload 4 /* chooser */
aconst_null
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
end local 7 // int selectableCount
end local 6 // int[] rows
34: .line 675
goto 37
35: .line 676
StackMap locals:
StackMap stack:
aload 4 /* chooser */
aconst_null
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
36: .line 677
aload 4 /* chooser */
aload 2 /* f */
invokevirtual javax.swing.JFileChooser.setSelectedFile:(Ljava/io/File;)V
37: .line 679
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$SelectionListener.this$0:Lcom/apple/laf/AquaFileChooserUI;
iconst_0
putfield com.apple.laf.AquaFileChooserUI.selectionInProgress:Z
38: .line 680
return
end local 5 // boolean isSave
end local 4 // javax.swing.JFileChooser chooser
end local 3 // int selectedRow
end local 2 // java.io.File f
end local 1 // javax.swing.event.ListSelectionEvent e
end local 0 // com.apple.laf.AquaFileChooserUI$SelectionListener this
LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/apple/laf/AquaFileChooserUI$SelectionListener;
0 39 1 e Ljavax/swing/event/ListSelectionEvent;
2 39 2 f Ljava/io/File;
3 39 3 selectedRow I
4 39 4 chooser Ljavax/swing/JFileChooser;
7 39 5 isSave Z
12 34 6 rows [I
13 34 7 selectableCount I
16 17 8 element I
21 32 8 files [Ljava/io/File;
22 31 9 i I
23 31 10 si I
MethodParameters:
Name Flags
e final
}
SourceFile: "AquaFileChooserUI.java"
NestHost: com.apple.laf.AquaFileChooserUI
InnerClasses:
JTableExtension = com.apple.laf.AquaFileChooserUI$JTableExtension of com.apple.laf.AquaFileChooserUI
protected SelectionListener = com.apple.laf.AquaFileChooserUI$SelectionListener of com.apple.laf.AquaFileChooserUI