public class sun.tools.jconsole.VariableGridLayout extends java.awt.GridLayout
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.VariableGridLayout
super_class: java.awt.GridLayout
{
private boolean fillRows;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean fillColumns;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(int, int, int, int, boolean, boolean);
descriptor: (IIIIZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // int rows
start local 2 // int cols
start local 3 // int hgap
start local 4 // int vgap
start local 5 // boolean fillRows
start local 6 // boolean fillColumns
0: .line 40
aload 0 /* this */
iload 1 /* rows */
iload 2 /* cols */
iload 3 /* hgap */
iload 4 /* vgap */
invokespecial java.awt.GridLayout.<init>:(IIII)V
1: .line 42
aload 0 /* this */
iload 5 /* fillRows */
putfield sun.tools.jconsole.VariableGridLayout.fillRows:Z
2: .line 43
aload 0 /* this */
iload 6 /* fillColumns */
putfield sun.tools.jconsole.VariableGridLayout.fillColumns:Z
3: .line 44
return
end local 6 // boolean fillColumns
end local 5 // boolean fillRows
end local 4 // int vgap
end local 3 // int hgap
end local 2 // int cols
end local 1 // int rows
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/VariableGridLayout;
0 4 1 rows I
0 4 2 cols I
0 4 3 hgap I
0 4 4 vgap I
0 4 5 fillRows Z
0 4 6 fillColumns Z
MethodParameters:
Name Flags
rows
cols
hgap
vgap
fillRows
fillColumns
public void setFillRow(javax.swing.JComponent, boolean);
descriptor: (Ljavax/swing/JComponent;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // javax.swing.JComponent c
start local 2 // boolean b
0: .line 47
aload 1 /* c */
ldc "VariableGridLayout.fillRow"
iload 2 /* b */
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
1: .line 48
return
end local 2 // boolean b
end local 1 // javax.swing.JComponent c
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/VariableGridLayout;
0 2 1 c Ljavax/swing/JComponent;
0 2 2 b Z
MethodParameters:
Name Flags
c
b
public void setFillColumn(javax.swing.JComponent, boolean);
descriptor: (Ljavax/swing/JComponent;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // javax.swing.JComponent c
start local 2 // boolean b
0: .line 51
aload 1 /* c */
ldc "VariableGridLayout.fillColumn"
iload 2 /* b */
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
1: .line 52
return
end local 2 // boolean b
end local 1 // javax.swing.JComponent c
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/VariableGridLayout;
0 2 1 c Ljavax/swing/JComponent;
0 2 2 b Z
MethodParameters:
Name Flags
c
b
public boolean getFillRow(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // javax.swing.JComponent c
0: .line 55
aload 1 /* c */
ldc "VariableGridLayout.fillRow"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2 /* b */
start local 2 // java.lang.Boolean b
1: .line 56
aload 2 /* b */
ifnull 2
aload 2 /* b */
invokevirtual java.lang.Boolean.booleanValue:()Z
goto 3
StackMap locals: java.lang.Boolean
StackMap stack:
2: aload 0 /* this */
getfield sun.tools.jconsole.VariableGridLayout.fillRows:Z
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 // java.lang.Boolean b
end local 1 // javax.swing.JComponent c
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/VariableGridLayout;
0 4 1 c Ljavax/swing/JComponent;
1 4 2 b Ljava/lang/Boolean;
MethodParameters:
Name Flags
c
public boolean getFillColumn(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // javax.swing.JComponent c
0: .line 60
aload 1 /* c */
ldc "VariableGridLayout.fillColumn"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2 /* b */
start local 2 // java.lang.Boolean b
1: .line 61
aload 2 /* b */
ifnull 2
aload 2 /* b */
invokevirtual java.lang.Boolean.booleanValue:()Z
goto 3
StackMap locals: java.lang.Boolean
StackMap stack:
2: aload 0 /* this */
getfield sun.tools.jconsole.VariableGridLayout.fillColumns:Z
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 // java.lang.Boolean b
end local 1 // javax.swing.JComponent c
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/VariableGridLayout;
0 4 1 c Ljavax/swing/JComponent;
1 4 2 b Ljava/lang/Boolean;
MethodParameters:
Name Flags
c
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=21, args_size=2
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // java.awt.Container parent
0: .line 65
aload 1 /* parent */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 2 /* insets */
start local 2 // java.awt.Insets insets
1: .line 66
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 3 /* ncomponents */
start local 3 // int ncomponents
2: .line 67
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getRows:()I
istore 4 /* nrows */
start local 4 // int nrows
3: .line 68
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getColumns:()I
istore 5 /* ncols */
start local 5 // int ncols
4: .line 69
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getHgap:()I
istore 6 /* hgap */
start local 6 // int hgap
5: .line 70
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getVgap:()I
istore 7 /* vgap */
start local 7 // int vgap
6: .line 72
iload 4 /* nrows */
ifle 9
7: .line 73
iload 3 /* ncomponents */
iload 4 /* nrows */
iadd
iconst_1
isub
iload 4 /* nrows */
idiv
istore 5 /* ncols */
8: .line 74
goto 10
9: .line 75
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int
StackMap stack:
iload 3 /* ncomponents */
iload 5 /* ncols */
iadd
iconst_1
isub
iload 5 /* ncols */
idiv
istore 4 /* nrows */
10: .line 81
StackMap locals:
StackMap stack:
iconst_0
istore 10 /* nFills */
start local 10 // int nFills
11: .line 82
iload 4 /* nrows */
newarray 4
astore 11 /* fills */
start local 11 // boolean[] fills
12: .line 83
iconst_m1
istore 12 /* lastFillRow */
start local 12 // int lastFillRow
13: .line 84
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 13 /* nComps */
start local 13 // int nComps
14: .line 86
aload 2 /* insets */
getfield java.awt.Insets.top:I
istore 9 /* y */
start local 9 // int y
15: .line 87
iconst_0
istore 14 /* row */
start local 14 // int row
16: goto 42
17: .line 89
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int top int int boolean[] int int int
StackMap stack:
iconst_0
istore 15 /* h */
start local 15 // int h
18: .line 90
iconst_0
istore 16 /* col */
start local 16 // int col
19: goto 24
20: .line 91
StackMap locals: int int
StackMap stack:
iload 14 /* row */
iload 5 /* ncols */
imul
iload 16 /* col */
iadd
iload 13 /* nComps */
if_icmpge 23
21: .line 92
aload 1 /* parent */
iload 14 /* row */
iload 5 /* ncols */
imul
iload 16 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 17 /* c */
start local 17 // java.awt.Component c
22: .line 93
iload 15 /* h */
aload 17 /* c */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 15 /* h */
end local 17 // java.awt.Component c
23: .line 90
StackMap locals:
StackMap stack:
iinc 16 /* col */ 1
StackMap locals:
StackMap stack:
24: iload 16 /* col */
iload 5 /* ncols */
if_icmplt 20
end local 16 // int col
25: .line 97
aload 2 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* x */
start local 8 // int x
26: .line 98
iconst_0
istore 16 /* col */
start local 16 // int col
27: goto 36
28: .line 99
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int int int int boolean[] int int int int int
StackMap stack:
iload 14 /* row */
iload 5 /* ncols */
imul
iload 16 /* col */
iadd
iload 13 /* nComps */
if_icmpge 35
29: .line 100
aload 1 /* parent */
iload 14 /* row */
iload 5 /* ncols */
imul
iload 16 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 17 /* c */
start local 17 // javax.swing.JComponent c
30: .line 101
aload 17 /* c */
invokevirtual javax.swing.JComponent.getWidth:()I
istore 18 /* w */
start local 18 // int w
31: .line 102
aload 17 /* c */
iload 8 /* x */
iload 9 /* y */
iload 18 /* w */
iload 15 /* h */
invokevirtual javax.swing.JComponent.setBounds:(IIII)V
32: .line 103
iload 8 /* x */
iload 18 /* w */
iload 6 /* hgap */
iadd
iadd
istore 8 /* x */
33: .line 104
iload 16 /* col */
ifne 35
aload 0 /* this */
aload 17 /* c */
invokevirtual sun.tools.jconsole.VariableGridLayout.getFillRow:(Ljavax/swing/JComponent;)Z
ifeq 35
34: .line 105
aload 11 /* fills */
iload 14 /* row */
iconst_1
bastore
end local 18 // int w
end local 17 // javax.swing.JComponent c
35: .line 98
StackMap locals:
StackMap stack:
iinc 16 /* col */ 1
StackMap locals:
StackMap stack:
36: iload 16 /* col */
iload 5 /* ncols */
if_icmplt 28
end local 16 // int col
37: .line 109
iload 9 /* y */
iload 15 /* h */
iload 7 /* vgap */
iadd
iadd
istore 9 /* y */
38: .line 110
aload 11 /* fills */
iload 14 /* row */
baload
ifeq 41
39: .line 111
iinc 10 /* nFills */ 1
40: .line 112
iload 14 /* row */
istore 12 /* lastFillRow */
end local 15 // int h
41: .line 87
StackMap locals:
StackMap stack:
iinc 14 /* row */ 1
end local 8 // int x
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int top int int boolean[] int int int
StackMap stack:
42: iload 14 /* row */
iload 4 /* nrows */
if_icmplt 17
end local 14 // int row
43: .line 117
iload 10 /* nFills */
ifle 62
iload 9 /* y */
aload 1 /* parent */
invokevirtual java.awt.Container.getHeight:()I
if_icmpge 62
44: .line 119
aload 1 /* parent */
invokevirtual java.awt.Container.getHeight:()I
iload 9 /* y */
isub
iload 10 /* nFills */
idiv
istore 14 /* hAdd */
start local 14 // int hAdd
45: .line 120
iconst_0
istore 15 /* hAdded */
start local 15 // int hAdded
46: .line 121
iconst_0
istore 16 /* row */
start local 16 // int row
47: goto 61
48: .line 122
StackMap locals: int int
StackMap stack:
aload 11 /* fills */
iload 16 /* row */
baload
ifeq 60
49: .line 123
iload 16 /* row */
iload 12 /* lastFillRow */
if_icmpne 51
50: .line 125
aload 1 /* parent */
invokevirtual java.awt.Container.getHeight:()I
iload 9 /* y */
iload 15 /* hAdded */
iadd
isub
istore 14 /* hAdd */
51: .line 127
StackMap locals:
StackMap stack:
iconst_0
istore 17 /* col */
start local 17 // int col
52: goto 58
53: .line 128
StackMap locals: int
StackMap stack:
iload 16 /* row */
iload 5 /* ncols */
imul
iload 17 /* col */
iadd
iload 13 /* nComps */
if_icmpge 57
54: .line 129
aload 1 /* parent */
iload 16 /* row */
iload 5 /* ncols */
imul
iload 17 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 18 /* c */
start local 18 // java.awt.Component c
55: .line 130
aload 18 /* c */
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 19 /* b */
start local 19 // java.awt.Rectangle b
56: .line 131
aload 18 /* c */
aload 19 /* b */
getfield java.awt.Rectangle.x:I
aload 19 /* b */
getfield java.awt.Rectangle.y:I
iload 15 /* hAdded */
iadd
aload 19 /* b */
getfield java.awt.Rectangle.width:I
aload 19 /* b */
getfield java.awt.Rectangle.height:I
iload 14 /* hAdd */
iadd
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 19 // java.awt.Rectangle b
end local 18 // java.awt.Component c
57: .line 127
StackMap locals:
StackMap stack:
iinc 17 /* col */ 1
StackMap locals:
StackMap stack:
58: iload 17 /* col */
iload 5 /* ncols */
if_icmplt 53
end local 17 // int col
59: .line 134
iload 15 /* hAdded */
iload 14 /* hAdd */
iadd
istore 15 /* hAdded */
60: .line 121
StackMap locals:
StackMap stack:
iinc 16 /* row */ 1
StackMap locals:
StackMap stack:
61: iload 16 /* row */
iload 4 /* nrows */
if_icmplt 48
end local 16 // int row
end local 15 // int hAdded
end local 14 // int hAdd
62: .line 140
StackMap locals:
StackMap stack:
iconst_0
istore 10 /* nFills */
63: .line 141
iload 5 /* ncols */
newarray 4
astore 11 /* fills */
64: .line 142
iconst_m1
istore 14 /* lastFillCol */
start local 14 // int lastFillCol
65: .line 144
aload 2 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* x */
start local 8 // int x
66: .line 145
iconst_0
istore 15 /* col */
start local 15 // int col
67: goto 93
68: .line 147
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int int int int boolean[] int int int int
StackMap stack:
iconst_0
istore 16 /* w */
start local 16 // int w
69: .line 148
iconst_0
istore 17 /* row */
start local 17 // int row
70: goto 75
71: .line 149
StackMap locals: int int
StackMap stack:
iload 17 /* row */
iload 5 /* ncols */
imul
iload 15 /* col */
iadd
iload 13 /* nComps */
if_icmpge 74
72: .line 150
aload 1 /* parent */
iload 17 /* row */
iload 5 /* ncols */
imul
iload 15 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 18 /* c */
start local 18 // java.awt.Component c
73: .line 151
iload 16 /* w */
aload 18 /* c */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 16 /* w */
end local 18 // java.awt.Component c
74: .line 148
StackMap locals:
StackMap stack:
iinc 17 /* row */ 1
StackMap locals:
StackMap stack:
75: iload 17 /* row */
iload 4 /* nrows */
if_icmplt 71
end local 17 // int row
76: .line 155
aload 2 /* insets */
getfield java.awt.Insets.top:I
istore 9 /* y */
77: .line 156
iconst_0
istore 17 /* row */
start local 17 // int row
78: goto 87
79: .line 157
StackMap locals:
StackMap stack:
iload 17 /* row */
iload 5 /* ncols */
imul
iload 15 /* col */
iadd
iload 13 /* nComps */
if_icmpge 86
80: .line 158
aload 1 /* parent */
iload 17 /* row */
iload 5 /* ncols */
imul
iload 15 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 18 /* c */
start local 18 // javax.swing.JComponent c
81: .line 159
aload 18 /* c */
invokevirtual javax.swing.JComponent.getHeight:()I
istore 19 /* h */
start local 19 // int h
82: .line 160
aload 18 /* c */
iload 8 /* x */
iload 9 /* y */
iload 16 /* w */
iload 19 /* h */
invokevirtual javax.swing.JComponent.setBounds:(IIII)V
83: .line 161
iload 9 /* y */
iload 19 /* h */
iload 7 /* vgap */
iadd
iadd
istore 9 /* y */
84: .line 162
iload 17 /* row */
ifne 86
aload 0 /* this */
aload 18 /* c */
invokevirtual sun.tools.jconsole.VariableGridLayout.getFillColumn:(Ljavax/swing/JComponent;)Z
ifeq 86
85: .line 163
aload 11 /* fills */
iload 15 /* col */
iconst_1
bastore
end local 19 // int h
end local 18 // javax.swing.JComponent c
86: .line 156
StackMap locals:
StackMap stack:
iinc 17 /* row */ 1
StackMap locals:
StackMap stack:
87: iload 17 /* row */
iload 4 /* nrows */
if_icmplt 79
end local 17 // int row
88: .line 167
iload 8 /* x */
iload 16 /* w */
iload 6 /* hgap */
iadd
iadd
istore 8 /* x */
89: .line 168
aload 11 /* fills */
iload 15 /* col */
baload
ifeq 92
90: .line 169
iinc 10 /* nFills */ 1
91: .line 170
iload 15 /* col */
istore 14 /* lastFillCol */
end local 16 // int w
92: .line 145
StackMap locals:
StackMap stack:
iinc 15 /* col */ 1
StackMap locals:
StackMap stack:
93: iload 15 /* col */
iload 5 /* ncols */
if_icmplt 68
end local 15 // int col
94: .line 175
iload 10 /* nFills */
ifle 113
iload 8 /* x */
aload 1 /* parent */
invokevirtual java.awt.Container.getWidth:()I
if_icmpge 113
95: .line 177
aload 1 /* parent */
invokevirtual java.awt.Container.getWidth:()I
iload 8 /* x */
isub
iload 10 /* nFills */
idiv
istore 15 /* wAdd */
start local 15 // int wAdd
96: .line 178
iconst_0
istore 16 /* wAdded */
start local 16 // int wAdded
97: .line 179
iconst_0
istore 17 /* col */
start local 17 // int col
98: goto 112
99: .line 180
StackMap locals: int int
StackMap stack:
aload 11 /* fills */
iload 17 /* col */
baload
ifeq 111
100: .line 181
iload 17 /* col */
iload 14 /* lastFillCol */
if_icmpne 102
101: .line 182
aload 1 /* parent */
invokevirtual java.awt.Container.getWidth:()I
iload 8 /* x */
iload 16 /* wAdded */
iadd
isub
istore 15 /* wAdd */
102: .line 184
StackMap locals:
StackMap stack:
iconst_0
istore 18 /* row */
start local 18 // int row
103: goto 109
104: .line 185
StackMap locals: int
StackMap stack:
iload 18 /* row */
iload 5 /* ncols */
imul
iload 17 /* col */
iadd
iload 13 /* nComps */
if_icmpge 108
105: .line 186
aload 1 /* parent */
iload 18 /* row */
iload 5 /* ncols */
imul
iload 17 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 19 /* c */
start local 19 // java.awt.Component c
106: .line 187
aload 19 /* c */
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 20 /* b */
start local 20 // java.awt.Rectangle b
107: .line 188
aload 19 /* c */
aload 20 /* b */
getfield java.awt.Rectangle.x:I
iload 16 /* wAdded */
iadd
aload 20 /* b */
getfield java.awt.Rectangle.y:I
aload 20 /* b */
getfield java.awt.Rectangle.width:I
iload 15 /* wAdd */
iadd
aload 20 /* b */
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 20 // java.awt.Rectangle b
end local 19 // java.awt.Component c
108: .line 184
StackMap locals:
StackMap stack:
iinc 18 /* row */ 1
StackMap locals:
StackMap stack:
109: iload 18 /* row */
iload 4 /* nrows */
if_icmplt 104
end local 18 // int row
110: .line 191
iload 16 /* wAdded */
iload 15 /* wAdd */
iadd
istore 16 /* wAdded */
111: .line 179
StackMap locals:
StackMap stack:
iinc 17 /* col */ 1
StackMap locals:
StackMap stack:
112: iload 17 /* col */
iload 5 /* ncols */
if_icmplt 99
end local 17 // int col
end local 16 // int wAdded
end local 15 // int wAdd
113: .line 195
StackMap locals:
StackMap stack:
return
end local 14 // int lastFillCol
end local 13 // int nComps
end local 12 // int lastFillRow
end local 11 // boolean[] fills
end local 10 // int nFills
end local 9 // int y
end local 8 // int x
end local 7 // int vgap
end local 6 // int hgap
end local 5 // int ncols
end local 4 // int nrows
end local 3 // int ncomponents
end local 2 // java.awt.Insets insets
end local 1 // java.awt.Container parent
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 114 0 this Lsun/tools/jconsole/VariableGridLayout;
0 114 1 parent Ljava/awt/Container;
1 114 2 insets Ljava/awt/Insets;
2 114 3 ncomponents I
3 114 4 nrows I
4 114 5 ncols I
5 114 6 hgap I
6 114 7 vgap I
26 42 8 x I
66 114 8 x I
15 114 9 y I
11 114 10 nFills I
12 114 11 fills [Z
13 114 12 lastFillRow I
14 114 13 nComps I
16 43 14 row I
18 41 15 h I
19 25 16 col I
22 23 17 c Ljava/awt/Component;
27 37 16 col I
30 35 17 c Ljavax/swing/JComponent;
31 35 18 w I
45 62 14 hAdd I
46 62 15 hAdded I
47 62 16 row I
52 59 17 col I
55 57 18 c Ljava/awt/Component;
56 57 19 b Ljava/awt/Rectangle;
65 114 14 lastFillCol I
67 94 15 col I
69 92 16 w I
70 76 17 row I
73 74 18 c Ljava/awt/Component;
78 88 17 row I
81 86 18 c Ljavax/swing/JComponent;
82 86 19 h I
96 113 15 wAdd I
97 113 16 wAdded I
98 113 17 col I
103 110 18 row I
106 108 19 c Ljava/awt/Component;
107 108 20 b Ljava/awt/Rectangle;
MethodParameters:
Name Flags
parent
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=15, args_size=2
start local 0 // sun.tools.jconsole.VariableGridLayout this
start local 1 // java.awt.Container parent
0: .line 198
aload 1 /* parent */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 2 /* insets */
start local 2 // java.awt.Insets insets
1: .line 199
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 3 /* ncomponents */
start local 3 // int ncomponents
2: .line 200
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getRows:()I
istore 4 /* nrows */
start local 4 // int nrows
3: .line 201
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getColumns:()I
istore 5 /* ncols */
start local 5 // int ncols
4: .line 202
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getHgap:()I
istore 6 /* hgap */
start local 6 // int hgap
5: .line 203
aload 0 /* this */
invokevirtual sun.tools.jconsole.VariableGridLayout.getVgap:()I
istore 7 /* vgap */
start local 7 // int vgap
6: .line 205
iload 4 /* nrows */
ifle 9
7: .line 206
iload 3 /* ncomponents */
iload 4 /* nrows */
iadd
iconst_1
isub
iload 4 /* nrows */
idiv
istore 5 /* ncols */
8: .line 207
goto 10
9: .line 208
StackMap locals: sun.tools.jconsole.VariableGridLayout java.awt.Container java.awt.Insets int int int int int
StackMap stack:
iload 3 /* ncomponents */
iload 5 /* ncols */
iadd
iconst_1
isub
iload 5 /* ncols */
idiv
istore 4 /* nrows */
10: .line 211
StackMap locals:
StackMap stack:
aload 1 /* parent */
invokevirtual java.awt.Container.getComponentCount:()I
istore 8 /* nComps */
start local 8 // int nComps
11: .line 213
aload 2 /* insets */
getfield java.awt.Insets.top:I
istore 9 /* y */
start local 9 // int y
12: .line 214
iconst_0
istore 10 /* row */
start local 10 // int row
13: goto 24
14: .line 215
StackMap locals: int int int
StackMap stack:
iconst_0
istore 11 /* h */
start local 11 // int h
15: .line 216
iconst_0
istore 12 /* col */
start local 12 // int col
16: goto 21
17: .line 217
StackMap locals: int int
StackMap stack:
iload 10 /* row */
iload 5 /* ncols */
imul
iload 12 /* col */
iadd
iload 8 /* nComps */
if_icmpge 20
18: .line 218
aload 1 /* parent */
iload 10 /* row */
iload 5 /* ncols */
imul
iload 12 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 13 /* c */
start local 13 // java.awt.Component c
19: .line 219
iload 11 /* h */
aload 13 /* c */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 11 /* h */
end local 13 // java.awt.Component c
20: .line 216
StackMap locals:
StackMap stack:
iinc 12 /* col */ 1
StackMap locals:
StackMap stack:
21: iload 12 /* col */
iload 5 /* ncols */
if_icmplt 17
end local 12 // int col
22: .line 222
iload 9 /* y */
iload 11 /* h */
iload 7 /* vgap */
iadd
iadd
istore 9 /* y */
end local 11 // int h
23: .line 214
iinc 10 /* row */ 1
StackMap locals:
StackMap stack:
24: iload 10 /* row */
iload 4 /* nrows */
if_icmplt 14
end local 10 // int row
25: .line 225
aload 2 /* insets */
getfield java.awt.Insets.left:I
istore 10 /* x */
start local 10 // int x
26: .line 226
iconst_0
istore 11 /* col */
start local 11 // int col
27: goto 38
28: .line 227
StackMap locals: int
StackMap stack:
iconst_0
istore 12 /* w */
start local 12 // int w
29: .line 228
iconst_0
istore 13 /* row */
start local 13 // int row
30: goto 35
31: .line 229
StackMap locals: int int
StackMap stack:
iload 13 /* row */
iload 5 /* ncols */
imul
iload 11 /* col */
iadd
iload 8 /* nComps */
if_icmpge 34
32: .line 230
aload 1 /* parent */
iload 13 /* row */
iload 5 /* ncols */
imul
iload 11 /* col */
iadd
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 14 /* c */
start local 14 // java.awt.Component c
33: .line 231
iload 12 /* w */
aload 14 /* c */
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 12 /* w */
end local 14 // java.awt.Component c
34: .line 228
StackMap locals:
StackMap stack:
iinc 13 /* row */ 1
StackMap locals:
StackMap stack:
35: iload 13 /* row */
iload 4 /* nrows */
if_icmplt 31
end local 13 // int row
36: .line 234
iload 10 /* x */
iload 12 /* w */
iload 6 /* hgap */
iadd
iadd
istore 10 /* x */
end local 12 // int w
37: .line 226
iinc 11 /* col */ 1
StackMap locals:
StackMap stack:
38: iload 11 /* col */
iload 5 /* ncols */
if_icmplt 28
end local 11 // int col
39: .line 236
new java.awt.Dimension
dup
iload 10 /* x */
iload 9 /* y */
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 10 // int x
end local 9 // int y
end local 8 // int nComps
end local 7 // int vgap
end local 6 // int hgap
end local 5 // int ncols
end local 4 // int nrows
end local 3 // int ncomponents
end local 2 // java.awt.Insets insets
end local 1 // java.awt.Container parent
end local 0 // sun.tools.jconsole.VariableGridLayout this
LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/tools/jconsole/VariableGridLayout;
0 40 1 parent Ljava/awt/Container;
1 40 2 insets Ljava/awt/Insets;
2 40 3 ncomponents I
3 40 4 nrows I
4 40 5 ncols I
5 40 6 hgap I
6 40 7 vgap I
11 40 8 nComps I
12 40 9 y I
13 25 10 row I
15 23 11 h I
16 22 12 col I
19 20 13 c Ljava/awt/Component;
26 40 10 x I
27 39 11 col I
29 37 12 w I
30 36 13 row I
33 34 14 c Ljava/awt/Component;
MethodParameters:
Name Flags
parent
}
SourceFile: "VariableGridLayout.java"