public class com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel extends javax.swing.AbstractListModel<java.io.File> implements javax.swing.ComboBoxModel<java.io.File>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel
super_class: javax.swing.AbstractListModel
{
java.util.Vector<java.io.File> fDirectories;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<Ljava/io/File;>;
int topIndex;
descriptor: I
flags: (0x0000)
int fPathCount;
descriptor: I
flags: (0x0000)
java.io.File fSelectedDirectory;
descriptor: Ljava/io/File;
flags: (0x0000)
final com.apple.laf.AquaFileChooserUI this$0;
descriptor: Lcom/apple/laf/AquaFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.apple.laf.AquaFileChooserUI);
descriptor: (Lcom/apple/laf/AquaFileChooserUI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
1: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
3: aload 0
iconst_m1
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.topIndex:I
4: aload 0
iconst_0
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fPathCount:I
5: aload 0
aconst_null
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fSelectedDirectory:Ljava/io/File;
6: aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getCurrentDirectory:()Ljava/io/File;
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.addItem:(Ljava/io/File;)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
MethodParameters:
Name Flags
this$0 final
private void removeSelectedDirectory();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
1: aload 0
iconst_0
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fPathCount:I
2: aload 0
aconst_null
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fSelectedDirectory:Ljava/io/File;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
void addItem(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fSelectedDirectory:Ljava/io/File;
ifnull 3
2: aload 0
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.removeSelectedDirectory:()V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 2
start local 2 4: new java.util.Vector
dup
bipush 10
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 5: goto 8
6: StackMap locals: java.io.File java.util.Vector
StackMap stack:
aload 3
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
7: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getFileSystemView:()Ljavax/swing/filechooser/FileSystemView;
aload 2
invokevirtual java.io.File.getParent:()Ljava/lang/String;
invokevirtual javax.swing.filechooser.FileSystemView.createFileObject:(Ljava/lang/String;)Ljava/io/File;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.getParent:()Ljava/lang/String;
ifnonnull 6
9: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getFileSystemView:()Ljavax/swing/filechooser/FileSystemView;
invokevirtual javax.swing.filechooser.FileSystemView.getRoots:()[Ljava/io/File;
astore 4
start local 4 10: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 14
StackMap locals: com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel java.io.File java.io.File java.util.Vector java.io.File[] top int int java.io.File[]
StackMap stack:
11: aload 8
iload 6
aaload
astore 5
start local 5 12: aload 3
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 5 13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 7
if_icmplt 11
15: aload 0
aload 3
invokevirtual java.util.Vector.size:()I
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fPathCount:I
16: iconst_0
istore 5
start local 5 17: goto 20
18: StackMap locals: com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel java.io.File java.io.File java.util.Vector java.io.File[] int
StackMap stack:
aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
aload 3
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.io.File
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
19: iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 3
invokevirtual java.util.Vector.size:()I
if_icmplt 18
end local 5 21: aload 0
aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
22: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
0 23 1 directory Ljava/io/File;
4 23 2 f Ljava/io/File;
5 23 3 path Ljava/util/Vector<Ljava/io/File;>;
10 23 4 roots [Ljava/io/File;
12 13 5 element Ljava/io/File;
17 21 5 i I
MethodParameters:
Name Flags
directory final
public void setSelectedItem(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast java.io.File
putfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fSelectedDirectory:Ljava/io/File;
1: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
0 3 1 selectedDirectory Ljava/lang/Object;
MethodParameters:
Name Flags
selectedDirectory final
public java.lang.Object getSelectedItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fSelectedDirectory:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
public java.io.File getElementAt(int);
descriptor: (I)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.fDirectories:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.io.File
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
0 1 1 index I
MethodParameters:
Name Flags
index final
public java.lang.Object getElementAt(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.getElementAt:(I)Ljava/io/File;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljavax/swing/AbstractListModel<Ljava/io/File;>;Ljavax/swing/ComboBoxModel<Ljava/io/File;>;
SourceFile: "AquaFileChooserUI.java"
NestHost: com.apple.laf.AquaFileChooserUI
InnerClasses:
protected DirectoryComboBoxModel = com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel of com.apple.laf.AquaFileChooserUI