public class javax.swing.BoxLayout implements java.awt.LayoutManager2, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.BoxLayout
super_class: java.lang.Object
{
public static final int X_AXIS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int Y_AXIS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int LINE_AXIS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PAGE_AXIS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private int axis;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Container target;
descriptor: Ljava/awt/Container;
flags: (0x0002) ACC_PRIVATE
private transient javax.swing.SizeRequirements[] xChildren;
descriptor: [Ljavax/swing/SizeRequirements;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.SizeRequirements[] yChildren;
descriptor: [Ljavax/swing/SizeRequirements;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.SizeRequirements xTotal;
descriptor: Ljavax/swing/SizeRequirements;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.SizeRequirements yTotal;
descriptor: Ljavax/swing/SizeRequirements;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.io.PrintStream dbg;
descriptor: Ljava/io/PrintStream;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(java.awt.Container, int);
descriptor: (Ljava/awt/Container;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 2
ifeq 4
iload 2
iconst_1
if_icmpeq 4
2: iload 2
iconst_2
if_icmpeq 4
iload 2
iconst_3
if_icmpeq 4
3: new java.awt.AWTError
dup
ldc "Invalid axis"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.swing.BoxLayout java.awt.Container int
StackMap stack:
aload 0
iload 2
putfield javax.swing.BoxLayout.axis:I
5: aload 0
aload 1
putfield javax.swing.BoxLayout.target:Ljava/awt/Container;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/BoxLayout;
0 7 1 target Ljava/awt/Container;
0 7 2 axis I
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"target", "axis"})
MethodParameters:
Name Flags
target
axis
void <init>(java.awt.Container, int, java.io.PrintStream);
descriptor: (Ljava/awt/Container;ILjava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
invokespecial javax.swing.BoxLayout.<init>:(Ljava/awt/Container;I)V
1: aload 0
aload 3
putfield javax.swing.BoxLayout.dbg:Ljava/io/PrintStream;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/BoxLayout;
0 3 1 target Ljava/awt/Container;
0 3 2 axis I
0 3 3 dbg Ljava/io/PrintStream;
MethodParameters:
Name Flags
target
axis
dbg
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.BoxLayout.target:Ljava/awt/Container;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/BoxLayout;
public final int getAxis();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.BoxLayout.axis:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/BoxLayout;
public synchronized void invalidateLayout(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
aconst_null
putfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
2: aload 0
aconst_null
putfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
3: aload 0
aconst_null
putfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
4: aload 0
aconst_null
putfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/BoxLayout;
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.BoxLayout.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/BoxLayout;
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.BoxLayout.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/BoxLayout;
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.BoxLayout.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/BoxLayout;
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
2: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
3: new java.awt.Dimension
dup
aload 0
getfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.preferred:I
aload 0
getfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.preferred:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 4: aload 3
monitorexit
5: goto 8
end local 2 StackMap locals: javax.swing.BoxLayout java.awt.Container top javax.swing.BoxLayout
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
start local 2 8: StackMap locals: javax.swing.BoxLayout java.awt.Container java.awt.Dimension
StackMap stack:
aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 9: aload 2
aload 2
getfield java.awt.Dimension.width:I
i2l
aload 3
getfield java.awt.Insets.left:I
i2l
ladd
aload 3
getfield java.awt.Insets.right:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.width:I
10: aload 2
aload 2
getfield java.awt.Dimension.height:I
i2l
aload 3
getfield java.awt.Insets.top:I
i2l
ladd
aload 3
getfield java.awt.Insets.bottom:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.height:I
11: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/BoxLayout;
0 12 1 target Ljava/awt/Container;
4 6 2 size Ljava/awt/Dimension;
8 12 2 size Ljava/awt/Dimension;
9 12 3 insets Ljava/awt/Insets;
Exception table:
from to target type
1 5 6 any
6 7 6 any
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
2: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
3: new java.awt.Dimension
dup
aload 0
getfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.minimum:I
aload 0
getfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.minimum:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 4: aload 3
monitorexit
5: goto 8
end local 2 StackMap locals: javax.swing.BoxLayout java.awt.Container top javax.swing.BoxLayout
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
start local 2 8: StackMap locals: javax.swing.BoxLayout java.awt.Container java.awt.Dimension
StackMap stack:
aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 9: aload 2
aload 2
getfield java.awt.Dimension.width:I
i2l
aload 3
getfield java.awt.Insets.left:I
i2l
ladd
aload 3
getfield java.awt.Insets.right:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.width:I
10: aload 2
aload 2
getfield java.awt.Dimension.height:I
i2l
aload 3
getfield java.awt.Insets.top:I
i2l
ladd
aload 3
getfield java.awt.Insets.bottom:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.height:I
11: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/BoxLayout;
0 12 1 target Ljava/awt/Container;
4 6 2 size Ljava/awt/Dimension;
8 12 2 size Ljava/awt/Dimension;
9 12 3 insets Ljava/awt/Insets;
Exception table:
from to target type
1 5 6 any
6 7 6 any
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
2: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
3: new java.awt.Dimension
dup
aload 0
getfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.maximum:I
aload 0
getfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
getfield javax.swing.SizeRequirements.maximum:I
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 4: aload 3
monitorexit
5: goto 8
end local 2 StackMap locals: javax.swing.BoxLayout java.awt.Container top javax.swing.BoxLayout
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
start local 2 8: StackMap locals: javax.swing.BoxLayout java.awt.Container java.awt.Dimension
StackMap stack:
aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 9: aload 2
aload 2
getfield java.awt.Dimension.width:I
i2l
aload 3
getfield java.awt.Insets.left:I
i2l
ladd
aload 3
getfield java.awt.Insets.right:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.width:I
10: aload 2
aload 2
getfield java.awt.Dimension.height:I
i2l
aload 3
getfield java.awt.Insets.top:I
i2l
ladd
aload 3
getfield java.awt.Insets.bottom:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield java.awt.Dimension.height:I
11: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/BoxLayout;
0 12 1 target Ljava/awt/Container;
4 6 2 size Ljava/awt/Dimension;
8 12 2 size Ljava/awt/Dimension;
9 12 3 insets Ljava/awt/Insets;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
target
public synchronized float getLayoutAlignmentX(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
2: aload 0
getfield javax.swing.BoxLayout.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/BoxLayout;
0 3 1 target Ljava/awt/Container;
MethodParameters:
Name Flags
target
public synchronized float getLayoutAlignmentY(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
2: aload 0
getfield javax.swing.BoxLayout.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/BoxLayout;
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=14, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.BoxLayout.checkContainer:(Ljava/awt/Container;)V
1: aload 1
invokevirtual java.awt.Container.getComponentCount:()I
istore 2
start local 2 2: iload 2
newarray 10
astore 3
start local 3 3: iload 2
newarray 10
astore 4
start local 4 4: iload 2
newarray 10
astore 5
start local 5 5: iload 2
newarray 10
astore 6
start local 6 6: aload 1
invokevirtual java.awt.Container.getSize:()Ljava/awt/Dimension;
astore 7
start local 7 7: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 8
start local 8 8: 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
9: 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
10: aload 1
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
astore 9
start local 9 11: aload 0
aload 0
getfield javax.swing.BoxLayout.axis:I
aload 9
invokevirtual javax.swing.BoxLayout.resolveAxis:(ILjava/awt/ComponentOrientation;)I
istore 10
start local 10 12: iload 10
aload 0
getfield javax.swing.BoxLayout.axis:I
if_icmpeq 13
aload 9
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
goto 14
StackMap locals: javax.swing.BoxLayout java.awt.Container int int[] int[] int[] int[] java.awt.Dimension java.awt.Insets java.awt.ComponentOrientation int
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: istore 11
start local 11 15: aload 0
dup
astore 12
monitorenter
16: aload 0
invokevirtual javax.swing.BoxLayout.checkRequests:()V
17: iload 10
ifne 27
18: aload 7
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
19: aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
aload 3
20: aload 4
iload 11
21: invokestatic javax.swing.SizeRequirements.calculateTiledPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[IZ)V
22: aload 7
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
23: aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
aload 5
24: aload 6
25: invokestatic javax.swing.SizeRequirements.calculateAlignedPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[I)V
26: goto 35
27: StackMap locals: int javax.swing.BoxLayout
StackMap stack:
aload 7
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
28: aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
aload 3
29: aload 4
iload 11
30: invokestatic javax.swing.SizeRequirements.calculateAlignedPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[IZ)V
31: aload 7
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
32: aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
aload 5
33: aload 6
34: invokestatic javax.swing.SizeRequirements.calculateTiledPositions:(ILjavax/swing/SizeRequirements;[Ljavax/swing/SizeRequirements;[I[I)V
35: StackMap locals:
StackMap stack:
aload 12
monitorexit
36: goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
37: aload 12
monitorexit
38: athrow
39: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 40: goto 47
41: StackMap locals: int
StackMap stack:
aload 1
iload 12
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 13
start local 13 42: aload 13
aload 8
getfield java.awt.Insets.left:I
i2l
aload 3
iload 12
iaload
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
43: aload 8
getfield java.awt.Insets.top:I
i2l
aload 5
iload 12
iaload
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
44: aload 4
iload 12
iaload
aload 6
iload 12
iaload
45: invokevirtual java.awt.Component.setBounds:(IIII)V
end local 13 46: iinc 12 1
StackMap locals:
StackMap stack:
47: iload 12
iload 2
if_icmplt 41
end local 12 48: aload 0
getfield javax.swing.BoxLayout.dbg:Ljava/io/PrintStream;
ifnull 57
49: iconst_0
istore 12
start local 12 50: goto 56
51: StackMap locals:
StackMap stack:
aload 1
iload 12
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 13
start local 13 52: aload 0
getfield javax.swing.BoxLayout.dbg:Ljava/io/PrintStream;
aload 13
invokevirtual java.awt.Component.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
53: aload 0
getfield javax.swing.BoxLayout.dbg:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "X: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
iload 12
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
54: aload 0
getfield javax.swing.BoxLayout.dbg:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Y: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
iload 12
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 13 55: iinc 12 1
StackMap locals:
StackMap stack:
56: iload 12
iload 2
if_icmplt 51
end local 12 57: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 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 58 0 this Ljavax/swing/BoxLayout;
0 58 1 target Ljava/awt/Container;
2 58 2 nChildren I
3 58 3 xOffsets [I
4 58 4 xSpans [I
5 58 5 yOffsets [I
6 58 6 ySpans [I
7 58 7 alloc Ljava/awt/Dimension;
8 58 8 in Ljava/awt/Insets;
11 58 9 o Ljava/awt/ComponentOrientation;
12 58 10 absoluteAxis I
15 58 11 ltr Z
40 48 12 i I
42 46 13 c Ljava/awt/Component;
50 57 12 i I
52 55 13 c Ljava/awt/Component;
Exception table:
from to target type
16 36 37 any
37 38 37 any
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.BoxLayout.target:Ljava/awt/Container;
aload 1
if_acmpeq 2
1: new java.awt.AWTError
dup
ldc "BoxLayout 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/BoxLayout;
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.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
ifnull 1
aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
ifnonnull 31
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.BoxLayout.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.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
3: aload 0
iload 1
anewarray javax.swing.SizeRequirements
putfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
4: iconst_0
istore 2
start local 2 5: goto 23
6: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.BoxLayout.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.isVisible:()Z
ifne 11
8: aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
iload 2
new javax.swing.SizeRequirements
dup
iconst_0
iconst_0
iconst_0
aload 3
invokevirtual java.awt.Component.getAlignmentX:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
aastore
9: aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
iload 2
new javax.swing.SizeRequirements
dup
iconst_0
iconst_0
iconst_0
aload 3
invokevirtual java.awt.Component.getAlignmentY:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
aastore
10: goto 22
11: StackMap locals: java.awt.Component
StackMap stack:
aload 3
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
astore 4
start local 4 12: aload 3
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 5
start local 5 13: aload 3
invokevirtual java.awt.Component.getMaximumSize:()Ljava/awt/Dimension;
astore 6
start local 6 14: aload 0
getfield javax.swing.BoxLayout.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
15: aload 6
getfield java.awt.Dimension.width:I
16: aload 3
invokevirtual java.awt.Component.getAlignmentX:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
17: aastore
18: aload 0
getfield javax.swing.BoxLayout.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
19: aload 6
getfield java.awt.Dimension.height:I
20: aload 3
invokevirtual java.awt.Component.getAlignmentY:()F
invokespecial javax.swing.SizeRequirements.<init>:(IIIF)V
21: aastore
end local 6 end local 5 end local 4 end local 3 22: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
23: iload 2
iload 1
if_icmplt 6
end local 2 24: aload 0
aload 0
getfield javax.swing.BoxLayout.axis:I
aload 0
getfield javax.swing.BoxLayout.target:Ljava/awt/Container;
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual javax.swing.BoxLayout.resolveAxis:(ILjava/awt/ComponentOrientation;)I
istore 2
start local 2 25: iload 2
ifne 29
26: aload 0
aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getTiledSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
27: aload 0
aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getAlignedSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
28: goto 31
29: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.BoxLayout.xChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getAlignedSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.BoxLayout.xTotal:Ljavax/swing/SizeRequirements;
30: aload 0
aload 0
getfield javax.swing.BoxLayout.yChildren:[Ljavax/swing/SizeRequirements;
invokestatic javax.swing.SizeRequirements.getTiledSizeRequirements:([Ljavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
putfield javax.swing.BoxLayout.yTotal:Ljavax/swing/SizeRequirements;
end local 2 end local 1 31: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/BoxLayout;
2 31 1 n I
5 24 2 i I
7 22 3 c Ljava/awt/Component;
12 22 4 min Ljava/awt/Dimension;
13 22 5 typ Ljava/awt/Dimension;
14 22 6 max Ljava/awt/Dimension;
25 31 2 absoluteAxis I
private int resolveAxis(int, java.awt.ComponentOrientation);
descriptor: (ILjava/awt/ComponentOrientation;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_2
if_icmpne 5
1: aload 2
invokevirtual java.awt.ComponentOrientation.isHorizontal:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: goto 11
end local 3 StackMap locals:
StackMap stack:
5: iload 1
iconst_3
if_icmpne 10
6: aload 2
invokevirtual java.awt.ComponentOrientation.isHorizontal:()Z
ifeq 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 3
start local 3 9: goto 11
end local 3 10: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 11: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/BoxLayout;
0 12 1 axis I
0 12 2 o Ljava/awt/ComponentOrientation;
4 5 3 absoluteAxis I
9 10 3 absoluteAxis I
11 12 3 absoluteAxis I
MethodParameters:
Name Flags
axis
o
}
SourceFile: "BoxLayout.java"