public class javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel extends javax.swing.AbstractListModel implements javax.swing.ComboBoxModel, java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel
super_class: javax.swing.AbstractListModel
{
protected javax.swing.filechooser.FileFilter[] filters;
descriptor: [Ljavax/swing/filechooser/FileFilter;
flags: (0x0004) ACC_PROTECTED
final javax.swing.plaf.metal.MetalFileChooserUI this$0;
descriptor: Ljavax/swing/plaf/metal/MetalFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(javax.swing.plaf.metal.MetalFileChooserUI);
descriptor: (Ljavax/swing/plaf/metal/MetalFileChooserUI;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
1: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
2: aload 0
aload 1
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getChoosableFileFilters:()[Ljavax/swing/filechooser/FileFilter;
putfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
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=3, 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 5
2: aload 0
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.filechooser.FileFilter[]
putfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
3: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
4: goto 7
StackMap locals: java.lang.String
StackMap stack:
5: aload 2
ldc "fileFilterChanged"
if_acmpne 7
6: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
0 8 1 e Ljava/beans/PropertyChangeEvent;
1 8 2 prop Ljava/lang/String;
MethodParameters:
Name Flags
e
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
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
aload 1
checkcast javax.swing.filechooser.FileFilter
invokevirtual javax.swing.JFileChooser.setFileFilter:(Ljavax/swing/filechooser/FileFilter;)V
2: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI$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 Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
0 4 1 filter Ljava/lang/Object;
MethodParameters:
Name Flags
filter
public java.lang.Object getSelectedItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getFileFilter:()Ljavax/swing/filechooser/FileFilter;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 1
ifnull 11
3: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel javax.swing.filechooser.FileFilter int top int int javax.swing.filechooser.FileFilter[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 1
if_acmpne 7
6: iconst_1
istore 2
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: iload 2
ifne 11
10: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
aload 1
invokevirtual javax.swing.JFileChooser.addChoosableFileFilter:(Ljavax/swing/filechooser/FileFilter;)V
11: StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel javax.swing.filechooser.FileFilter int
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getFileFilter:()Ljavax/swing/filechooser/FileFilter;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
1 12 1 currentFilter Ljavax/swing/filechooser/FileFilter;
2 12 2 found Z
5 7 3 filter Ljavax/swing/filechooser/FileFilter;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
ifnull 2
1: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
arraylength
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
public java.lang.Object getElementAt(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.getSize:()I
iconst_1
isub
if_icmple 2
1: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.this$0:Ljavax/swing/plaf/metal/MetalFileChooserUI;
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getFileFilter:()Ljavax/swing/filechooser/FileFilter;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
ifnull 4
3: aload 0
getfield javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel.filters:[Ljavax/swing/filechooser/FileFilter;
iload 1
aaload
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$FilterComboBoxModel;
0 5 1 index I
MethodParameters:
Name Flags
index
}
SourceFile: "MetalFileChooserUI.java"
NestHost: javax.swing.plaf.metal.MetalFileChooserUI
InnerClasses:
protected FilterComboBoxModel = javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel of javax.swing.plaf.metal.MetalFileChooserUI