public class java.awt.GridLayout implements java.awt.LayoutManager, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.GridLayout
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7411804673224730901
int hgap;
descriptor: I
flags: (0x0000)
int vgap;
descriptor: I
flags: (0x0000)
int rows;
descriptor: I
flags: (0x0000)
int cols;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 // java.awt.GridLayout this
0: .line 151
aload 0 /* this */
iconst_1
iconst_0
iconst_0
iconst_0
invokespecial java.awt.GridLayout.<init>:(IIII)V
1: .line 152
return
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/GridLayout;
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 // java.awt.GridLayout this
start local 1 // int rows
start local 2 // int cols
0: .line 167
aload 0 /* this */
iload 1 /* rows */
iload 2 /* cols */
iconst_0
iconst_0
invokespecial java.awt.GridLayout.<init>:(IIII)V
1: .line 168
return
end local 2 // int cols
end local 1 // int rows
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/GridLayout;
0 2 1 rows I
0 2 2 cols I
MethodParameters:
Name Flags
rows
cols
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 // java.awt.GridLayout this
start local 1 // int rows
start local 2 // int cols
start local 3 // int hgap
start local 4 // int vgap
0: .line 194
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 195
iload 1 /* rows */
ifne 3
iload 2 /* cols */
ifne 3
2: .line 196
new java.lang.IllegalArgumentException
dup
ldc "rows and cols cannot both be zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 198
StackMap locals: java.awt.GridLayout int int int int
StackMap stack:
aload 0 /* this */
iload 1 /* rows */
putfield java.awt.GridLayout.rows:I
4: .line 199
aload 0 /* this */
iload 2 /* cols */
putfield java.awt.GridLayout.cols:I
5: .line 200
aload 0 /* this */
iload 3 /* hgap */
putfield java.awt.GridLayout.hgap:I
6: .line 201
aload 0 /* this */
iload 4 /* vgap */
putfield java.awt.GridLayout.vgap:I
7: .line 202
return
end local 4 // int vgap
end local 3 // int hgap
end local 2 // int cols
end local 1 // int rows
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/GridLayout;
0 8 1 rows I
0 8 2 cols I
0 8 3 hgap I
0 8 4 vgap I
MethodParameters:
Name Flags
rows
cols
hgap
vgap
public int getRows();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.GridLayout this
0: .line 210
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
ireturn
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
public void setRows(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // int rows
0: .line 221
iload 1 /* rows */
ifne 2
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
ifne 2
1: .line 222
new java.lang.IllegalArgumentException
dup
ldc "rows and cols cannot both be zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 224
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 1 /* rows */
putfield java.awt.GridLayout.rows:I
3: .line 225
return
end local 1 // int rows
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/GridLayout;
0 4 1 rows I
MethodParameters:
Name Flags
rows
public int getColumns();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.GridLayout this
0: .line 233
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
ireturn
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
public void setColumns(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // int cols
0: .line 249
iload 1 /* cols */
ifne 2
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
ifne 2
1: .line 250
new java.lang.IllegalArgumentException
dup
ldc "rows and cols cannot both be zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 252
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 1 /* cols */
putfield java.awt.GridLayout.cols:I
3: .line 253
return
end local 1 // int cols
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/GridLayout;
0 4 1 cols I
MethodParameters:
Name Flags
cols
public int getHgap();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.GridLayout this
0: .line 261
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
ireturn
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
public void setHgap(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // int hgap
0: .line 270
aload 0 /* this */
iload 1 /* hgap */
putfield java.awt.GridLayout.hgap:I
1: .line 271
return
end local 1 // int hgap
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/GridLayout;
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.GridLayout this
0: .line 279
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
ireturn
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
public void setVgap(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // int vgap
0: .line 288
aload 0 /* this */
iload 1 /* vgap */
putfield java.awt.GridLayout.vgap:I
1: .line 289
return
end local 1 // int vgap
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/GridLayout;
0 2 1 vgap I
MethodParameters:
Name Flags
vgap
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.GridLayout this
start local 1 // java.lang.String name
start local 2 // java.awt.Component comp
0: .line 297
return
end local 2 // java.awt.Component comp
end local 1 // java.lang.String name
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
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.GridLayout this
start local 1 // java.awt.Component comp
0: .line 304
return
end local 1 // java.awt.Component comp
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/GridLayout;
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=6, locals=12, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // java.awt.Container parent
0: .line 327
aload 1 /* parent */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 328
aload 1 /* parent */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3 /* insets */
start local 3 // java.awt.Insets insets
2: .line 329
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 4 /* ncomponents */
start local 4 // int ncomponents
3: .line 330
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
istore 5 /* nrows */
start local 5 // int nrows
4: .line 331
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
istore 6 /* ncols */
start local 6 // int ncols
5: .line 333
iload 5 /* nrows */
ifle 8
6: .line 334
iload 4 /* ncomponents */
iload 5 /* nrows */
iadd
iconst_1
isub
iload 5 /* nrows */
idiv
istore 6 /* ncols */
7: .line 335
goto 9
8: .line 336
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object java.awt.Insets int int int
StackMap stack:
iload 4 /* ncomponents */
iload 6 /* ncols */
iadd
iconst_1
isub
iload 6 /* ncols */
idiv
istore 5 /* nrows */
9: .line 338
StackMap locals:
StackMap stack:
iconst_0
istore 7 /* w */
start local 7 // int w
10: .line 339
iconst_0
istore 8 /* h */
start local 8 // int h
11: .line 340
iconst_0
istore 9 /* i */
start local 9 // int i
12: goto 20
13: .line 341
StackMap locals: int int int
StackMap stack:
aload 1 /* parent */
iload 9 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 10 /* comp */
start local 10 // java.awt.Component comp
14: .line 342
aload 10 /* comp */
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 11 /* d */
start local 11 // java.awt.Dimension d
15: .line 343
iload 7 /* w */
aload 11 /* d */
getfield java.awt.Dimension.width:I
if_icmpge 17
16: .line 344
aload 11 /* d */
getfield java.awt.Dimension.width:I
istore 7 /* w */
17: .line 346
StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
iload 8 /* h */
aload 11 /* d */
getfield java.awt.Dimension.height:I
if_icmpge 19
18: .line 347
aload 11 /* d */
getfield java.awt.Dimension.height:I
istore 8 /* h */
end local 11 // java.awt.Dimension d
end local 10 // java.awt.Component comp
19: .line 340
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
20: iload 9 /* i */
iload 4 /* ncomponents */
if_icmplt 13
end local 9 // int i
21: .line 350
new java.awt.Dimension
dup
aload 3 /* insets */
getfield java.awt.Insets.left:I
aload 3 /* insets */
getfield java.awt.Insets.right:I
iadd
iload 6 /* ncols */
iload 7 /* w */
imul
iadd
iload 6 /* ncols */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
imul
iadd
22: .line 351
aload 3 /* insets */
getfield java.awt.Insets.top:I
aload 3 /* insets */
getfield java.awt.Insets.bottom:I
iadd
iload 5 /* nrows */
iload 8 /* h */
imul
iadd
iload 5 /* nrows */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
imul
iadd
23: .line 350
invokespecial java.awt.Dimension.<init>:(II)V
aload 2
monitorexit
24: areturn
end local 8 // int h
end local 7 // int w
end local 6 // int ncols
end local 5 // int nrows
end local 4 // int ncomponents
end local 3 // java.awt.Insets insets
25: .line 327
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
26: athrow
end local 1 // java.awt.Container parent
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljava/awt/GridLayout;
0 27 1 parent Ljava/awt/Container;
2 25 3 insets Ljava/awt/Insets;
3 25 4 ncomponents I
4 25 5 nrows I
5 25 6 ncols I
10 25 7 w I
11 25 8 h I
12 21 9 i I
14 19 10 comp Ljava/awt/Component;
15 19 11 d Ljava/awt/Dimension;
Exception table:
from to target type
1 24 25 any
25 26 25 any
MethodParameters:
Name Flags
parent
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // java.awt.Container parent
0: .line 376
aload 1 /* parent */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 377
aload 1 /* parent */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3 /* insets */
start local 3 // java.awt.Insets insets
2: .line 378
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 4 /* ncomponents */
start local 4 // int ncomponents
3: .line 379
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
istore 5 /* nrows */
start local 5 // int nrows
4: .line 380
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
istore 6 /* ncols */
start local 6 // int ncols
5: .line 382
iload 5 /* nrows */
ifle 8
6: .line 383
iload 4 /* ncomponents */
iload 5 /* nrows */
iadd
iconst_1
isub
iload 5 /* nrows */
idiv
istore 6 /* ncols */
7: .line 384
goto 9
8: .line 385
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object java.awt.Insets int int int
StackMap stack:
iload 4 /* ncomponents */
iload 6 /* ncols */
iadd
iconst_1
isub
iload 6 /* ncols */
idiv
istore 5 /* nrows */
9: .line 387
StackMap locals:
StackMap stack:
iconst_0
istore 7 /* w */
start local 7 // int w
10: .line 388
iconst_0
istore 8 /* h */
start local 8 // int h
11: .line 389
iconst_0
istore 9 /* i */
start local 9 // int i
12: goto 20
13: .line 390
StackMap locals: int int int
StackMap stack:
aload 1 /* parent */
iload 9 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 10 /* comp */
start local 10 // java.awt.Component comp
14: .line 391
aload 10 /* comp */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
astore 11 /* d */
start local 11 // java.awt.Dimension d
15: .line 392
iload 7 /* w */
aload 11 /* d */
getfield java.awt.Dimension.width:I
if_icmpge 17
16: .line 393
aload 11 /* d */
getfield java.awt.Dimension.width:I
istore 7 /* w */
17: .line 395
StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
iload 8 /* h */
aload 11 /* d */
getfield java.awt.Dimension.height:I
if_icmpge 19
18: .line 396
aload 11 /* d */
getfield java.awt.Dimension.height:I
istore 8 /* h */
end local 11 // java.awt.Dimension d
end local 10 // java.awt.Component comp
19: .line 389
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
20: iload 9 /* i */
iload 4 /* ncomponents */
if_icmplt 13
end local 9 // int i
21: .line 399
new java.awt.Dimension
dup
aload 3 /* insets */
getfield java.awt.Insets.left:I
aload 3 /* insets */
getfield java.awt.Insets.right:I
iadd
iload 6 /* ncols */
iload 7 /* w */
imul
iadd
iload 6 /* ncols */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
imul
iadd
22: .line 400
aload 3 /* insets */
getfield java.awt.Insets.top:I
aload 3 /* insets */
getfield java.awt.Insets.bottom:I
iadd
iload 5 /* nrows */
iload 8 /* h */
imul
iadd
iload 5 /* nrows */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
imul
iadd
23: .line 399
invokespecial java.awt.Dimension.<init>:(II)V
aload 2
monitorexit
24: areturn
end local 8 // int h
end local 7 // int w
end local 6 // int ncols
end local 5 // int nrows
end local 4 // int ncomponents
end local 3 // java.awt.Insets insets
25: .line 376
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
26: athrow
end local 1 // java.awt.Container parent
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljava/awt/GridLayout;
0 27 1 parent Ljava/awt/Container;
2 25 3 insets Ljava/awt/Insets;
3 25 4 ncomponents I
4 25 5 nrows I
5 25 6 ncols I
10 25 7 w I
11 25 8 h I
12 21 9 i I
14 19 10 comp Ljava/awt/Component;
15 19 11 d Ljava/awt/Dimension;
Exception table:
from to target type
1 24 25 any
25 26 25 any
MethodParameters:
Name Flags
parent
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=21, args_size=2
start local 0 // java.awt.GridLayout this
start local 1 // java.awt.Container parent
0: .line 423
aload 1 /* parent */
invokevirtual java.awt.Container.getTreeLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: .line 424
aload 1 /* parent */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3 /* insets */
start local 3 // java.awt.Insets insets
2: .line 425
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 4 /* ncomponents */
start local 4 // int ncomponents
3: .line 426
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
istore 5 /* nrows */
start local 5 // int nrows
4: .line 427
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
istore 6 /* ncols */
start local 6 // int ncols
5: .line 428
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
istore 7 /* ltr */
start local 7 // boolean ltr
6: .line 430
iload 4 /* ncomponents */
ifne 9
7: .line 431
aload 2
monitorexit
8: return
9: .line 433
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object java.awt.Insets int int int int
StackMap stack:
iload 5 /* nrows */
ifle 12
10: .line 434
iload 4 /* ncomponents */
iload 5 /* nrows */
iadd
iconst_1
isub
iload 5 /* nrows */
idiv
istore 6 /* ncols */
11: .line 435
goto 13
12: .line 436
StackMap locals:
StackMap stack:
iload 4 /* ncomponents */
iload 6 /* ncols */
iadd
iconst_1
isub
iload 6 /* ncols */
idiv
istore 5 /* nrows */
13: .line 443
StackMap locals:
StackMap stack:
iload 6 /* ncols */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
imul
istore 8 /* totalGapsWidth */
start local 8 // int totalGapsWidth
14: .line 444
aload 1 /* parent */
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
isub
istore 9 /* widthWOInsets */
start local 9 // int widthWOInsets
15: .line 445
iload 9 /* widthWOInsets */
iload 8 /* totalGapsWidth */
isub
iload 6 /* ncols */
idiv
istore 10 /* widthOnComponent */
start local 10 // int widthOnComponent
16: .line 446
iload 9 /* widthWOInsets */
iload 10 /* widthOnComponent */
iload 6 /* ncols */
imul
iload 8 /* totalGapsWidth */
iadd
isub
iconst_2
idiv
istore 11 /* extraWidthAvailable */
start local 11 // int extraWidthAvailable
17: .line 448
iload 5 /* nrows */
iconst_1
isub
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
imul
istore 12 /* totalGapsHeight */
start local 12 // int totalGapsHeight
18: .line 449
aload 1 /* parent */
getfield java.awt.Container.height:I
aload 3 /* insets */
getfield java.awt.Insets.top:I
aload 3 /* insets */
getfield java.awt.Insets.bottom:I
iadd
isub
istore 13 /* heightWOInsets */
start local 13 // int heightWOInsets
19: .line 450
iload 13 /* heightWOInsets */
iload 12 /* totalGapsHeight */
isub
iload 5 /* nrows */
idiv
istore 14 /* heightOnComponent */
start local 14 // int heightOnComponent
20: .line 451
iload 13 /* heightWOInsets */
iload 14 /* heightOnComponent */
iload 5 /* nrows */
imul
iload 12 /* totalGapsHeight */
iadd
isub
iconst_2
idiv
istore 15 /* extraHeightAvailable */
start local 15 // int extraHeightAvailable
21: .line 452
iload 7 /* ltr */
ifeq 36
22: .line 453
iconst_0
istore 16 /* c */
start local 16 // int c
23: aload 3 /* insets */
getfield java.awt.Insets.left:I
iload 11 /* extraWidthAvailable */
iadd
istore 17 /* x */
start local 17 // int x
24: goto 34
25: .line 454
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object java.awt.Insets int int int int int int int int int int int int int int
StackMap stack:
iconst_0
istore 18 /* r */
start local 18 // int r
26: aload 3 /* insets */
getfield java.awt.Insets.top:I
iload 15 /* extraHeightAvailable */
iadd
istore 19 /* y */
start local 19 // int y
27: goto 32
28: .line 455
StackMap locals: int int
StackMap stack:
iload 18 /* r */
iload 6 /* ncols */
imul
iload 16 /* c */
iadd
istore 20 /* i */
start local 20 // int i
29: .line 456
iload 20 /* i */
iload 4 /* ncomponents */
if_icmpge 31
30: .line 457
aload 1 /* parent */
iload 20 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
iload 17 /* x */
iload 19 /* y */
iload 10 /* widthOnComponent */
iload 14 /* heightOnComponent */
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 20 // int i
31: .line 454
StackMap locals:
StackMap stack:
iinc 18 /* r */ 1
iload 19 /* y */
iload 14 /* heightOnComponent */
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
iadd
iadd
istore 19 /* y */
StackMap locals:
StackMap stack:
32: iload 18 /* r */
iload 5 /* nrows */
if_icmplt 28
end local 19 // int y
end local 18 // int r
33: .line 453
iinc 16 /* c */ 1
iload 17 /* x */
iload 10 /* widthOnComponent */
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
iadd
iadd
istore 17 /* x */
StackMap locals:
StackMap stack:
34: iload 16 /* c */
iload 6 /* ncols */
if_icmplt 25
end local 17 // int x
end local 16 // int c
35: .line 461
goto 49
36: .line 462
StackMap locals:
StackMap stack:
iconst_0
istore 16 /* c */
start local 16 // int c
37: aload 1 /* parent */
getfield java.awt.Container.width:I
aload 3 /* insets */
getfield java.awt.Insets.right:I
isub
iload 10 /* widthOnComponent */
isub
iload 11 /* extraWidthAvailable */
isub
istore 17 /* x */
start local 17 // int x
38: goto 48
39: .line 463
StackMap locals: int int
StackMap stack:
iconst_0
istore 18 /* r */
start local 18 // int r
40: aload 3 /* insets */
getfield java.awt.Insets.top:I
iload 15 /* extraHeightAvailable */
iadd
istore 19 /* y */
start local 19 // int y
41: goto 46
42: .line 464
StackMap locals: int int
StackMap stack:
iload 18 /* r */
iload 6 /* ncols */
imul
iload 16 /* c */
iadd
istore 20 /* i */
start local 20 // int i
43: .line 465
iload 20 /* i */
iload 4 /* ncomponents */
if_icmpge 45
44: .line 466
aload 1 /* parent */
iload 20 /* i */
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
iload 17 /* x */
iload 19 /* y */
iload 10 /* widthOnComponent */
iload 14 /* heightOnComponent */
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 20 // int i
45: .line 463
StackMap locals:
StackMap stack:
iinc 18 /* r */ 1
iload 19 /* y */
iload 14 /* heightOnComponent */
aload 0 /* this */
getfield java.awt.GridLayout.vgap:I
iadd
iadd
istore 19 /* y */
StackMap locals:
StackMap stack:
46: iload 18 /* r */
iload 5 /* nrows */
if_icmplt 42
end local 19 // int y
end local 18 // int r
47: .line 462
iinc 16 /* c */ 1
iload 17 /* x */
iload 10 /* widthOnComponent */
aload 0 /* this */
getfield java.awt.GridLayout.hgap:I
iadd
isub
istore 17 /* x */
StackMap locals:
StackMap stack:
48: iload 16 /* c */
iload 6 /* ncols */
if_icmplt 39
end local 17 // int x
end local 16 // int c
end local 15 // int extraHeightAvailable
end local 14 // int heightOnComponent
end local 13 // int heightWOInsets
end local 12 // int totalGapsHeight
end local 11 // int extraWidthAvailable
end local 10 // int widthOnComponent
end local 9 // int widthWOInsets
end local 8 // int totalGapsWidth
end local 7 // boolean ltr
end local 6 // int ncols
end local 5 // int nrows
end local 4 // int ncomponents
end local 3 // java.awt.Insets insets
49: .line 423
StackMap locals: java.awt.GridLayout java.awt.Container java.lang.Object
StackMap stack:
aload 2
monitorexit
50: goto 53
StackMap locals:
StackMap stack: java.lang.Throwable
51: aload 2
monitorexit
52: athrow
53: .line 472
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.Container parent
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Ljava/awt/GridLayout;
0 54 1 parent Ljava/awt/Container;
2 49 3 insets Ljava/awt/Insets;
3 49 4 ncomponents I
4 49 5 nrows I
5 49 6 ncols I
6 49 7 ltr Z
14 49 8 totalGapsWidth I
15 49 9 widthWOInsets I
16 49 10 widthOnComponent I
17 49 11 extraWidthAvailable I
18 49 12 totalGapsHeight I
19 49 13 heightWOInsets I
20 49 14 heightOnComponent I
21 49 15 extraHeightAvailable I
23 35 16 c I
24 35 17 x I
26 33 18 r I
27 33 19 y I
29 31 20 i I
37 49 16 c I
38 49 17 x I
40 47 18 r I
41 47 19 y I
43 45 20 i I
Exception table:
from to target type
1 8 51 any
9 50 51 any
51 52 51 any
MethodParameters:
Name Flags
parent
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // java.awt.GridLayout this
0: .line 479
new java.lang.StringBuilder
dup
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.GridLayout.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.GridLayout.vgap:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: .line 480
ldc ",rows="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield java.awt.GridLayout.rows:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",cols="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield java.awt.GridLayout.cols:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: .line 479
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 // java.awt.GridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/GridLayout;
}
SourceFile: "GridLayout.java"