public class java.awt.FlowLayout implements java.awt.LayoutManager, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.FlowLayout
super_class: java.lang.Object
{
public static final int LEFT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CENTER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int RIGHT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int LEADING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int TRAILING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
int align;
descriptor: I
flags: (0x0000)
int newAlign;
descriptor: I
flags: (0x0000)
int hgap;
descriptor: I
flags: (0x0000)
int vgap;
descriptor: I
flags: (0x0000)
private boolean alignOnBaseline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7262534875583282631
private static final int currentSerialVersion;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private int serialVersionOnStream;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 203
aload 0 /* this */
iconst_1
iconst_5
iconst_5
invokespecial java.awt.FlowLayout.<init>:(III)V
1: .line 204
return
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/FlowLayout;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // int align
0: .line 216
aload 0 /* this */
iload 1 /* align */
iconst_5
iconst_5
invokespecial java.awt.FlowLayout.<init>:(III)V
1: .line 217
return
end local 1 // int align
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/FlowLayout;
0 2 1 align I
MethodParameters:
Name Flags
align
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 // java.awt.FlowLayout this
start local 1 // int align
start local 2 // int hgap
start local 3 // int vgap
0: .line 235
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 659
aload 0 /* this */
iconst_1
putfield java.awt.FlowLayout.serialVersionOnStream:I
2: .line 236
aload 0 /* this */
iload 2 /* hgap */
putfield java.awt.FlowLayout.hgap:I
3: .line 237
aload 0 /* this */
iload 3 /* vgap */
putfield java.awt.FlowLayout.vgap:I
4: .line 238
aload 0 /* this */
iload 1 /* align */
invokevirtual java.awt.FlowLayout.setAlignment:(I)V
5: .line 239
return
end local 3 // int vgap
end local 2 // int hgap
end local 1 // int align
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/FlowLayout;
0 6 1 align I
0 6 2 hgap I
0 6 3 vgap I
MethodParameters:
Name Flags
align
hgap
vgap
public int getAlignment();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 252
aload 0 /* this */
getfield java.awt.FlowLayout.newAlign:I
ireturn
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
public void setAlignment(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // int align
0: .line 270
aload 0 /* this */
iload 1 /* align */
putfield java.awt.FlowLayout.newAlign:I
1: .line 276
iload 1 /* align */
tableswitch { // 3 - 4
3: 2
4: 4
default: 6
}
2: .line 278
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_0
putfield java.awt.FlowLayout.align:I
3: .line 279
goto 7
4: .line 281
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_2
putfield java.awt.FlowLayout.align:I
5: .line 282
goto 7
6: .line 284
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 1 /* align */
putfield java.awt.FlowLayout.align:I
7: .line 287
StackMap locals:
StackMap stack:
return
end local 1 // int align
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/FlowLayout;
0 8 1 align I
MethodParameters:
Name Flags
align
public int getHgap();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 301
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
ireturn
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
public void setHgap(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // int hgap
0: .line 316
aload 0 /* this */
iload 1 /* hgap */
putfield java.awt.FlowLayout.hgap:I
1: .line 317
return
end local 1 // int hgap
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/FlowLayout;
0 2 1 hgap I
MethodParameters:
Name Flags
hgap
public int getVgap();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 331
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
ireturn
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
public void setVgap(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // int vgap
0: .line 345
aload 0 /* this */
iload 1 /* vgap */
putfield java.awt.FlowLayout.vgap:I
1: .line 346
return
end local 1 // int vgap
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/FlowLayout;
0 2 1 vgap I
MethodParameters:
Name Flags
vgap
public void setAlignOnBaseline(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // boolean alignOnBaseline
0: .line 358
aload 0 /* this */
iload 1 /* alignOnBaseline */
putfield java.awt.FlowLayout.alignOnBaseline:Z
1: .line 359
return
end local 1 // boolean alignOnBaseline
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/FlowLayout;
0 2 1 alignOnBaseline Z
MethodParameters:
Name Flags
alignOnBaseline
public boolean getAlignOnBaseline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 370
aload 0 /* this */
getfield java.awt.FlowLayout.alignOnBaseline:Z
ireturn
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
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 // java.awt.FlowLayout this
start local 1 // java.lang.String name
start local 2 // java.awt.Component comp
0: .line 380
return
end local 2 // java.awt.Component comp
end local 1 // java.lang.String name
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
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 // java.awt.FlowLayout this
start local 1 // java.awt.Component comp
0: .line 389
return
end local 1 // java.awt.Component comp
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/FlowLayout;
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=5, locals=13, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // java.awt.Container target
0: .line 403
aload 1 /* target */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 404
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
astore 3 /* dim */
start local 3 // java.awt.Dimension dim
2: .line 405
aload 1 /* target */
invokevirtual java.awt.Container.getComponentCount:()I
istore 4 /* nmembers */
start local 4 // int nmembers
3: .line 406
iconst_1
istore 5 /* firstVisibleComponent */
start local 5 // boolean firstVisibleComponent
4: .line 407
aload 0 /* this */
invokevirtual java.awt.FlowLayout.getAlignOnBaseline:()Z
istore 6 /* useBaseline */
start local 6 // boolean useBaseline
5: .line 408
iconst_0
istore 7 /* maxAscent */
start local 7 // int maxAscent
6: .line 409
iconst_0
istore 8 /* maxDescent */
start local 8 // int maxDescent
7: .line 411
iconst_0
istore 9 /* i */
start local 9 // int i
8: goto 24
9: .line 412
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object java.awt.Dimension int int int int int int
StackMap stack:
aload 1 /* target */
iload 9 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 10 /* m */
start local 10 // java.awt.Component m
10: .line 413
aload 10 /* m */
invokevirtual java.awt.Component.isVisible:()Z
ifeq 23
11: .line 414
aload 10 /* m */
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 11 /* d */
start local 11 // java.awt.Dimension d
12: .line 415
aload 3 /* dim */
aload 3 /* dim */
getfield java.awt.Dimension.height:I
aload 11 /* d */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
13: .line 416
iload 5 /* firstVisibleComponent */
ifeq 16
14: .line 417
iconst_0
istore 5 /* firstVisibleComponent */
15: .line 418
goto 17
16: .line 419
StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
aload 3 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
putfield java.awt.Dimension.width:I
17: .line 421
StackMap locals:
StackMap stack:
aload 3 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 11 /* d */
getfield java.awt.Dimension.width:I
iadd
putfield java.awt.Dimension.width:I
18: .line 422
iload 6 /* useBaseline */
ifeq 23
19: .line 423
aload 10 /* m */
aload 11 /* d */
getfield java.awt.Dimension.width:I
aload 11 /* d */
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.getBaseline:(II)I
istore 12 /* baseline */
start local 12 // int baseline
20: .line 424
iload 12 /* baseline */
iflt 23
21: .line 425
iload 7 /* maxAscent */
iload 12 /* baseline */
invokestatic java.lang.Math.max:(II)I
istore 7 /* maxAscent */
22: .line 426
iload 8 /* maxDescent */
aload 11 /* d */
getfield java.awt.Dimension.height:I
iload 12 /* baseline */
isub
invokestatic java.lang.Math.max:(II)I
istore 8 /* maxDescent */
end local 12 // int baseline
end local 11 // java.awt.Dimension d
end local 10 // java.awt.Component m
23: .line 411
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
24: iload 9 /* i */
iload 4 /* nmembers */
if_icmplt 9
end local 9 // int i
25: .line 431
iload 6 /* useBaseline */
ifeq 27
26: .line 432
aload 3 /* dim */
iload 7 /* maxAscent */
iload 8 /* maxDescent */
iadd
aload 3 /* dim */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
27: .line 434
StackMap locals:
StackMap stack:
aload 1 /* target */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 9 /* insets */
start local 9 // java.awt.Insets insets
28: .line 435
aload 3 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 9 /* insets */
getfield java.awt.Insets.left:I
aload 9 /* insets */
getfield java.awt.Insets.right:I
iadd
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.width:I
29: .line 436
aload 3 /* dim */
dup
getfield java.awt.Dimension.height:I
aload 9 /* insets */
getfield java.awt.Insets.top:I
aload 9 /* insets */
getfield java.awt.Insets.bottom:I
iadd
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.height:I
30: .line 437
aload 3 /* dim */
aload 2
monitorexit
31: areturn
end local 9 // java.awt.Insets insets
end local 8 // int maxDescent
end local 7 // int maxAscent
end local 6 // boolean useBaseline
end local 5 // boolean firstVisibleComponent
end local 4 // int nmembers
end local 3 // java.awt.Dimension dim
32: .line 403
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
33: athrow
end local 1 // java.awt.Container target
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljava/awt/FlowLayout;
0 34 1 target Ljava/awt/Container;
2 32 3 dim Ljava/awt/Dimension;
3 32 4 nmembers I
4 32 5 firstVisibleComponent Z
5 32 6 useBaseline Z
6 32 7 maxAscent I
7 32 8 maxDescent I
8 25 9 i I
10 23 10 m Ljava/awt/Component;
12 23 11 d Ljava/awt/Dimension;
20 23 12 baseline I
28 32 9 insets Ljava/awt/Insets;
Exception table:
from to target type
1 31 32 any
32 33 32 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=13, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // java.awt.Container target
0: .line 452
aload 1 /* target */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 453
aload 0 /* this */
invokevirtual java.awt.FlowLayout.getAlignOnBaseline:()Z
istore 3 /* useBaseline */
start local 3 // boolean useBaseline
2: .line 454
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
astore 4 /* dim */
start local 4 // java.awt.Dimension dim
3: .line 455
aload 1 /* target */
invokevirtual java.awt.Container.getComponentCount:()I
istore 5 /* nmembers */
start local 5 // int nmembers
4: .line 456
iconst_0
istore 6 /* maxAscent */
start local 6 // int maxAscent
5: .line 457
iconst_0
istore 7 /* maxDescent */
start local 7 // int maxDescent
6: .line 458
iconst_1
istore 8 /* firstVisibleComponent */
start local 8 // boolean firstVisibleComponent
7: .line 460
iconst_0
istore 9 /* i */
start local 9 // int i
8: goto 26
9: .line 461
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object int java.awt.Dimension int int int int int
StackMap stack:
aload 1 /* target */
iload 9 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 10 /* m */
start local 10 // java.awt.Component m
10: .line 462
aload 10 /* m */
getfield java.awt.Component.visible:Z
ifeq 25
11: .line 463
aload 10 /* m */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
astore 11 /* d */
start local 11 // java.awt.Dimension d
12: .line 464
aload 4 /* dim */
aload 4 /* dim */
getfield java.awt.Dimension.height:I
aload 11 /* d */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
13: .line 465
iload 8 /* firstVisibleComponent */
ifeq 16
14: .line 466
iconst_0
istore 8 /* firstVisibleComponent */
15: .line 467
goto 17
16: .line 468
StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
aload 4 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
putfield java.awt.Dimension.width:I
17: .line 470
StackMap locals:
StackMap stack:
aload 4 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 11 /* d */
getfield java.awt.Dimension.width:I
iadd
putfield java.awt.Dimension.width:I
18: .line 471
iload 3 /* useBaseline */
ifeq 25
19: .line 472
aload 10 /* m */
aload 11 /* d */
getfield java.awt.Dimension.width:I
aload 11 /* d */
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.getBaseline:(II)I
istore 12 /* baseline */
start local 12 // int baseline
20: .line 473
iload 12 /* baseline */
iflt 25
21: .line 474
iload 6 /* maxAscent */
iload 12 /* baseline */
invokestatic java.lang.Math.max:(II)I
istore 6 /* maxAscent */
22: .line 475
iload 7 /* maxDescent */
23: .line 476
aload 4 /* dim */
getfield java.awt.Dimension.height:I
iload 12 /* baseline */
isub
24: .line 475
invokestatic java.lang.Math.max:(II)I
istore 7 /* maxDescent */
end local 12 // int baseline
end local 11 // java.awt.Dimension d
end local 10 // java.awt.Component m
25: .line 460
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
26: iload 9 /* i */
iload 5 /* nmembers */
if_icmplt 9
end local 9 // int i
27: .line 482
iload 3 /* useBaseline */
ifeq 29
28: .line 483
aload 4 /* dim */
iload 6 /* maxAscent */
iload 7 /* maxDescent */
iadd
aload 4 /* dim */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
29: .line 486
StackMap locals:
StackMap stack:
aload 1 /* target */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 9 /* insets */
start local 9 // java.awt.Insets insets
30: .line 487
aload 4 /* dim */
dup
getfield java.awt.Dimension.width:I
aload 9 /* insets */
getfield java.awt.Insets.left:I
aload 9 /* insets */
getfield java.awt.Insets.right:I
iadd
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.width:I
31: .line 488
aload 4 /* dim */
dup
getfield java.awt.Dimension.height:I
aload 9 /* insets */
getfield java.awt.Insets.top:I
aload 9 /* insets */
getfield java.awt.Insets.bottom:I
iadd
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.height:I
32: .line 489
aload 4 /* dim */
aload 2
monitorexit
33: areturn
end local 9 // java.awt.Insets insets
end local 8 // boolean firstVisibleComponent
end local 7 // int maxDescent
end local 6 // int maxAscent
end local 5 // int nmembers
end local 4 // java.awt.Dimension dim
end local 3 // boolean useBaseline
34: .line 452
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
35: athrow
end local 1 // java.awt.Container target
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljava/awt/FlowLayout;
0 36 1 target Ljava/awt/Container;
2 34 3 useBaseline Z
3 34 4 dim Ljava/awt/Dimension;
4 34 5 nmembers I
5 34 6 maxAscent I
6 34 7 maxDescent I
7 34 8 firstVisibleComponent Z
8 27 9 i I
10 25 10 m Ljava/awt/Component;
12 25 11 d Ljava/awt/Dimension;
20 25 12 baseline I
30 34 9 insets Ljava/awt/Insets;
Exception table:
from to target type
1 33 34 any
34 35 34 any
MethodParameters:
Name Flags
target
private int moveComponents(java.awt.Container, int, int, int, int, int, int, boolean, boolean, int[], int[]);
descriptor: (Ljava/awt/Container;IIIIIIZZ[I[I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=18, args_size=12
start local 0 // java.awt.FlowLayout this
start local 1 // java.awt.Container target
start local 2 // int x
start local 3 // int y
start local 4 // int width
start local 5 // int height
start local 6 // int rowStart
start local 7 // int rowEnd
start local 8 // boolean ltr
start local 9 // boolean useBaseline
start local 10 // int[] ascent
start local 11 // int[] descent
0: .line 518
aload 0 /* this */
getfield java.awt.FlowLayout.newAlign:I
tableswitch { // 0 - 4
0: 1
1: 5
2: 7
3: 11
4: 12
default: 13
}
1: .line 520
StackMap locals:
StackMap stack:
iload 2 /* x */
iload 8 /* ltr */
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack: int
2: iload 4 /* width */
StackMap locals: java.awt.FlowLayout java.awt.Container int int int int int int int int int[] int[]
StackMap stack: int int
3: iadd
istore 2 /* x */
4: .line 521
goto 13
5: .line 523
StackMap locals:
StackMap stack:
iload 2 /* x */
iload 4 /* width */
iconst_2
idiv
iadd
istore 2 /* x */
6: .line 524
goto 13
7: .line 526
StackMap locals:
StackMap stack:
iload 2 /* x */
iload 8 /* ltr */
ifeq 8
iload 4 /* width */
goto 9
StackMap locals:
StackMap stack: int
8: iconst_0
StackMap locals: java.awt.FlowLayout java.awt.Container int int int int int int int int int[] int[]
StackMap stack: int int
9: iadd
istore 2 /* x */
10: .line 527
goto 13
11: .line 529
StackMap locals:
StackMap stack:
goto 13
12: .line 531
StackMap locals:
StackMap stack:
iload 2 /* x */
iload 4 /* width */
iadd
istore 2 /* x */
13: .line 534
StackMap locals:
StackMap stack:
iconst_0
istore 12 /* maxAscent */
start local 12 // int maxAscent
14: .line 535
iconst_0
istore 13 /* nonbaselineHeight */
start local 13 // int nonbaselineHeight
15: .line 536
iconst_0
istore 14 /* baselineOffset */
start local 14 // int baselineOffset
16: .line 537
iload 9 /* useBaseline */
ifeq 33
17: .line 538
iconst_0
istore 15 /* maxDescent */
start local 15 // int maxDescent
18: .line 539
iload 6 /* rowStart */
istore 16 /* i */
start local 16 // int i
19: goto 30
20: .line 540
StackMap locals: java.awt.FlowLayout java.awt.Container int int int int int int int int int[] int[] int int int int int
StackMap stack:
aload 1 /* target */
iload 16 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 17 /* m */
start local 17 // java.awt.Component m
21: .line 541
aload 17 /* m */
getfield java.awt.Component.visible:Z
ifeq 29
22: .line 542
aload 10 /* ascent */
iload 16 /* i */
iaload
iflt 26
23: .line 543
iload 12 /* maxAscent */
aload 10 /* ascent */
iload 16 /* i */
iaload
invokestatic java.lang.Math.max:(II)I
istore 12 /* maxAscent */
24: .line 544
iload 15 /* maxDescent */
aload 11 /* descent */
iload 16 /* i */
iaload
invokestatic java.lang.Math.max:(II)I
istore 15 /* maxDescent */
25: .line 545
goto 29
26: .line 547
StackMap locals: java.awt.Component
StackMap stack:
aload 17 /* m */
invokevirtual java.awt.Component.getHeight:()I
27: .line 548
iload 13 /* nonbaselineHeight */
28: .line 547
invokestatic java.lang.Math.max:(II)I
istore 13 /* nonbaselineHeight */
end local 17 // java.awt.Component m
29: .line 539
StackMap locals:
StackMap stack:
iinc 16 /* i */ 1
StackMap locals:
StackMap stack:
30: iload 16 /* i */
iload 7 /* rowEnd */
if_icmplt 20
end local 16 // int i
31: .line 552
iload 12 /* maxAscent */
iload 15 /* maxDescent */
iadd
iload 13 /* nonbaselineHeight */
invokestatic java.lang.Math.max:(II)I
istore 5 /* height */
32: .line 553
iload 5 /* height */
iload 12 /* maxAscent */
isub
iload 15 /* maxDescent */
isub
iconst_2
idiv
istore 14 /* baselineOffset */
end local 15 // int maxDescent
33: .line 555
StackMap locals:
StackMap stack:
iload 6 /* rowStart */
istore 15 /* i */
start local 15 // int i
34: goto 47
35: .line 556
StackMap locals: int
StackMap stack:
aload 1 /* target */
iload 15 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 16 /* m */
start local 16 // java.awt.Component m
36: .line 557
aload 16 /* m */
invokevirtual java.awt.Component.isVisible:()Z
ifeq 46
37: .line 559
iload 9 /* useBaseline */
ifeq 40
aload 10 /* ascent */
iload 15 /* i */
iaload
iflt 40
38: .line 560
iload 3 /* y */
iload 14 /* baselineOffset */
iadd
iload 12 /* maxAscent */
iadd
aload 10 /* ascent */
iload 15 /* i */
iaload
isub
istore 17 /* cy */
start local 17 // int cy
39: .line 561
goto 41
end local 17 // int cy
40: .line 563
StackMap locals: java.awt.Component
StackMap stack:
iload 3 /* y */
iload 5 /* height */
aload 16 /* m */
getfield java.awt.Component.height:I
isub
iconst_2
idiv
iadd
istore 17 /* cy */
start local 17 // int cy
41: .line 565
StackMap locals: int
StackMap stack:
iload 8 /* ltr */
ifeq 44
42: .line 566
aload 16 /* m */
iload 2 /* x */
iload 17 /* cy */
invokevirtual java.awt.Component.setLocation:(II)V
43: .line 567
goto 45
44: .line 568
StackMap locals:
StackMap stack:
aload 16 /* m */
aload 1 /* target */
getfield java.awt.Container.width:I
iload 2 /* x */
isub
aload 16 /* m */
getfield java.awt.Component.width:I
isub
iload 17 /* cy */
invokevirtual java.awt.Component.setLocation:(II)V
45: .line 570
StackMap locals:
StackMap stack:
iload 2 /* x */
aload 16 /* m */
getfield java.awt.Component.width:I
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
iadd
istore 2 /* x */
end local 17 // int cy
end local 16 // java.awt.Component m
46: .line 555
StackMap locals:
StackMap stack:
iinc 15 /* i */ 1
StackMap locals:
StackMap stack:
47: iload 15 /* i */
iload 7 /* rowEnd */
if_icmplt 35
end local 15 // int i
48: .line 573
iload 5 /* height */
ireturn
end local 14 // int baselineOffset
end local 13 // int nonbaselineHeight
end local 12 // int maxAscent
end local 11 // int[] descent
end local 10 // int[] ascent
end local 9 // boolean useBaseline
end local 8 // boolean ltr
end local 7 // int rowEnd
end local 6 // int rowStart
end local 5 // int height
end local 4 // int width
end local 3 // int y
end local 2 // int x
end local 1 // java.awt.Container target
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljava/awt/FlowLayout;
0 49 1 target Ljava/awt/Container;
0 49 2 x I
0 49 3 y I
0 49 4 width I
0 49 5 height I
0 49 6 rowStart I
0 49 7 rowEnd I
0 49 8 ltr Z
0 49 9 useBaseline Z
0 49 10 ascent [I
0 49 11 descent [I
14 49 12 maxAscent I
15 49 13 nonbaselineHeight I
16 49 14 baselineOffset I
18 33 15 maxDescent I
19 31 16 i I
21 29 17 m Ljava/awt/Component;
34 48 15 i I
36 46 16 m Ljava/awt/Component;
39 40 17 cy I
41 46 17 cy I
MethodParameters:
Name Flags
target
x
y
width
height
rowStart
rowEnd
ltr
useBaseline
ascent
descent
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=18, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // java.awt.Container target
0: .line 588
aload 1 /* target */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 589
aload 1 /* target */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3 /* insets */
start local 3 // java.awt.Insets insets
2: .line 590
aload 1 /* target */
getfield java.awt.Container.width:I
aload 3 /* insets */
getfield java.awt.Insets.left:I
aload 3 /* insets */
getfield java.awt.Insets.right:I
iadd
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iconst_2
imul
iadd
isub
istore 4 /* maxwidth */
start local 4 // int maxwidth
3: .line 591
aload 1 /* target */
invokevirtual java.awt.Container.getComponentCount:()I
istore 5 /* nmembers */
start local 5 // int nmembers
4: .line 592
iconst_0
istore 6 /* x */
start local 6 // int x
5: aload 3 /* insets */
getfield java.awt.Insets.top:I
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
iadd
istore 7 /* y */
start local 7 // int y
6: .line 593
iconst_0
istore 8 /* rowh */
start local 8 // int rowh
7: iconst_0
istore 9 /* start */
start local 9 // int start
8: .line 595
aload 1 /* target */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
istore 10 /* ltr */
start local 10 // boolean ltr
9: .line 597
aload 0 /* this */
invokevirtual java.awt.FlowLayout.getAlignOnBaseline:()Z
istore 11 /* useBaseline */
start local 11 // boolean useBaseline
10: .line 598
aconst_null
astore 12 /* ascent */
start local 12 // int[] ascent
11: .line 599
aconst_null
astore 13 /* descent */
start local 13 // int[] descent
12: .line 601
iload 11 /* useBaseline */
ifeq 15
13: .line 602
iload 5 /* nmembers */
newarray 10
astore 12 /* ascent */
14: .line 603
iload 5 /* nmembers */
newarray 10
astore 13 /* descent */
15: .line 606
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object java.awt.Insets int int int int int int int int int[] int[]
StackMap stack:
iconst_0
istore 14 /* i */
start local 14 // int i
16: goto 43
17: .line 607
StackMap locals: int
StackMap stack:
aload 1 /* target */
iload 14 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 15 /* m */
start local 15 // java.awt.Component m
18: .line 608
aload 15 /* m */
invokevirtual java.awt.Component.isVisible:()Z
ifeq 42
19: .line 609
aload 15 /* m */
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 16 /* d */
start local 16 // java.awt.Dimension d
20: .line 610
aload 15 /* m */
aload 16 /* d */
getfield java.awt.Dimension.width:I
aload 16 /* d */
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.setSize:(II)V
21: .line 612
iload 11 /* useBaseline */
ifeq 28
22: .line 613
aload 15 /* m */
aload 16 /* d */
getfield java.awt.Dimension.width:I
aload 16 /* d */
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.getBaseline:(II)I
istore 17 /* baseline */
start local 17 // int baseline
23: .line 614
iload 17 /* baseline */
iflt 27
24: .line 615
aload 12 /* ascent */
iload 14 /* i */
iload 17 /* baseline */
iastore
25: .line 616
aload 13 /* descent */
iload 14 /* i */
aload 16 /* d */
getfield java.awt.Dimension.height:I
iload 17 /* baseline */
isub
iastore
26: .line 617
goto 28
27: .line 619
StackMap locals: java.awt.Component java.awt.Dimension int
StackMap stack:
aload 12 /* ascent */
iload 14 /* i */
iconst_m1
iastore
end local 17 // int baseline
28: .line 622
StackMap locals:
StackMap stack:
iload 6 /* x */
ifeq 29
iload 6 /* x */
aload 16 /* d */
getfield java.awt.Dimension.width:I
iadd
iload 4 /* maxwidth */
if_icmpgt 34
29: .line 623
StackMap locals:
StackMap stack:
iload 6 /* x */
ifle 31
30: .line 624
iload 6 /* x */
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
istore 6 /* x */
31: .line 626
StackMap locals:
StackMap stack:
iload 6 /* x */
aload 16 /* d */
getfield java.awt.Dimension.width:I
iadd
istore 6 /* x */
32: .line 627
iload 8 /* rowh */
aload 16 /* d */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 8 /* rowh */
33: .line 628
goto 42
34: .line 629
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* target */
aload 3 /* insets */
getfield java.awt.Insets.left:I
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
iload 7 /* y */
35: .line 630
iload 4 /* maxwidth */
iload 6 /* x */
isub
iload 8 /* rowh */
iload 9 /* start */
iload 14 /* i */
iload 10 /* ltr */
36: .line 631
iload 11 /* useBaseline */
aload 12 /* ascent */
aload 13 /* descent */
37: .line 629
invokevirtual java.awt.FlowLayout.moveComponents:(Ljava/awt/Container;IIIIIIZZ[I[I)I
istore 8 /* rowh */
38: .line 632
aload 16 /* d */
getfield java.awt.Dimension.width:I
istore 6 /* x */
39: .line 633
iload 7 /* y */
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
iload 8 /* rowh */
iadd
iadd
istore 7 /* y */
40: .line 634
aload 16 /* d */
getfield java.awt.Dimension.height:I
istore 8 /* rowh */
41: .line 635
iload 14 /* i */
istore 9 /* start */
end local 16 // java.awt.Dimension d
end local 15 // java.awt.Component m
42: .line 606
StackMap locals:
StackMap stack:
iinc 14 /* i */ 1
StackMap locals:
StackMap stack:
43: iload 14 /* i */
iload 5 /* nmembers */
if_icmplt 17
end local 14 // int i
44: .line 639
aload 0 /* this */
aload 1 /* target */
aload 3 /* insets */
getfield java.awt.Insets.left:I
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
iadd
iload 7 /* y */
iload 4 /* maxwidth */
iload 6 /* x */
isub
iload 8 /* rowh */
45: .line 640
iload 9 /* start */
iload 5 /* nmembers */
iload 10 /* ltr */
iload 11 /* useBaseline */
aload 12 /* ascent */
aload 13 /* descent */
46: .line 639
invokevirtual java.awt.FlowLayout.moveComponents:(Ljava/awt/Container;IIIIIIZZ[I[I)I
pop
end local 13 // int[] descent
end local 12 // int[] ascent
end local 11 // boolean useBaseline
end local 10 // boolean ltr
end local 9 // int start
end local 8 // int rowh
end local 7 // int y
end local 6 // int x
end local 5 // int nmembers
end local 4 // int maxwidth
end local 3 // java.awt.Insets insets
47: .line 588
aload 2
monitorexit
48: goto 51
StackMap locals: java.awt.FlowLayout java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
49: aload 2
monitorexit
50: athrow
51: .line 642
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.Container target
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljava/awt/FlowLayout;
0 52 1 target Ljava/awt/Container;
2 47 3 insets Ljava/awt/Insets;
3 47 4 maxwidth I
4 47 5 nmembers I
5 47 6 x I
6 47 7 y I
7 47 8 rowh I
8 47 9 start I
9 47 10 ltr Z
10 47 11 useBaseline Z
11 47 12 ascent [I
12 47 13 descent [I
16 44 14 i I
18 42 15 m Ljava/awt/Component;
20 42 16 d Ljava/awt/Dimension;
23 28 17 baseline I
Exception table:
from to target type
1 48 49 any
49 50 49 any
MethodParameters:
Name Flags
target
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.FlowLayout this
start local 1 // java.io.ObjectInputStream stream
0: .line 669
aload 1 /* stream */
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: .line 671
aload 0 /* this */
getfield java.awt.FlowLayout.serialVersionOnStream:I
iconst_1
if_icmpge 3
2: .line 673
aload 0 /* this */
aload 0 /* this */
getfield java.awt.FlowLayout.align:I
invokevirtual java.awt.FlowLayout.setAlignment:(I)V
3: .line 675
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_1
putfield java.awt.FlowLayout.serialVersionOnStream:I
4: .line 676
return
end local 1 // java.io.ObjectInputStream stream
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/FlowLayout;
0 5 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 // java.awt.FlowLayout this
0: .line 684
ldc ""
astore 1 /* str */
start local 1 // java.lang.String str
1: .line 685
aload 0 /* this */
getfield java.awt.FlowLayout.align:I
tableswitch { // 0 - 4
0: 2
1: 3
2: 4
3: 5
4: 6
default: 7
}
2: .line 686
StackMap locals: java.lang.String
StackMap stack:
ldc ",align=left"
astore 1 /* str */
goto 7
3: .line 687
StackMap locals:
StackMap stack:
ldc ",align=center"
astore 1 /* str */
goto 7
4: .line 688
StackMap locals:
StackMap stack:
ldc ",align=right"
astore 1 /* str */
goto 7
5: .line 689
StackMap locals:
StackMap stack:
ldc ",align=leading"
astore 1 /* str */
goto 7
6: .line 690
StackMap locals:
StackMap stack:
ldc ",align=trailing"
astore 1 /* str */
7: .line 691
StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
8: .line 692
aload 0 /* this */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[hgap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield java.awt.FlowLayout.hgap:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",vgap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield java.awt.FlowLayout.vgap:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 1 /* str */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 // java.lang.String str
end local 0 // java.awt.FlowLayout this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/FlowLayout;
1 9 1 str Ljava/lang/String;
}
SourceFile: "FlowLayout.java"