public class javax.swing.tree.DefaultTreeCellEditor implements java.awt.event.ActionListener, javax.swing.tree.TreeCellEditor, javax.swing.event.TreeSelectionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.tree.DefaultTreeCellEditor
super_class: java.lang.Object
{
protected javax.swing.tree.TreeCellEditor realEditor;
descriptor: Ljavax/swing/tree/TreeCellEditor;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.tree.DefaultTreeCellRenderer renderer;
descriptor: Ljavax/swing/tree/DefaultTreeCellRenderer;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Container editingContainer;
descriptor: Ljava/awt/Container;
flags: (0x0004) ACC_PROTECTED
protected transient java.awt.Component editingComponent;
descriptor: Ljava/awt/Component;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected boolean canEdit;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected transient int offset;
descriptor: I
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient javax.swing.JTree tree;
descriptor: Ljavax/swing/JTree;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient javax.swing.tree.TreePath lastPath;
descriptor: Ljavax/swing/tree/TreePath;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient int lastRow;
descriptor: I
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected java.awt.Color borderSelectionColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected transient javax.swing.Icon editingIcon;
descriptor: Ljavax/swing/Icon;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected java.awt.Font font;
descriptor: Ljava/awt/Font;
flags: (0x0004) ACC_PROTECTED
public void <init>(javax.swing.JTree, javax.swing.tree.DefaultTreeCellRenderer);
descriptor: (Ljavax/swing/JTree;Ljavax/swing/tree/DefaultTreeCellRenderer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial javax.swing.tree.DefaultTreeCellEditor.<init>:(Ljavax/swing/JTree;Ljavax/swing/tree/DefaultTreeCellRenderer;Ljavax/swing/tree/TreeCellEditor;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 2 1 tree Ljavax/swing/JTree;
0 2 2 renderer Ljavax/swing/tree/DefaultTreeCellRenderer;
MethodParameters:
Name Flags
tree
renderer
public void <init>(javax.swing.JTree, javax.swing.tree.DefaultTreeCellRenderer, javax.swing.tree.TreeCellEditor);
descriptor: (Ljavax/swing/JTree;Ljavax/swing/tree/DefaultTreeCellRenderer;Ljavax/swing/tree/TreeCellEditor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
2: aload 0
aload 3
putfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
3: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
ifnonnull 5
4: aload 0
aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.createTreeCellEditor:()Ljavax/swing/tree/TreeCellEditor;
putfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
5: StackMap locals: javax.swing.tree.DefaultTreeCellEditor javax.swing.JTree javax.swing.tree.DefaultTreeCellRenderer javax.swing.tree.TreeCellEditor
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.createContainer:()Ljava/awt/Container;
putfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
6: aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeCellEditor.setTree:(Ljavax/swing/JTree;)V
7: aload 0
8: ldc "Tree.editorBorderSelectionColor"
9: invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.tree.DefaultTreeCellEditor.setBorderSelectionColor:(Ljava/awt/Color;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 11 1 tree Ljavax/swing/JTree;
0 11 2 renderer Ljavax/swing/tree/DefaultTreeCellRenderer;
0 11 3 editor Ljavax/swing/tree/TreeCellEditor;
MethodParameters:
Name Flags
tree
renderer
editor
public void setBorderSelectionColor(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.tree.DefaultTreeCellEditor.borderSelectionColor:Ljava/awt/Color;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 2 1 newColor Ljava/awt/Color;
MethodParameters:
Name Flags
newColor
public java.awt.Color getBorderSelectionColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.borderSelectionColor:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public void setFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.tree.DefaultTreeCellEditor.font:Ljava/awt/Font;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 2 1 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
public java.awt.Font getFont();
descriptor: ()Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.font:Ljava/awt/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public java.awt.Component getTreeCellEditorComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int);
descriptor: (Ljavax/swing/JTree;Ljava/lang/Object;ZZZI)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeCellEditor.setTree:(Ljavax/swing/JTree;)V
1: aload 0
iload 6
putfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
2: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual javax.swing.tree.DefaultTreeCellEditor.determineOffset:(Ljavax/swing/JTree;Ljava/lang/Object;ZZZI)V
3: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
ifnull 5
4: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
invokevirtual java.awt.Container.remove:(Ljava/awt/Component;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
aload 1
aload 2
6: iload 3
iload 4
iload 5
iload 6
7: invokeinterface javax.swing.tree.TreeCellEditor.getTreeCellEditorComponent:(Ljavax/swing/JTree;Ljava/lang/Object;ZZZI)Ljava/awt/Component;
putfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
8: aload 1
iload 6
invokevirtual javax.swing.JTree.getPathForRow:(I)Ljavax/swing/tree/TreePath;
astore 7
start local 7 9: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
ifnull 11
aload 7
ifnull 11
10: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
aload 7
invokevirtual javax.swing.tree.TreePath.equals:(Ljava/lang/Object;)Z
ifeq 11
iconst_1
goto 12
StackMap locals: javax.swing.tree.DefaultTreeCellEditor javax.swing.JTree java.lang.Object int int int int javax.swing.tree.TreePath
StackMap stack: javax.swing.tree.DefaultTreeCellEditor
11: iconst_0
12: StackMap locals: javax.swing.tree.DefaultTreeCellEditor javax.swing.JTree java.lang.Object int int int int javax.swing.tree.TreePath
StackMap stack: javax.swing.tree.DefaultTreeCellEditor int
putfield javax.swing.tree.DefaultTreeCellEditor.canEdit:Z
13: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.getFont:()Ljava/awt/Font;
astore 8
start local 8 14: aload 8
ifnonnull 19
15: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
ifnull 17
16: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getFont:()Ljava/awt/Font;
astore 8
17: StackMap locals: java.awt.Font
StackMap stack:
aload 8
ifnonnull 19
18: aload 1
invokevirtual javax.swing.JTree.getFont:()Ljava/awt/Font;
astore 8
19: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
aload 8
invokevirtual java.awt.Container.setFont:(Ljava/awt/Font;)V
20: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.prepareForEditing:()V
21: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 22 1 tree Ljavax/swing/JTree;
0 22 2 value Ljava/lang/Object;
0 22 3 isSelected Z
0 22 4 expanded Z
0 22 5 leaf Z
0 22 6 row I
9 22 7 newPath Ljavax/swing/tree/TreePath;
14 22 8 font Ljava/awt/Font;
MethodParameters:
Name Flags
tree
value
isSelected
expanded
leaf
row
public java.lang.Object getCellEditorValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
invokeinterface javax.swing.tree.TreeCellEditor.getCellEditorValue:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public boolean isCellEditable(java.util.EventObject);
descriptor: (Ljava/util/EventObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
ifnull 25
3: aload 1
invokevirtual java.util.EventObject.getSource:()Ljava/lang/Object;
instanceof javax.swing.JTree
ifeq 25
4: aload 0
aload 1
invokevirtual java.util.EventObject.getSource:()Ljava/lang/Object;
checkcast javax.swing.JTree
invokevirtual javax.swing.tree.DefaultTreeCellEditor.setTree:(Ljavax/swing/JTree;)V
5: aload 1
instanceof java.awt.event.MouseEvent
ifeq 25
6: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
7: aload 1
checkcast java.awt.event.MouseEvent
invokevirtual java.awt.event.MouseEvent.getX:()I
8: aload 1
checkcast java.awt.event.MouseEvent
invokevirtual java.awt.event.MouseEvent.getY:()I
9: invokevirtual javax.swing.JTree.getPathForLocation:(II)Ljavax/swing/tree/TreePath;
astore 4
start local 4 10: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
ifnull 13
aload 4
ifnull 13
11: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
aload 4
invokevirtual javax.swing.tree.TreePath.equals:(Ljava/lang/Object;)Z
ifeq 13
12: iconst_1
goto 14
StackMap locals: int int javax.swing.tree.TreePath
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 3
15: aload 4
ifnull 25
16: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 4
invokevirtual javax.swing.JTree.getRowForPath:(Ljavax/swing/tree/TreePath;)I
putfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
17: aload 4
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
astore 5
start local 5 18: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
invokevirtual javax.swing.JTree.isRowSelected:(I)Z
istore 6
start local 6 19: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 4
invokevirtual javax.swing.JTree.isExpanded:(Ljavax/swing/tree/TreePath;)Z
istore 7
start local 7 20: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getModel:()Ljavax/swing/tree/TreeModel;
astore 8
start local 8 21: aload 8
aload 5
invokeinterface javax.swing.tree.TreeModel.isLeaf:(Ljava/lang/Object;)Z
istore 9
start local 9 22: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 5
iload 6
23: iload 7
iload 9
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
24: invokevirtual javax.swing.tree.DefaultTreeCellEditor.determineOffset:(Ljavax/swing/JTree;Ljava/lang/Object;ZZZI)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 25: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
aload 1
invokeinterface javax.swing.tree.TreeCellEditor.isCellEditable:(Ljava/util/EventObject;)Z
ifne 27
26: iconst_0
ireturn
27: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeCellEditor.canEditImmediately:(Ljava/util/EventObject;)Z
ifeq 29
28: iconst_1
istore 2
goto 34
29: StackMap locals:
StackMap stack:
iload 3
ifeq 32
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeCellEditor.shouldStartEditingTimer:(Ljava/util/EventObject;)Z
ifeq 32
30: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.startEditingTimer:()V
31: goto 34
32: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
ifnull 34
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifeq 34
33: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
34: StackMap locals:
StackMap stack:
iload 2
ifeq 36
35: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.prepareForEditing:()V
36: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 37 1 event Ljava/util/EventObject;
1 37 2 retValue Z
2 37 3 editable Z
10 25 4 path Ljavax/swing/tree/TreePath;
18 25 5 value Ljava/lang/Object;
19 25 6 isSelected Z
20 25 7 expanded Z
21 25 8 treeModel Ljavax/swing/tree/TreeModel;
22 25 9 leaf Z
MethodParameters:
Name Flags
event
public boolean shouldSelectCell(java.util.EventObject);
descriptor: (Ljava/util/EventObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
aload 1
invokeinterface javax.swing.tree.TreeCellEditor.shouldSelectCell:(Ljava/util/EventObject;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 1 1 event Ljava/util/EventObject;
MethodParameters:
Name Flags
event
public boolean stopCellEditing();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
invokeinterface javax.swing.tree.TreeCellEditor.stopCellEditing:()Z
ifeq 3
1: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.cleanupAfterEditing:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public void cancelCellEditing();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
invokeinterface javax.swing.tree.TreeCellEditor.cancelCellEditing:()V
1: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor.cleanupAfterEditing:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public void addCellEditorListener(javax.swing.event.CellEditorListener);
descriptor: (Ljavax/swing/event/CellEditorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
aload 1
invokeinterface javax.swing.tree.TreeCellEditor.addCellEditorListener:(Ljavax/swing/event/CellEditorListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 2 1 l Ljavax/swing/event/CellEditorListener;
MethodParameters:
Name Flags
l
public void removeCellEditorListener(javax.swing.event.CellEditorListener);
descriptor: (Ljavax/swing/event/CellEditorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
aload 1
invokeinterface javax.swing.tree.TreeCellEditor.removeCellEditorListener:(Ljavax/swing/event/CellEditorListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 2 1 l Ljavax/swing/event/CellEditorListener;
MethodParameters:
Name Flags
l
public javax.swing.event.CellEditorListener[] getCellEditorListeners();
descriptor: ()[Ljavax/swing/event/CellEditorListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.realEditor:Ljavax/swing/tree/TreeCellEditor;
checkcast javax.swing.DefaultCellEditor
invokevirtual javax.swing.DefaultCellEditor.getCellEditorListeners:()[Ljavax/swing/event/CellEditorListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
public void valueChanged(javax.swing.event.TreeSelectionEvent);
descriptor: (Ljavax/swing/event/TreeSelectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
ifnull 4
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getSelectionCount:()I
iconst_1
if_icmpne 3
2: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getSelectionPath:()Ljavax/swing/tree/TreePath;
putfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
goto 4
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
ifnull 6
5: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 7 1 e Ljavax/swing/event/TreeSelectionEvent;
MethodParameters:
Name Flags
e
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
ifnull 2
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
ifnull 2
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastPath:Ljavax/swing/tree/TreePath;
invokevirtual javax.swing.JTree.startEditingAtPath:(Ljavax/swing/tree/TreePath;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 3 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e
protected void setTree(javax.swing.JTree);
descriptor: (Ljavax/swing/JTree;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 1
if_acmpeq 8
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
ifnull 3
2: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 0
invokevirtual javax.swing.JTree.removeTreeSelectionListener:(Ljavax/swing/event/TreeSelectionListener;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
4: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
ifnull 6
5: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 0
invokevirtual javax.swing.JTree.addTreeSelectionListener:(Ljavax/swing/event/TreeSelectionListener;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
ifnull 8
7: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 9 1 newTree Ljavax/swing/JTree;
MethodParameters:
Name Flags
newTree
protected boolean shouldStartEditingTimer(java.util.EventObject);
descriptor: (Ljava/util/EventObject;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.MouseEvent
ifeq 7
1: aload 1
checkcast java.awt.event.MouseEvent
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 7
2: aload 1
checkcast java.awt.event.MouseEvent
astore 2
start local 2 3: aload 2
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_1
if_icmpne 6
4: aload 0
aload 2
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 2
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual javax.swing.tree.DefaultTreeCellEditor.inHitRegion:(II)Z
ifeq 6
5: iconst_1
ireturn
StackMap locals: java.awt.event.MouseEvent
StackMap stack:
6: iconst_0
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 8 1 event Ljava/util/EventObject;
3 7 2 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
event
protected void startEditingTimer();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
ifnonnull 3
1: aload 0
new javax.swing.Timer
dup
sipush 1200
aload 0
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
2: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
iconst_0
invokevirtual javax.swing.Timer.setRepeats:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
protected boolean canEditImmediately(java.util.EventObject);
descriptor: (Ljava/util/EventObject;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.MouseEvent
ifeq 7
1: aload 1
checkcast java.awt.event.MouseEvent
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 7
2: aload 1
checkcast java.awt.event.MouseEvent
astore 2
start local 2 3: aload 2
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_2
if_icmple 6
4: aload 0
aload 2
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 2
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual javax.swing.tree.DefaultTreeCellEditor.inHitRegion:(II)Z
ifeq 6
5: iconst_1
ireturn
StackMap locals: java.awt.event.MouseEvent
StackMap stack:
6: iconst_0
ireturn
end local 2 7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 9 1 event Ljava/util/EventObject;
3 7 2 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
event
protected boolean inHitRegion(int, int);
descriptor: (II)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
iconst_m1
if_icmpeq 12
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
ifnull 12
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.lastRow:I
invokevirtual javax.swing.JTree.getRowBounds:(I)Ljava/awt/Rectangle;
astore 3
start local 3 2: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.tree:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getComponentOrientation:()Ljava/awt/ComponentOrientation;
astore 4
start local 4 3: aload 4
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 7
4: aload 3
ifnull 12
iload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
iadd
if_icmpgt 12
5: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
aload 3
getfield java.awt.Rectangle.width:I
iconst_5
isub
if_icmpge 12
6: iconst_0
ireturn
7: StackMap locals: java.awt.Rectangle java.awt.ComponentOrientation
StackMap stack:
aload 3
ifnull 12
8: iload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
isub
iconst_5
iadd
if_icmpge 10
9: iload 1
aload 3
getfield java.awt.Rectangle.x:I
iconst_5
iadd
if_icmpgt 12
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
aload 3
getfield java.awt.Rectangle.width:I
iconst_5
isub
if_icmpge 12
11: iconst_0
ireturn
end local 4 end local 3 12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 13 1 x I
0 13 2 y I
2 12 3 bounds Ljava/awt/Rectangle;
3 12 4 treeOrientation Ljava/awt/ComponentOrientation;
MethodParameters:
Name Flags
x
y
protected void determineOffset(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int);
descriptor: (Ljavax/swing/JTree;Ljava/lang/Object;ZZZI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
ifnull 13
1: iload 5
ifeq 3
2: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getLeafIcon:()Ljavax/swing/Icon;
putfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
goto 6
3: StackMap locals:
StackMap stack:
iload 4
ifeq 5
4: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getOpenIcon:()Ljavax/swing/Icon;
putfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getClosedIcon:()Ljavax/swing/Icon;
putfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
ifnull 11
7: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getIconTextGap:()I
8: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
iadd
9: putfield javax.swing.tree.DefaultTreeCellEditor.offset:I
10: goto 15
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getIconTextGap:()I
putfield javax.swing.tree.DefaultTreeCellEditor.offset:I
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
14: aload 0
iconst_0
putfield javax.swing.tree.DefaultTreeCellEditor.offset:I
15: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
0 16 1 tree Ljavax/swing/JTree;
0 16 2 value Ljava/lang/Object;
0 16 3 isSelected Z
0 16 4 expanded Z
0 16 5 leaf Z
0 16 6 row I
MethodParameters:
Name Flags
tree
value
isSelected
expanded
leaf
row
protected void prepareForEditing();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
ifnull 2
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
invokevirtual java.awt.Container.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
protected java.awt.Container createContainer();
descriptor: ()Ljava/awt/Container;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.swing.tree.DefaultTreeCellEditor$EditorContainer
dup
aload 0
invokespecial javax.swing.tree.DefaultTreeCellEditor$EditorContainer.<init>:(Ljavax/swing/tree/DefaultTreeCellEditor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
protected javax.swing.tree.TreeCellEditor createTreeCellEditor();
descriptor: ()Ljavax/swing/tree/TreeCellEditor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=1
start local 0 0: ldc "Tree.editorBorder"
invokestatic javax.swing.UIManager.getBorder:(Ljava/lang/Object;)Ljavax/swing/border/Border;
astore 1
start local 1 1: new javax.swing.tree.DefaultTreeCellEditor$1
dup
aload 0
2: new javax.swing.tree.DefaultTreeCellEditor$DefaultTextField
dup
aload 0
aload 1
invokespecial javax.swing.tree.DefaultTreeCellEditor$DefaultTextField.<init>:(Ljavax/swing/tree/DefaultTreeCellEditor;Ljavax/swing/border/Border;)V
3: invokespecial javax.swing.tree.DefaultTreeCellEditor$1.<init>:(Ljavax/swing/tree/DefaultTreeCellEditor;Ljavax/swing/JTextField;)V
astore 2
start local 2 4: aload 2
iconst_1
invokevirtual javax.swing.DefaultCellEditor.setClickCountToStart:(I)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
1 6 1 aBorder Ljavax/swing/border/Border;
4 6 2 editor Ljavax/swing/DefaultCellEditor;
private void cleanupAfterEditing();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
ifnull 2
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingContainer:Ljava/awt/Container;
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
invokevirtual java.awt.Container.remove:(Ljava/awt/Component;)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultTreeCellEditor;
}
SourceFile: "DefaultTreeCellEditor.java"
NestMembers:
javax.swing.tree.DefaultTreeCellEditor$1 javax.swing.tree.DefaultTreeCellEditor$DefaultTextField javax.swing.tree.DefaultTreeCellEditor$EditorContainer
InnerClasses:
javax.swing.tree.DefaultTreeCellEditor$1
public DefaultTextField = javax.swing.tree.DefaultTreeCellEditor$DefaultTextField of javax.swing.tree.DefaultTreeCellEditor
public EditorContainer = javax.swing.tree.DefaultTreeCellEditor$EditorContainer of javax.swing.tree.DefaultTreeCellEditor