public class javax.swing.tree.DefaultTreeCellEditor$EditorContainer extends java.awt.Container
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.tree.DefaultTreeCellEditor$EditorContainer
super_class: java.awt.Container
{
final javax.swing.tree.DefaultTreeCellEditor this$0;
descriptor: Ljavax/swing/tree/DefaultTreeCellEditor;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.tree.DefaultTreeCellEditor);
descriptor: (Ljavax/swing/tree/DefaultTreeCellEditor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
aload 0
invokespecial java.awt.Container.<init>:()V
1: aload 0
aconst_null
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.setLayout:(Ljava/awt/LayoutManager;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
MethodParameters:
Name Flags
this$0 final
public void EditorContainer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.setLayout:(Ljava/awt/LayoutManager;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getHeight:()I
istore 3
start local 3 2: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
ifnull 11
3: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.calculateIconY:(Ljavax/swing/Icon;)I
istore 4
start local 4 4: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 7
5: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
aload 0
aload 1
iconst_0
iload 4
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
6: goto 11
7: StackMap locals: int int int
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
8: aload 0
aload 1
iload 2
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
isub
9: iload 4
10: invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
end local 4 11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
invokevirtual javax.swing.tree.DefaultTreeCellEditor.getBorderSelectionColor:()Ljava/awt/Color;
astore 4
start local 4 12: aload 4
ifnull 15
13: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 1
iconst_0
iconst_0
iload 2
iconst_1
isub
iload 3
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
15: StackMap locals: java.awt.Color
StackMap stack:
aload 0
aload 1
invokespecial java.awt.Container.paint:(Ljava/awt/Graphics;)V
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
0 17 1 g Ljava/awt/Graphics;
1 17 2 width I
2 17 3 height I
4 11 4 yLoc I
12 17 4 background Ljava/awt/Color;
MethodParameters:
Name Flags
g
public void doLayout();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
ifnull 11
1: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getWidth:()I
istore 1
start local 1 2: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getHeight:()I
istore 2
start local 2 3: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 8
4: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
5: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
iconst_0
iload 1
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
isub
iload 2
6: invokevirtual java.awt.Component.setBounds:(IIII)V
7: goto 11
8: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
9: iconst_0
iconst_0
iload 1
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
isub
iload 2
10: invokevirtual java.awt.Component.setBounds:(IIII)V
end local 2 end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
2 11 1 width I
3 11 2 height I
private int calculateIconY(javax.swing.Icon);
descriptor: (Ljavax/swing/Icon;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.Icon.getIconHeight:()I
istore 2
start local 2 1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
2: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
3: invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
4: invokevirtual java.awt.FontMetrics.getHeight:()I
5: istore 3
start local 3 6: iload 2
iconst_2
idiv
iload 3
iconst_2
idiv
isub
istore 4
start local 4 7: iconst_0
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 8: iload 2
iload 4
iload 3
iadd
invokestatic java.lang.Math.max:(II)I
9: iload 5
10: isub
istore 6
start local 6 11: aload 0
invokevirtual javax.swing.tree.DefaultTreeCellEditor$EditorContainer.getHeight:()I
iconst_2
idiv
iload 5
iload 6
iconst_2
idiv
iadd
isub
ireturn
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 12 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
0 12 1 icon Ljavax/swing/Icon;
1 12 2 iconHeight I
6 12 3 textHeight I
7 12 4 textY I
8 12 5 totalY I
11 12 6 totalHeight I
MethodParameters:
Name Flags
icon
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
ifnull 15
1: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingComponent:Ljava/awt/Component;
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 2: aload 1
dup
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.offset:I
iconst_5
iadd
iadd
putfield java.awt.Dimension.width:I
3: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
ifnull 5
4: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.renderer:Ljavax/swing/tree/DefaultTreeCellRenderer;
invokevirtual javax.swing.tree.DefaultTreeCellRenderer.getPreferredSize:()Ljava/awt/Dimension;
goto 6
StackMap locals: java.awt.Dimension
StackMap stack:
5: aconst_null
6: StackMap locals:
StackMap stack: java.awt.Dimension
astore 2
start local 2 7: aload 2
ifnull 9
8: aload 1
aload 1
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
9: StackMap locals: java.awt.Dimension
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
ifnull 13
10: aload 1
aload 1
getfield java.awt.Dimension.height:I
11: aload 0
getfield javax.swing.tree.DefaultTreeCellEditor$EditorContainer.this$0:Ljavax/swing/tree/DefaultTreeCellEditor;
getfield javax.swing.tree.DefaultTreeCellEditor.editingIcon:Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconHeight:()I
12: invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
13: StackMap locals:
StackMap stack:
aload 1
aload 1
getfield java.awt.Dimension.width:I
bipush 100
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
14: aload 1
areturn
end local 2 end local 1 15: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/tree/DefaultTreeCellEditor$EditorContainer;
2 15 1 pSize Ljava/awt/Dimension;
7 15 2 rSize Ljava/awt/Dimension;
}
SourceFile: "DefaultTreeCellEditor.java"
NestHost: javax.swing.tree.DefaultTreeCellEditor
InnerClasses:
public EditorContainer = javax.swing.tree.DefaultTreeCellEditor$EditorContainer of javax.swing.tree.DefaultTreeCellEditor