class com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction extends javax.swing.AbstractAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction
super_class: javax.swing.AbstractAction
{
final boolean expand;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean recursive;
descriptor: Z
flags: (0x0010) ACC_FINAL
final com.apple.laf.AquaTreeUI this$0;
descriptor: Lcom/apple/laf/AquaTreeUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.apple.laf.AquaTreeUI, boolean, boolean);
descriptor: (Lcom/apple/laf/AquaTreeUI;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
start local 2 // boolean expand
start local 3 // boolean recursive
0: .line 506
aload 0 /* this */
aload 1
putfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
aload 0 /* this */
invokespecial javax.swing.AbstractAction.<init>:()V
1: .line 507
aload 0 /* this */
iload 2 /* expand */
putfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.expand:Z
2: .line 508
aload 0 /* this */
iload 3 /* recursive */
putfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.recursive:Z
3: .line 509
return
end local 3 // boolean recursive
end local 2 // boolean expand
end local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaTreeUI$KeyboardExpandCollapseAction;
0 4 2 expand Z
0 4 3 recursive Z
MethodParameters:
Name Flags
this$0 final
expand final
recursive final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 512
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
ifnull 1
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
invokevirtual com.apple.laf.AquaTreeUI.getRowCount:(Ljavax/swing/JTree;)I
ifge 2
StackMap locals:
StackMap stack:
1: return
2: .line 514
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getSelectionPaths:()[Ljavax/swing/tree/TreePath;
astore 2 /* selectionPaths */
start local 2 // javax.swing.tree.TreePath[] selectionPaths
3: .line 515
aload 2 /* selectionPaths */
ifnonnull 4
return
4: .line 517
StackMap locals: javax.swing.tree.TreePath[]
StackMap stack:
aload 2 /* selectionPaths */
arraylength
iconst_1
isub
istore 3 /* i */
start local 3 // int i
5: goto 18
6: .line 518
StackMap locals: int
StackMap stack:
aload 2 /* selectionPaths */
iload 3 /* i */
aaload
astore 4 /* path */
start local 4 // javax.swing.tree.TreePath path
7: .line 523
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.expand:Z
ifeq 10
8: .line 524
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
aload 4 /* path */
invokevirtual javax.swing.JTree.getRowForPath:(Ljavax/swing/tree/TreePath;)I
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.recursive:Z
invokevirtual com.apple.laf.AquaTreeUI.expandNode:(IZ)V
9: .line 525
goto 17
10: .line 531
StackMap locals: javax.swing.tree.TreePath
StackMap stack:
aload 2 /* selectionPaths */
arraylength
iconst_1
if_icmpne 16
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
aload 4 /* path */
invokevirtual javax.swing.JTree.isCollapsed:(Ljavax/swing/tree/TreePath;)Z
ifeq 16
11: .line 532
aload 4 /* path */
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 5 /* parentPath */
start local 5 // javax.swing.tree.TreePath parentPath
12: .line 533
aload 5 /* parentPath */
ifnull 17
aload 5 /* parentPath */
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
ifnonnull 13
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.isRootVisible:()Z
ifeq 17
13: .line 534
StackMap locals: javax.swing.tree.TreePath
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
aload 5 /* parentPath */
invokevirtual javax.swing.JTree.scrollPathToVisible:(Ljavax/swing/tree/TreePath;)V
14: .line 535
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
aload 5 /* parentPath */
invokevirtual javax.swing.JTree.setSelectionPath:(Ljavax/swing/tree/TreePath;)V
15: .line 537
goto 17
end local 5 // javax.swing.tree.TreePath parentPath
16: .line 540
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
aload 4 /* path */
invokevirtual javax.swing.JTree.getRowForPath:(Ljavax/swing/tree/TreePath;)I
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.recursive:Z
invokevirtual com.apple.laf.AquaTreeUI.collapseNode:(IZ)V
end local 4 // javax.swing.tree.TreePath path
17: .line 517
StackMap locals:
StackMap stack:
iinc 3 /* i */ -1
StackMap locals:
StackMap stack:
18: iload 3 /* i */
ifge 6
end local 3 // int i
19: .line 542
return
end local 2 // javax.swing.tree.TreePath[] selectionPaths
end local 1 // java.awt.event.ActionEvent e
end local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/apple/laf/AquaTreeUI$KeyboardExpandCollapseAction;
0 20 1 e Ljava/awt/event/ActionEvent;
3 20 2 selectionPaths [Ljavax/swing/tree/TreePath;
5 19 3 i I
7 17 4 path Ljavax/swing/tree/TreePath;
12 16 5 parentPath Ljavax/swing/tree/TreePath;
MethodParameters:
Name Flags
e final
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
0: .line 545
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
ifnull 1
aload 0 /* this */
getfield com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction.this$0:Lcom/apple/laf/AquaTreeUI;
invokestatic com.apple.laf.AquaTreeUI.access$0:(Lcom/apple/laf/AquaTreeUI;)Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.isEnabled:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 // com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaTreeUI$KeyboardExpandCollapseAction;
}
SourceFile: "AquaTreeUI.java"
NestHost: com.apple.laf.AquaTreeUI
InnerClasses:
KeyboardExpandCollapseAction = com.apple.laf.AquaTreeUI$KeyboardExpandCollapseAction of com.apple.laf.AquaTreeUI