class javax.swing.colorchooser.CenterLayout implements java.awt.LayoutManager, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.colorchooser.CenterLayout
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/CenterLayout;
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/CenterLayout;
0 1 1 name Ljava/lang/String;
0 1 2 comp Ljava/awt/Component;
MethodParameters:
Name Flags
name
comp
public void removeLayoutComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/CenterLayout;
0 1 1 comp Ljava/awt/Component;
MethodParameters:
Name Flags
comp
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnull 7
2: aload 2
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 3
start local 3 3: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 4
start local 4 4: aload 3
dup
getfield java.awt.Dimension.width:I
aload 4
getfield java.awt.Insets.left:I
aload 4
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
5: aload 3
dup
getfield java.awt.Dimension.height:I
aload 4
getfield java.awt.Insets.top:I
aload 4
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
6: aload 3
areturn
end local 4 end local 3 7: StackMap locals: java.awt.Component
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/colorchooser/CenterLayout;
0 8 1 container Ljava/awt/Container;
1 8 2 c Ljava/awt/Component;
3 7 3 size Ljava/awt/Dimension;
4 7 4 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
container
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.colorchooser.CenterLayout.preferredLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/CenterLayout;
0 1 1 cont Ljava/awt/Container;
MethodParameters:
Name Flags
cont
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 2
start local 2 1: aload 2
aload 2
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
invokevirtual java.awt.Component.setSize:(Ljava/awt/Dimension;)V
2: aload 2
invokevirtual java.awt.Component.getSize:()Ljava/awt/Dimension;
astore 3
start local 3 3: aload 1
invokevirtual java.awt.Container.getSize:()Ljava/awt/Dimension;
astore 4
start local 4 4: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 5: aload 4
dup
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Insets.left:I
aload 5
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Dimension.width:I
6: aload 4
dup
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Insets.top:I
aload 5
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Dimension.height:I
7: aload 4
getfield java.awt.Dimension.width:I
iconst_2
idiv
aload 3
getfield java.awt.Dimension.width:I
iconst_2
idiv
isub
istore 6
start local 6 8: aload 4
getfield java.awt.Dimension.height:I
iconst_2
idiv
aload 3
getfield java.awt.Dimension.height:I
iconst_2
idiv
isub
istore 7
start local 7 9: iload 6
aload 5
getfield java.awt.Insets.left:I
iadd
istore 6
10: iload 7
aload 5
getfield java.awt.Insets.top:I
iadd
istore 7
11: aload 2
iload 6
iload 7
aload 3
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 12: goto 14
13: StackMap locals:
StackMap stack: java.lang.Exception
pop
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/colorchooser/CenterLayout;
0 15 1 container Ljava/awt/Container;
1 12 2 c Ljava/awt/Component;
3 12 3 size Ljava/awt/Dimension;
4 12 4 containerSize Ljava/awt/Dimension;
5 12 5 containerInsets Ljava/awt/Insets;
8 12 6 componentLeft I
9 12 7 componentTop I
Exception table:
from to target type
0 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
container
}
SourceFile: "CenterLayout.java"