class javax.swing.plaf.basic.BasicFileChooserUI$Handler implements java.awt.event.MouseListener, javax.swing.event.ListSelectionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicFileChooserUI$Handler
super_class: java.lang.Object
{
javax.swing.JList list;
descriptor: Ljavax/swing/JList;
flags: (0x0000)
final javax.swing.plaf.basic.BasicFileChooserUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.plaf.basic.BasicFileChooserUI);
descriptor: (Ljavax/swing/plaf/basic/BasicFileChooserUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
MethodParameters:
Name Flags
this$0 final
void <init>(javax.swing.plaf.basic.BasicFileChooserUI, javax.swing.JList);
descriptor: (Ljavax/swing/plaf/basic/BasicFileChooserUI;Ljavax/swing/JList;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 3 2 list Ljavax/swing/JList;
MethodParameters:
Name Flags
this$0 final
list
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
ifnull 14
1: aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 14
2: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_2
irem
ifne 14
3: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
invokestatic sun.swing.SwingUtilities2.loc2IndexFileList:(Ljavax/swing/JList;Ljava/awt/Point;)I
istore 2
start local 2 4: iload 2
iflt 14
5: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
invokevirtual javax.swing.JList.getModel:()Ljavax/swing/ListModel;
iload 2
invokeinterface javax.swing.ListModel.getElementAt:(I)Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 6: aload 3
invokestatic sun.awt.shell.ShellFolder.getNormalizedFile:(Ljava/io/File;)Ljava/io/File;
astore 3
7: goto 9
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler java.awt.event.MouseEvent int java.io.File
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
aload 3
invokevirtual javax.swing.JFileChooser.isTraversable:(Ljava/io/File;)Z
ifeq 13
10: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
invokevirtual javax.swing.JList.clearSelection:()V
11: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
aload 3
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.changeDirectory:(Ljava/io/File;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.approveSelection:()V
end local 3 end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 15 1 evt Ljava/awt/event/MouseEvent;
4 14 2 index I
6 14 3 f Ljava/io/File;
Exception table:
from to target type
6 7 8 Class java.io.IOException
MethodParameters:
Name Flags
evt
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
ifnull 7
1: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 2
start local 2 2: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
invokevirtual javax.swing.JList.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 3
start local 3 3: aload 2
aload 3
if_acmpeq 5
4: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
aload 2
invokevirtual javax.swing.JList.setTransferHandler:(Ljavax/swing/TransferHandler;)V
5: StackMap locals: javax.swing.TransferHandler javax.swing.TransferHandler
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getDragEnabled:()Z
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
invokevirtual javax.swing.JList.getDragEnabled:()Z
if_icmpeq 7
6: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.list:Ljavax/swing/JList;
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getDragEnabled:()Z
invokevirtual javax.swing.JList.setDragEnabled:(Z)V
end local 3 end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 8 1 evt Ljava/awt/event/MouseEvent;
2 7 2 th1 Ljavax/swing/TransferHandler;
3 7 3 th2 Ljavax/swing/TransferHandler;
MethodParameters:
Name Flags
evt
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void valueChanged(javax.swing.event.ListSelectionEvent);
descriptor: (Ljavax/swing/event/ListSelectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=16, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.event.ListSelectionEvent.getValueIsAdjusting:()Z
ifne 51
1: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.JFileChooser.getFileSystemView:()Ljavax/swing/filechooser/FileSystemView;
astore 3
start local 3 3: aload 1
invokevirtual javax.swing.event.ListSelectionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JList
astore 4
start local 4 4: aload 2
invokevirtual javax.swing.JFileChooser.getFileSelectionMode:()I
istore 5
start local 5 5: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
getfield javax.swing.plaf.basic.BasicFileChooserUI.usesSingleFilePane:Z
ifeq 8
6: iload 5
ifne 8
7: iconst_1
goto 9
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent javax.swing.JFileChooser javax.swing.filechooser.FileSystemView javax.swing.JList int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 6
start local 6 10: aload 2
invokevirtual javax.swing.JFileChooser.isMultiSelectionEnabled:()Z
ifeq 38
11: aconst_null
astore 7
start local 7 12: aload 4
invokevirtual javax.swing.JList.getSelectedValues:()[Ljava/lang/Object;
astore 8
start local 8 13: aload 8
ifnull 36
14: aload 8
arraylength
iconst_1
if_icmpne 21
15: aload 8
iconst_0
aaload
checkcast java.io.File
invokevirtual java.io.File.isDirectory:()Z
ifeq 21
16: aload 2
aload 8
iconst_0
aaload
checkcast java.io.File
invokevirtual javax.swing.JFileChooser.isTraversable:(Ljava/io/File;)Z
ifeq 21
17: iload 6
ifne 18
aload 3
aload 8
iconst_0
aaload
checkcast java.io.File
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifne 21
18: StackMap locals: int java.io.File[] java.lang.Object[]
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
iconst_1
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectorySelected:(Z)V
19: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
aload 8
iconst_0
aaload
checkcast java.io.File
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectory:(Ljava/io/File;)V
20: goto 36
21: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 8
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 9
start local 9 22: aload 8
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 32
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent javax.swing.JFileChooser javax.swing.filechooser.FileSystemView javax.swing.JList int int java.io.File[] java.lang.Object[] java.util.ArrayList top int int java.lang.Object[]
StackMap stack:
23: aload 13
iload 11
aaload
astore 10
start local 10 24: aload 10
checkcast java.io.File
astore 14
start local 14 25: aload 14
invokevirtual java.io.File.isDirectory:()Z
istore 15
start local 15 26: aload 2
invokevirtual javax.swing.JFileChooser.isFileSelectionEnabled:()Z
ifeq 27
iload 15
ifeq 30
27: StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent javax.swing.JFileChooser javax.swing.filechooser.FileSystemView javax.swing.JList int int java.io.File[] java.lang.Object[] java.util.ArrayList java.lang.Object int int java.lang.Object[] java.io.File int
StackMap stack:
aload 2
invokevirtual javax.swing.JFileChooser.isDirectorySelectionEnabled:()Z
ifeq 31
28: aload 3
aload 14
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifeq 31
29: iload 15
ifeq 31
30: StackMap locals:
StackMap stack:
aload 9
aload 14
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 14 end local 10 31: StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent javax.swing.JFileChooser javax.swing.filechooser.FileSystemView javax.swing.JList int int java.io.File[] java.lang.Object[] java.util.ArrayList top int int java.lang.Object[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
32: iload 11
iload 12
if_icmplt 23
33: aload 9
invokevirtual java.util.ArrayList.size:()I
ifle 35
34: aload 9
aload 9
invokevirtual java.util.ArrayList.size:()I
anewarray java.io.File
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.io.File[]
astore 7
35: StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent javax.swing.JFileChooser javax.swing.filechooser.FileSystemView javax.swing.JList int int java.io.File[] java.lang.Object[] java.util.ArrayList
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
iconst_0
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectorySelected:(Z)V
end local 9 36: StackMap locals:
StackMap stack:
aload 2
aload 7
invokevirtual javax.swing.JFileChooser.setSelectedFiles:([Ljava/io/File;)V
end local 8 end local 7 37: goto 51
38: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.JList.getSelectedValue:()Ljava/lang/Object;
checkcast java.io.File
astore 7
start local 7 39: aload 7
ifnull 48
40: aload 7
invokevirtual java.io.File.isDirectory:()Z
ifeq 48
41: aload 2
aload 7
invokevirtual javax.swing.JFileChooser.isTraversable:(Ljava/io/File;)Z
ifeq 48
42: iload 6
ifne 43
aload 3
aload 7
invokevirtual javax.swing.filechooser.FileSystemView.isFileSystem:(Ljava/io/File;)Z
ifne 48
43: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
iconst_1
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectorySelected:(Z)V
44: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
aload 7
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectory:(Ljava/io/File;)V
45: aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
getfield javax.swing.plaf.basic.BasicFileChooserUI.usesSingleFilePane:Z
ifeq 51
46: aload 2
aconst_null
invokevirtual javax.swing.JFileChooser.setSelectedFile:(Ljava/io/File;)V
47: goto 51
48: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicFileChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicFileChooserUI;
iconst_0
invokevirtual javax.swing.plaf.basic.BasicFileChooserUI.setDirectorySelected:(Z)V
49: aload 7
ifnull 51
50: aload 2
aload 7
invokevirtual javax.swing.JFileChooser.setSelectedFile:(Ljava/io/File;)V
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 51: StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$Handler javax.swing.event.ListSelectionEvent
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$Handler;
0 52 1 evt Ljavax/swing/event/ListSelectionEvent;
2 51 2 chooser Ljavax/swing/JFileChooser;
3 51 3 fsv Ljavax/swing/filechooser/FileSystemView;
4 51 4 list Ljavax/swing/JList;
5 51 5 fsm I
10 51 6 useSetDirectory Z
12 37 7 files [Ljava/io/File;
13 37 8 objects [Ljava/lang/Object;
22 36 9 fList Ljava/util/ArrayList<Ljava/io/File;>;
24 31 10 object Ljava/lang/Object;
25 31 14 f Ljava/io/File;
26 31 15 isDir Z
39 51 7 file Ljava/io/File;
MethodParameters:
Name Flags
evt
}
SourceFile: "BasicFileChooserUI.java"
NestHost: javax.swing.plaf.basic.BasicFileChooserUI
InnerClasses:
private Handler = javax.swing.plaf.basic.BasicFileChooserUI$Handler of javax.swing.plaf.basic.BasicFileChooserUI