public class javax.swing.OverlayLayout implements java.awt.LayoutManager2, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.OverlayLayout
super_class: java.lang.Object
{
private java.awt.Container target;
descriptor: Ljava/awt/Container;
flags: (0x0002) ACC_PRIVATE
private javax.swing.SizeRequirements[] xChildren;
descriptor: [Ljavax/swing/SizeRequirements;
flags: (0x0002) ACC_PRIVATE
private javax.swing.SizeRequirements[] yChildren;
descriptor: [Ljavax/swing/SizeRequirements;
flags: (0x0002) ACC_PRIVATE
private javax.swing.SizeRequirements xTotal;
descriptor: Ljavax/swing/SizeRequirements;
flags: (0x0002) ACC_PRIVATE
private javax.swing.SizeRequirements yTotal;
descriptor: Ljavax/swing/SizeRequirements;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.swing.OverlayLayout.target:Ljava/awt/Container;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/OverlayLayout;
0 3 1 target Ljava/awt/Container;
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"target"})
MethodParameters:
Name Flags
target
public final java.awt.Container getTarget();
descriptor: ()Ljava/awt/Container;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.OverlayLayout.target:Ljava/awt/Container;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/OverlayLayout;
public void invalidateLayout(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
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.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
aconst_null
putfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
2: aload 0
aconst_null
putfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
3: aload 0
aconst_null
putfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
4: aload 0
aconst_null
putfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/OverlayLayout;
0 6 1 target Ljava/awt/Container;
MethodParameters:
Name Flags
target
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
invokevirtual javax.swing.OverlayLayout.invalidateLayout:(Ljava/awt/Container;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/OverlayLayout;
0 2 1 name Ljava/lang/String;
0 2 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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
invokevirtual javax.swing.OverlayLayout.invalidateLayout:(Ljava/awt/Container;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/OverlayLayout;
0 2 1 comp Ljava/awt/Component;
MethodParameters:
Name Flags
comp
public void addLayoutComponent(java.awt.Component, java.lang.Object);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
invokevirtual javax.swing.OverlayLayout.invalidateLayout:(Ljava/awt/Container;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/OverlayLayout;
0 2 1 comp Ljava/awt/Component;
0 2 2 constraints Ljava/lang/Object;
MethodParameters:
Name Flags
comp
constraints
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: new java.awt.Dimension
dup
aload 0
getfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.preferred:I
aload 0
getfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.preferred:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 3: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 4: aload 2
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
5: aload 2
dup
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/OverlayLayout;
0 7 1 target Ljava/awt/Container;
3 7 2 size Ljava/awt/Dimension;
4 7 3 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: new java.awt.Dimension
dup
aload 0
getfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.minimum:I
aload 0
getfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.minimum:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 3: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 4: aload 2
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
5: aload 2
dup
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/OverlayLayout;
0 7 1 target Ljava/awt/Container;
3 7 2 size Ljava/awt/Dimension;
4 7 3 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public java.awt.Dimension maximumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: new java.awt.Dimension
dup
aload 0
getfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.maximum:I
aload 0
getfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.maximum:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 3: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 4: aload 2
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
5: aload 2
dup
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/OverlayLayout;
0 7 1 target Ljava/awt/Container;
3 7 2 size Ljava/awt/Dimension;
4 7 3 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public float getLayoutAlignmentX(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
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.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: aload 0
getfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.alignment:F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/OverlayLayout;
0 3 1 target Ljava/awt/Container;
MethodParameters:
Name Flags
target
public float getLayoutAlignmentY(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
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.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: aload 0
getfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.alignment:F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/OverlayLayout;
0 3 1 target Ljava/awt/Container;
MethodParameters:
Name Flags
target
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.OverlayLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.OverlayLayout.checkRequests:()V
2: aload 1
invokevirtual java.awt.Container.getComponentCount:()I
istore 2
start local 2 3: iload 2
newarray 10
astore 3
start local 3 4: iload 2
newarray 10
astore 4
start local 4 5: iload 2
newarray 10
astore 5
start local 5 6: iload 2
newarray 10
astore 6
start local 6 7: aload 1
invokevirtual java.awt.Container.getSize:()Ljava/awt/Dimension;
astore 7
start local 7 8: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 8
start local 8 9: aload 7
dup
getfield java.awt.Dimension.width:I
aload 8
getfield java.awt.Insets.left:I
aload 8
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Dimension.width:I
10: aload 7
dup
getfield java.awt.Dimension.height:I
aload 8
getfield java.awt.Insets.top:I
aload 8
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Dimension.height:I
11: aload 7
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
12: aload 0
getfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
aload 3
13: aload 4
14: invokestatic javax.swing.SizeRequirements.calculateAlignedPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[I)V
15: aload 7
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
16: aload 0
getfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
aload 5
17: aload 6
18: invokestatic javax.swing.SizeRequirements.calculateAlignedPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[I)V
19: iconst_0
istore 9
start local 9 20: goto 26
21: StackMap locals: javax.swing.OverlayLayout java.awt.Container int int[] int[] int[] int[] java.awt.Dimension java.awt.Insets int
StackMap stack:
aload 1
iload 9
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 10
start local 10 22: aload 10
aload 8
getfield java.awt.Insets.left:I
aload 3
iload 9
iaload
iadd
aload 8
getfield java.awt.Insets.top:I
aload 5
iload 9
iaload
iadd
23: aload 4
iload 9
iaload
aload 6
iload 9
iaload
24: invokevirtual java.awt.Component.setBounds:(IIII)V
end local 10 25: iinc 9 1
StackMap locals:
StackMap stack:
26: iload 9
iload 2
if_icmplt 21
end local 9 27: return
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 28 0 this Ljavax/swing/OverlayLayout;
0 28 1 target Ljava/awt/Container;
3 28 2 nChildren I
4 28 3 xOffsets [I
5 28 4 xSpans [I
6 28 5 yOffsets [I
7 28 6 ySpans [I
8 28 7 alloc Ljava/awt/Dimension;
9 28 8 in Ljava/awt/Insets;
20 27 9 i I
22 25 10 c Ljava/awt/Component;
MethodParameters:
Name Flags
target
void checkContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.OverlayLayout.target:Ljava/awt/Container;
aload 1
if_acmpeq 2
1: new java.awt.AWTError
dup
ldc "OverlayLayout can't be shared"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/OverlayLayout;
0 3 1 target Ljava/awt/Container;
MethodParameters:
Name Flags
target
void checkRequests();
descriptor: ()V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
ifnull 1
aload 0
getfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
ifnonnull 22
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.OverlayLayout.target:Ljava/awt/Container;
invokevirtual java.awt.Container.getComponentCount:()I
istore 1
start local 1 2: aload 0
iload 1
anewarray javax.swing.SizeRequirements
putfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
3: aload 0
iload 1
anewarray javax.swing.SizeRequirements
putfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
4: iconst_0
istore 2
start local 2 5: goto 19
6: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.OverlayLayout.target:Ljava/awt/Container;
iload 2
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 3
start local 3 7: aload 3
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
astore 4
start local 4 8: aload 3
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 5
start local 5 9: aload 3
invokevirtual java.awt.Component.getMaximumSize:()Ljava/awt/Dimension;
astore 6
start local 6 10: aload 0
getfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
iload 2
new javax.swing.SizeRequirements
dup
aload 4
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Dimension.width:I
11: aload 6
getfield java.awt.Dimension.width:I
12: aload 3
invokevirtual java.awt.Component.getAlignmentX:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
13: aastore
14: aload 0
getfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
iload 2
new javax.swing.SizeRequirements
dup
aload 4
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Dimension.height:I
15: aload 6
getfield java.awt.Dimension.height:I
16: aload 3
invokevirtual java.awt.Component.getAlignmentY:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
17: aastore
end local 6 end local 5 end local 4 end local 3 18: iinc 2 1
StackMap locals:
StackMap stack:
19: iload 2
iload 1
if_icmplt 6
end local 2 20: aload 0
aload 0
getfield javax.swing.OverlayLayout.xChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getAlignedSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.OverlayLayout.xTotal:Ljavax/swing/SizeRequirements;
21: aload 0
aload 0
getfield javax.swing.OverlayLayout.yChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getAlignedSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.OverlayLayout.yTotal:Ljavax/swing/SizeRequirements;
end local 1 22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/OverlayLayout;
2 22 1 n I
5 20 2 i I
7 18 3 c Ljava/awt/Component;
8 18 4 min Ljava/awt/Dimension;
9 18 5 typ Ljava/awt/Dimension;
10 18 6 max Ljava/awt/Dimension;
}
SourceFile: "OverlayLayout.java"