public class com.apple.laf.AquaFileChooserUI$FilterComboBoxModel extends javax.swing.DefaultListModel implements javax.swing.ComboBoxModel, java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaFileChooserUI$FilterComboBoxModel
super_class: javax.swing.DefaultListModel
{
int selectedIndex;
descriptor: I
flags: (0x0000)
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=4, locals=4, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
1: aload 0
invokespecial javax.swing.DefaultListModel.<init>:()V
2: aload 0
iconst_m1
putfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.selectedIndex:I
3: aload 1
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getChoosableFileFilters:()[Ljavax/swing/filechooser/FileFilter;
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: com.apple.laf.AquaFileChooserUI$FilterComboBoxModel com.apple.laf.AquaFileChooserUI javax.swing.filechooser.FileFilter[] int
StackMap stack:
aload 0
iload 3
aload 2
iload 3
aaload
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.add:(ILjava/lang/Object;)V
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 9: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/apple/laf/AquaFileChooserUI$FilterComboBoxModel;
4 10 2 filters [Ljavax/swing/filechooser/FileFilter;
5 9 3 i I
MethodParameters:
Name Flags
this$0 final
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "ChoosableFileFilterChangedProperty"
if_acmpne 11
2: aload 0
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.clear:()V
3: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.filechooser.FileFilter[]
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: java.lang.String javax.swing.filechooser.FileFilter[] int
StackMap stack:
aload 0
iload 4
aload 3
iload 4
aaload
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.add:(ILjava/lang/Object;)V
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 3
arraylength
if_icmplt 6
end local 4 9: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
end local 3 10: goto 26
StackMap locals:
StackMap stack:
11: aload 2
ldc "fileFilterChanged"
if_acmpne 26
12: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.filechooser.FileFilter
astore 3
start local 3 13: aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getChoosableFileFilters:()[Ljavax/swing/filechooser/FileFilter;
astore 4
start local 4 14: iconst_0
istore 5
start local 5 15: aload 3
ifnull 24
16: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 21
StackMap locals: com.apple.laf.AquaFileChooserUI$FilterComboBoxModel java.beans.PropertyChangeEvent java.lang.String javax.swing.filechooser.FileFilter javax.swing.filechooser.FileFilter[] int top int int javax.swing.filechooser.FileFilter[]
StackMap stack:
17: aload 9
iload 7
aaload
astore 6
start local 6 18: aload 6
aload 3
if_acmpne 20
19: iconst_1
istore 5
end local 6 20: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iload 8
if_icmplt 17
22: iload 5
ifne 24
23: aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
aload 3
invokevirtual javax.swing.JFileChooser.addChoosableFileFilter:(Ljavax/swing/filechooser/FileFilter;)V
24: StackMap locals: com.apple.laf.AquaFileChooserUI$FilterComboBoxModel java.beans.PropertyChangeEvent java.lang.String javax.swing.filechooser.FileFilter javax.swing.filechooser.FileFilter[] int
StackMap stack:
aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getChoosableFileFilters:()[Ljavax/swing/filechooser/FileFilter;
astore 4
25: aload 0
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
end local 5 end local 4 end local 3 26: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/apple/laf/AquaFileChooserUI$FilterComboBoxModel;
0 27 1 e Ljava/beans/PropertyChangeEvent;
1 27 2 prop Ljava/lang/String;
4 10 3 filters [Ljavax/swing/filechooser/FileFilter;
5 9 4 i I
13 26 3 currentFilter Ljavax/swing/filechooser/FileFilter;
14 26 4 filters [Ljavax/swing/filechooser/FileFilter;
15 26 5 found Z
18 20 6 element Ljavax/swing/filechooser/FileFilter;
MethodParameters:
Name Flags
e 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 1
ifnull 3
1: aload 0
aload 0
aload 1
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.indexOf:(Ljava/lang/Object;)I
putfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.selectedIndex:I
2: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaFileChooserUI$FilterComboBoxModel;
0 4 1 filter Ljava/lang/Object;
MethodParameters:
Name Flags
filter final
public java.lang.Object getSelectedItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.size:()I
ifle 3
2: aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.selectedIndex:I
iconst_m1
if_icmpeq 3
aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.selectedIndex:I
aload 0
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.size:()I
if_icmpge 3
aload 0
aload 0
getfield com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.selectedIndex:I
invokevirtual com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.get:(I)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaFileChooserUI$FilterComboBoxModel;
1 4 1 returnValue Ljava/lang/Object;
}
SourceFile: "AquaFileChooserUI.java"
NestHost: com.apple.laf.AquaFileChooserUI
InnerClasses:
protected FilterComboBoxModel = com.apple.laf.AquaFileChooserUI$FilterComboBoxModel of com.apple.laf.AquaFileChooserUI