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 568
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 570
aload 1 /* e */
invokevirtual javax.swing.event.ListSelectionEvent.getValueIsAdjusting:()Z
ifeq 1
return
1: .line 572
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* f */
start local 2 // java.io.File f
2: .line 573
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 574
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 575
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 576
iload 3 /* selectedRow */
iflt 9
8: .line 577
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 581
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 582
iload 5 /* isSave */
ifne 35
aload 4 /* chooser */
invokevirtual javax.swing.JFileChooser.isMultiSelectionEnabled:()Z
ifeq 35
11: .line 583
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 584
iconst_0
istore 7 /* selectableCount */
start local 7 // int selectableCount
13: .line 587
aload 6 /* rows */
arraylength
ifle 19
14: .line 588
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 589
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 588
StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
18: iload 9
iload 10
if_icmplt 15
19: .line 592
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 593
iload 7 /* selectableCount */
anewarray java.io.File
astore 8 /* files */
start local 8 // java.io.File[] files
21: .line 594
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 595
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 596
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 597
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 598
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 600
StackMap locals:
StackMap stack:
aload 8 /* files */
iload 10 /* si */
iinc 10 /* si */ 1
aload 2 /* f */
aastore
29: .line 594
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 603
aload 4 /* chooser */
aload 8 /* files */
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
end local 8 // java.io.File[] files
32: .line 604
goto 37
33: .line 605
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 607
goto 37
35: .line 608
StackMap locals:
StackMap stack:
aload 4 /* chooser */
aconst_null
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
36: .line 609
aload 4 /* chooser */
aload 2 /* f */
invokevirtual javax.swing.JFileChooser.setSelectedFile:(Ljava/io/File;)V
37: .line 611
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 612
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