class com.apple.laf.AquaFileChooserUI$2 implements java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.laf.AquaFileChooserUI$2
super_class: java.lang.Object
{
final com.apple.laf.AquaFileChooserUI this$0;
descriptor: Lcom/apple/laf/AquaFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.apple.laf.AquaFileChooserUI);
descriptor: (Lcom/apple/laf/AquaFileChooserUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.apple.laf.AquaFileChooserUI$2 this
0: .line 363
aload 0 /* this */
aload 1
putfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.apple.laf.AquaFileChooserUI$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaFileChooserUI$2;
MethodParameters:
Name Flags
this$0 final
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 // com.apple.laf.AquaFileChooserUI$2 this
start local 1 // java.beans.PropertyChangeEvent e
0: .line 365
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2 /* prop */
start local 2 // java.lang.String prop
1: .line 366
aload 2 /* prop */
ldc "SelectedFileChangedProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
2: .line 367
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.io.File
astore 3 /* f */
start local 3 // java.io.File f
3: .line 368
aload 3 /* f */
ifnull 8
4: .line 371
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.selectionInProgress:Z
ifne 6
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getModel:()Lcom/apple/laf/AquaFileSystemModel;
aload 3 /* f */
invokevirtual com.apple.laf.AquaFileSystemModel.contains:(Ljava/io/File;)Z
ifeq 6
5: .line 372
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getModel:()Lcom/apple/laf/AquaFileSystemModel;
aload 3 /* f */
invokevirtual com.apple.laf.AquaFileSystemModel.indexOf:(Ljava/io/File;)I
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.setSelectedIndex:(I)V
6: .line 377
StackMap locals: java.lang.String java.io.File
StackMap stack:
aload 3 /* f */
invokevirtual java.io.File.isDirectory:()Z
ifne 8
7: .line 378
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
aload 3 /* f */
invokevirtual javax.swing.JFileChooser.getName:(Ljava/io/File;)Ljava/lang/String;
invokevirtual com.apple.laf.AquaFileChooserUI.setFileName:(Ljava/lang/String;)V
8: .line 381
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.updateButtonState:(Ljavax/swing/JFileChooser;)V
end local 3 // java.io.File f
9: .line 382
goto 59
StackMap locals:
StackMap stack:
10: aload 2 /* prop */
ldc "directoryChanged"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
11: .line 383
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.clearSelection:()V
12: .line 384
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getCurrentDirectory:()Ljava/io/File;
astore 3 /* currentDirectory */
start local 3 // java.io.File currentDirectory
13: .line 385
aload 3 /* currentDirectory */
ifnull 16
14: .line 386
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fDirectoryComboBoxModel:Lcom/apple/laf/AquaFileChooserUI$DirectoryComboBoxModel;
aload 3 /* currentDirectory */
invokevirtual com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel.addItem:(Ljava/io/File;)V
15: .line 390
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
iconst_5
invokevirtual com.apple.laf.AquaFileChooserUI.getAction:(I)Ljavax/swing/AbstractAction;
aload 3 /* currentDirectory */
invokevirtual java.io.File.canWrite:()Z
invokevirtual javax.swing.AbstractAction.setEnabled:(Z)V
16: .line 392
StackMap locals: java.io.File
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.updateButtonState:(Ljavax/swing/JFileChooser;)V
end local 3 // java.io.File currentDirectory
17: .line 393
goto 59
StackMap locals:
StackMap stack:
18: aload 2 /* prop */
ldc "fileSelectionChanged"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
19: .line 394
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.clearSelection:()V
20: .line 395
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.setBottomPanelForMode:(Ljavax/swing/JFileChooser;)V
21: .line 396
goto 59
StackMap locals:
StackMap stack:
22: aload 2 /* prop */
ldc "AccessoryChangedProperty"
if_acmpne 30
23: .line 397
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getAccessoryPanel:()Ljavax/swing/JPanel;
ifnull 59
24: .line 398
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
ifnull 26
25: .line 399
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getAccessoryPanel:()Ljavax/swing/JPanel;
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
checkcast javax.swing.JComponent
invokevirtual javax.swing.JPanel.remove:(Ljava/awt/Component;)V
26: .line 401
StackMap locals:
StackMap stack:
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.JComponent
astore 3 /* accessory */
start local 3 // javax.swing.JComponent accessory
27: .line 402
aload 3 /* accessory */
ifnull 59
28: .line 403
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getAccessoryPanel:()Ljavax/swing/JPanel;
aload 3 /* accessory */
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
end local 3 // javax.swing.JComponent accessory
29: .line 406
goto 59
StackMap locals:
StackMap stack:
30: aload 2 /* prop */
ldc "ApproveButtonTextChangedProperty"
if_acmpne 34
31: .line 407
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.updateApproveButton:(Ljavax/swing/JFileChooser;)V
32: .line 408
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.invalidate:()V
33: .line 409
goto 59
StackMap locals:
StackMap stack:
34: aload 2 /* prop */
ldc "DialogTypeChangedProperty"
if_acmpne 42
35: .line 410
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.getDialogType:()I
iconst_1
if_icmpne 38
36: .line 411
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
ldc "FileChooser.saveDialogFileNameLabelText"
ldc "Save As:"
invokevirtual com.apple.laf.AquaFileChooserUI.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic com.apple.laf.AquaFileChooserUI.fileNameLabelText:Ljava/lang/String;
37: .line 412
goto 39
38: .line 413
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
ldc "FileChooser.fileNameLabelText"
ldc "Name:"
invokevirtual com.apple.laf.AquaFileChooserUI.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic com.apple.laf.AquaFileChooserUI.fileNameLabelText:Ljava/lang/String;
39: .line 415
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fTextFieldLabel:Ljavax/swing/JLabel;
getstatic com.apple.laf.AquaFileChooserUI.fileNameLabelText:Ljava/lang/String;
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
40: .line 418
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.setBottomPanelForMode:(Ljavax/swing/JFileChooser;)V
41: .line 419
goto 59
StackMap locals:
StackMap stack:
42: aload 2 /* prop */
ldc "ApproveButtonMnemonicChangedProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: .line 420
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.getApproveButton:(Ljavax/swing/JFileChooser;)Ljavax/swing/JButton;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual com.apple.laf.AquaFileChooserUI.getApproveButtonMnemonic:(Ljavax/swing/JFileChooser;)I
invokevirtual javax.swing.JButton.setMnemonic:(I)V
44: .line 421
goto 59
StackMap locals:
StackMap stack:
45: aload 2 /* prop */
ldc "JFileChooser.packageIsTraversable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
46: .line 422
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
invokevirtual com.apple.laf.AquaFileChooserUI.setPackageIsTraversable:(Ljava/lang/Object;)V
47: .line 423
goto 59
StackMap locals:
StackMap stack:
48: aload 2 /* prop */
ldc "JFileChooser.appBundleIsTraversable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 51
49: .line 424
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 1 /* e */
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
invokevirtual com.apple.laf.AquaFileChooserUI.setApplicationIsTraversable:(Ljava/lang/Object;)V
50: .line 425
goto 59
StackMap locals:
StackMap stack:
51: aload 2 /* prop */
ldc "MultiSelectionEnabledChangedProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 57
52: .line 426
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
invokevirtual com.apple.laf.AquaFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
invokevirtual javax.swing.JFileChooser.isMultiSelectionEnabled:()Z
ifeq 55
53: .line 427
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getSelectionModel:()Ljavax/swing/ListSelectionModel;
iconst_2
invokeinterface javax.swing.ListSelectionModel.setSelectionMode:(I)V
54: .line 428
goto 59
55: .line 429
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
getfield com.apple.laf.AquaFileChooserUI.fFileList:Lcom/apple/laf/AquaFileChooserUI$JTableExtension;
invokevirtual com.apple.laf.AquaFileChooserUI$JTableExtension.getSelectionModel:()Ljavax/swing/ListSelectionModel;
iconst_0
invokeinterface javax.swing.ListSelectionModel.setSelectionMode:(I)V
56: .line 431
goto 59
StackMap locals:
StackMap stack:
57: aload 2 /* prop */
ldc "ControlButtonsAreShownChangedProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
58: .line 432
aload 0 /* this */
getfield com.apple.laf.AquaFileChooserUI$2.this$0:Lcom/apple/laf/AquaFileChooserUI;
aload 1 /* e */
invokevirtual com.apple.laf.AquaFileChooserUI.doControlButtonsChanged:(Ljava/beans/PropertyChangeEvent;)V
59: .line 434
StackMap locals:
StackMap stack:
return
end local 2 // java.lang.String prop
end local 1 // java.beans.PropertyChangeEvent e
end local 0 // com.apple.laf.AquaFileChooserUI$2 this
LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Lcom/apple/laf/AquaFileChooserUI$2;
0 60 1 e Ljava/beans/PropertyChangeEvent;
1 60 2 prop Ljava/lang/String;
3 9 3 f Ljava/io/File;
13 17 3 currentDirectory Ljava/io/File;
27 29 3 accessory Ljavax/swing/JComponent;
MethodParameters:
Name Flags
e final
}
SourceFile: "AquaFileChooserUI.java"
EnclosingMethod: com.apple.laf.AquaFileChooserUI.createPropertyChangeListener:(Ljavax/swing/JFileChooser;)Ljava/beans/PropertyChangeListener;
NestHost: com.apple.laf.AquaFileChooserUI
InnerClasses:
com.apple.laf.AquaFileChooserUI$2
protected DirectoryComboBoxModel = com.apple.laf.AquaFileChooserUI$DirectoryComboBoxModel of com.apple.laf.AquaFileChooserUI
JTableExtension = com.apple.laf.AquaFileChooserUI$JTableExtension of com.apple.laf.AquaFileChooserUI