public class com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer extends javax.swing.JPanel implements javax.swing.tree.TreeCellRenderer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer
super_class: javax.swing.JPanel
{
protected final javax.swing.JLabel iconLabel;
descriptor: Ljavax/swing/JLabel;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final javax.swing.JLabel nameLabel;
descriptor: Ljavax/swing/JLabel;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private boolean isSelected;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public final java.awt.Color selectedBackground;
descriptor: Ljava/awt/Color;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.awt.Color selectedForeground;
descriptor: Ljava/awt/Color;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.awt.Font nameFont;
descriptor: Ljava/awt/Font;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
new java.awt.Color
dup
sipush 255
sipush 244
sipush 232
invokespecial java.awt.Color.<init>:(III)V
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.selectedBackground:Ljava/awt/Color;
2: aload 0
new java.awt.Color
dup
bipush 64
bipush 32
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.selectedForeground:Ljava/awt/Color;
3: aload 0
new java.awt.Font
dup
ldc "Arial"
iconst_1
bipush 12
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameFont:Ljava/awt/Font;
4: new java.awt.FlowLayout
dup
iconst_0
iconst_1
iconst_1
invokespecial java.awt.FlowLayout.<init>:(III)V
astore 1
start local 1 5: aload 0
aload 1
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.setLayout:(Ljava/awt/LayoutManager;)V
6: aload 0
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.iconLabel:Ljavax/swing/JLabel;
7: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.iconLabel:Ljavax/swing/JLabel;
iconst_0
invokevirtual javax.swing.JLabel.setOpaque:(Z)V
8: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.iconLabel:Ljavax/swing/JLabel;
aconst_null
invokevirtual javax.swing.JLabel.setBorder:(Ljavax/swing/border/Border;)V
9: aload 0
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.iconLabel:Ljavax/swing/JLabel;
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
10: aload 0
iconst_5
invokestatic javax.swing.Box.createHorizontalStrut:(I)Ljava/awt/Component;
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
11: aload 0
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
12: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
iconst_0
invokevirtual javax.swing.JLabel.setOpaque:(Z)V
13: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
aconst_null
invokevirtual javax.swing.JLabel.setBorder:(Ljavax/swing/border/Border;)V
14: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameFont:Ljava/awt/Font;
invokevirtual javax.swing.JLabel.setFont:(Ljava/awt/Font;)V
15: aload 0
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
16: aload 0
iconst_0
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.isSelected:Z
17: aload 0
iconst_0
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.setOpaque:(Z)V
18: aload 0
aconst_null
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.setBorder:(Ljavax/swing/border/Border;)V
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/xml/internal/xsom/impl/util/SchemaTreeTraverser$SchemaTreeCellRenderer;
5 20 1 fl Ljava/awt/FlowLayout;
public final void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.getHeight:()I
istore 3
start local 3 2: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.isSelected:Z
ifeq 7
3: aload 1
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.selectedBackground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 1
iconst_0
iconst_0
iload 2
iconst_1
isub
iload 3
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
5: aload 1
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.selectedForeground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 1
iconst_0
iconst_0
iload 2
iconst_1
isub
iload 3
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
7: StackMap locals: int int
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.JPanel.paintComponent:(Ljava/awt/Graphics;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/xml/internal/xsom/impl/util/SchemaTreeTraverser$SchemaTreeCellRenderer;
0 9 1 g Ljava/awt/Graphics;
1 9 2 width I
2 9 3 height I
MethodParameters:
Name Flags
g
protected final void setValues(javax.swing.Icon, java.lang.String, boolean);
descriptor: (Ljavax/swing/Icon;Ljava/lang/String;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.iconLabel:Ljavax/swing/JLabel;
aload 1
invokevirtual javax.swing.JLabel.setIcon:(Ljavax/swing/Icon;)V
1: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
aload 2
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
2: aload 0
iload 3
putfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.isSelected:Z
3: iload 3
ifeq 6
4: aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.selectedForeground:Ljava/awt/Color;
invokevirtual javax.swing.JLabel.setForeground:(Ljava/awt/Color;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.nameLabel:Ljavax/swing/JLabel;
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual javax.swing.JLabel.setForeground:(Ljava/awt/Color;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/xsom/impl/util/SchemaTreeTraverser$SchemaTreeCellRenderer;
0 8 1 icon Ljavax/swing/Icon;
0 8 2 caption Ljava/lang/String;
0 8 3 selected Z
MethodParameters:
Name Flags
icon
caption
selected
public final java.awt.Component getTreeCellRendererComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int, boolean);
descriptor: (Ljavax/swing/JTree;Ljava/lang/Object;ZZZIZ)Ljava/awt/Component;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
instanceof com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeNode
ifeq 4
1: aload 2
checkcast com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeNode
astore 8
start local 8 2: aload 0
aconst_null
aload 8
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeNode.getCaption:()Ljava/lang/String;
iload 3
invokevirtual com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer.setValues:(Ljavax/swing/Icon;Ljava/lang/String;Z)V
3: aload 0
areturn
end local 8 4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Unknown node"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
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 5 0 this Lcom/sun/xml/internal/xsom/impl/util/SchemaTreeTraverser$SchemaTreeCellRenderer;
0 5 1 tree Ljavax/swing/JTree;
0 5 2 value Ljava/lang/Object;
0 5 3 selected Z
0 5 4 expanded Z
0 5 5 leaf Z
0 5 6 row I
0 5 7 hasFocus Z
2 4 8 stn Lcom/sun/xml/internal/xsom/impl/util/SchemaTreeTraverser$SchemaTreeNode;
MethodParameters:
Name Flags
tree
value
selected
expanded
leaf
row
hasFocus
}
SourceFile: "SchemaTreeTraverser.java"
NestHost: com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser
InnerClasses:
public SchemaTreeCellRenderer = com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeCellRenderer of com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser
public SchemaTreeNode = com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser$SchemaTreeNode of com.sun.xml.internal.xsom.impl.util.SchemaTreeTraverser