public class sun.tools.jconsole.LabeledComponent extends javax.swing.JPanel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.LabeledComponent
super_class: javax.swing.JPanel
{
javax.swing.JPanel rightPanel;
descriptor: Ljavax/swing/JPanel;
flags: (0x0000)
java.lang.String labelStr;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String valueLabelStr;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String compoundStr;
descriptor: Ljava/lang/String;
flags: (0x0000)
javax.swing.JLabel label;
descriptor: Ljavax/swing/JLabel;
flags: (0x0000)
javax.swing.JComponent comp;
descriptor: Ljavax/swing/JComponent;
flags: (0x0000)
public void <init>(java.lang.String, javax.swing.JComponent);
descriptor: (Ljava/lang/String;Ljavax/swing/JComponent;)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
iconst_0
aload 2
invokespecial sun.tools.jconsole.LabeledComponent.<init>:(Ljava/lang/String;ILjavax/swing/JComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/LabeledComponent;
0 2 1 text Ljava/lang/String;
0 2 2 comp Ljavax/swing/JComponent;
MethodParameters:
Name Flags
text
comp
public void <init>(java.lang.String, int, javax.swing.JComponent);
descriptor: (Ljava/lang/String;ILjavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.awt.BorderLayout
dup
bipush 6
bipush 6
invokespecial java.awt.BorderLayout.<init>:(II)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 1
putfield sun.tools.jconsole.LabeledComponent.labelStr:Ljava/lang/String;
2: aload 0
new javax.swing.JLabel
dup
aload 1
iconst_4
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
putfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
3: aload 0
aload 3
putfield sun.tools.jconsole.LabeledComponent.comp:Ljavax/swing/JComponent;
4: aload 0
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
aload 3
invokevirtual javax.swing.JLabel.setLabelFor:(Ljava/awt/Component;)V
5: iload 2
ifle 7
6: aload 0
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
iload 2
invokevirtual javax.swing.JLabel.setDisplayedMnemonic:(I)V
7: StackMap locals: sun.tools.jconsole.LabeledComponent java.lang.String int javax.swing.JComponent
StackMap stack:
aload 0
aload 0
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
ldc "West"
invokevirtual sun.tools.jconsole.LabeledComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
8: aload 0
aload 3
ldc "Center"
invokevirtual sun.tools.jconsole.LabeledComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/jconsole/LabeledComponent;
0 10 1 text Ljava/lang/String;
0 10 2 mnemonic I
0 10 3 comp Ljavax/swing/JComponent;
MethodParameters:
Name Flags
text
mnemonic
comp
public void setLabel(java.lang.String);
descriptor: (Ljava/lang/String;)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 sun.tools.jconsole.LabeledComponent.labelStr:Ljava/lang/String;
1: aload 0
invokevirtual sun.tools.jconsole.LabeledComponent.updateLabel:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/LabeledComponent;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public void setValueLabel(java.lang.String);
descriptor: (Ljava/lang/String;)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 sun.tools.jconsole.LabeledComponent.valueLabelStr:Ljava/lang/String;
1: aload 0
invokevirtual sun.tools.jconsole.LabeledComponent.updateLabel:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/LabeledComponent;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private void updateLabel();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.LabeledComponent.labelStr:Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
aload 1
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
2: aload 0
aload 1
putfield sun.tools.jconsole.LabeledComponent.compoundStr:Ljava/lang/String;
3: aload 0
invokevirtual sun.tools.jconsole.LabeledComponent.getParent:()Ljava/awt/Container;
checkcast javax.swing.JComponent
astore 2
start local 2 4: aload 2
invokestatic sun.tools.jconsole.LabeledComponent.layout:(Ljava/awt/Container;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/LabeledComponent;
1 6 1 str Ljava/lang/String;
4 6 2 container Ljavax/swing/JComponent;
public static void layout(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: java.awt.Container int top int int java.awt.Component[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
instanceof sun.tools.jconsole.LabeledComponent
ifeq 9
4: aload 2
checkcast sun.tools.jconsole.LabeledComponent
astore 6
start local 6 5: aload 6
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
aconst_null
invokevirtual javax.swing.JLabel.setPreferredSize:(Ljava/awt/Dimension;)V
6: aload 6
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
invokevirtual javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
istore 7
start local 7 7: iload 7
iload 1
if_icmple 9
8: iload 7
istore 1
end local 7 end local 6 end local 2 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 2
11: aload 0
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 20
StackMap locals:
StackMap stack:
12: aload 5
iload 3
aaload
astore 2
start local 2 13: aload 2
instanceof sun.tools.jconsole.LabeledComponent
ifeq 19
14: aload 2
checkcast sun.tools.jconsole.LabeledComponent
astore 6
start local 6 15: aload 6
getfield sun.tools.jconsole.LabeledComponent.label:Ljavax/swing/JLabel;
astore 7
start local 7 16: aload 7
invokevirtual javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
istore 8
start local 8 17: aload 7
new java.awt.Dimension
dup
iload 1
iload 8
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JLabel.setPreferredSize:(Ljava/awt/Dimension;)V
18: aload 7
iconst_4
invokevirtual javax.swing.JLabel.setHorizontalAlignment:(I)V
end local 8 end local 7 end local 6 end local 2 19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
iload 4
if_icmplt 12
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 container Ljava/awt/Container;
1 22 1 wMax I
3 9 2 c Ljava/awt/Component;
5 9 6 lc Lsun/tools/jconsole/LabeledComponent;
7 9 7 w I
13 19 2 c Ljava/awt/Component;
15 19 6 lc Lsun/tools/jconsole/LabeledComponent;
16 19 7 label Ljavax/swing/JLabel;
17 19 8 h I
MethodParameters:
Name Flags
container
}
SourceFile: "LabeledComponent.java"