class javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout implements java.awt.LayoutManager
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout
super_class: java.lang.Object
{
private int hGap;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int topMargin;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
0: .line 1165
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1166
aload 0 /* this */
iconst_5
putfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
2: .line 1167
aload 0 /* this */
bipush 17
putfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.topMargin:I
3: .line 1165
return
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
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 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
start local 1 // java.lang.String string
start local 2 // java.awt.Component comp
0: .line 1170
return
end local 2 // java.awt.Component comp
end local 1 // java.lang.String string
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
0 1 1 string Ljava/lang/String;
0 1 2 comp Ljava/awt/Component;
MethodParameters:
Name Flags
string
comp
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
start local 1 // java.awt.Container container
0: .line 1173
aload 1 /* container */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
1: .line 1175
aload 2 /* children */
ifnull 27
aload 2 /* children */
arraylength
ifle 27
2: .line 1176
aload 2 /* children */
arraylength
istore 3 /* numChildren */
start local 3 // int numChildren
3: .line 1177
iload 3 /* numChildren */
anewarray java.awt.Dimension
astore 4 /* sizes */
start local 4 // java.awt.Dimension[] sizes
4: .line 1178
aload 1 /* container */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5 /* insets */
start local 5 // java.awt.Insets insets
5: .line 1179
aload 5 /* insets */
getfield java.awt.Insets.top:I
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.topMargin:I
iadd
istore 6 /* yLocation */
start local 6 // int yLocation
6: .line 1180
iconst_0
istore 7 /* maxWidth */
start local 7 // int maxWidth
7: .line 1182
iconst_0
istore 8 /* counter */
start local 8 // int counter
8: goto 12
9: .line 1183
StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout java.awt.Container java.awt.Component[] int java.awt.Dimension[] java.awt.Insets int int int
StackMap stack:
aload 4 /* sizes */
iload 8 /* counter */
aload 2 /* children */
iload 8 /* counter */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
aastore
10: .line 1184
iload 7 /* maxWidth */
aload 4 /* sizes */
iload 8 /* counter */
aaload
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 7 /* maxWidth */
11: .line 1182
iinc 8 /* counter */ 1
StackMap locals:
StackMap stack:
12: iload 8 /* counter */
iload 3 /* numChildren */
if_icmplt 9
end local 8 // int counter
13: .line 1187
aload 1 /* container */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 17
14: .line 1188
aload 1 /* container */
invokevirtual java.awt.Container.getSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
aload 5 /* insets */
getfield java.awt.Insets.left:I
isub
iload 7 /* maxWidth */
isub
istore 8 /* xLocation */
start local 8 // int xLocation
15: .line 1189
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
iload 7 /* maxWidth */
iadd
istore 9 /* xOffset */
start local 9 // int xOffset
16: .line 1190
goto 19
end local 9 // int xOffset
end local 8 // int xLocation
17: .line 1191
StackMap locals:
StackMap stack:
aload 5 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* xLocation */
start local 8 // int xLocation
18: .line 1192
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
iload 7 /* maxWidth */
iadd
ineg
istore 9 /* xOffset */
start local 9 // int xOffset
19: .line 1194
StackMap locals: int int
StackMap stack:
iload 3 /* numChildren */
iconst_1
isub
istore 10 /* counter */
start local 10 // int counter
20: goto 26
21: .line 1195
StackMap locals: int
StackMap stack:
aload 2 /* children */
iload 10 /* counter */
aaload
iload 8 /* xLocation */
iload 6 /* yLocation */
22: .line 1196
iload 7 /* maxWidth */
aload 4 /* sizes */
iload 10 /* counter */
aaload
getfield java.awt.Dimension.height:I
23: .line 1195
invokevirtual java.awt.Component.setBounds:(IIII)V
24: .line 1197
iload 8 /* xLocation */
iload 9 /* xOffset */
isub
istore 8 /* xLocation */
25: .line 1194
iinc 10 /* counter */ -1
StackMap locals:
StackMap stack:
26: iload 10 /* counter */
ifge 21
end local 10 // int counter
end local 9 // int xOffset
end local 8 // int xLocation
end local 7 // int maxWidth
end local 6 // int yLocation
end local 5 // java.awt.Insets insets
end local 4 // java.awt.Dimension[] sizes
end local 3 // int numChildren
27: .line 1200
StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout java.awt.Container java.awt.Component[]
StackMap stack:
return
end local 2 // java.awt.Component[] children
end local 1 // java.awt.Container container
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
0 28 1 container Ljava/awt/Container;
1 28 2 children [Ljava/awt/Component;
3 27 3 numChildren I
4 27 4 sizes [Ljava/awt/Dimension;
5 27 5 insets Ljava/awt/Insets;
6 27 6 yLocation I
7 27 7 maxWidth I
8 13 8 counter I
15 17 8 xLocation I
18 27 8 xLocation I
16 17 9 xOffset I
19 27 9 xOffset I
20 27 10 counter I
MethodParameters:
Name Flags
container
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
start local 1 // java.awt.Container c
0: .line 1203
aload 1 /* c */
ifnull 20
1: .line 1204
aload 1 /* c */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
2: .line 1206
aload 2 /* children */
ifnull 20
aload 2 /* children */
arraylength
ifle 20
3: .line 1207
aload 2 /* children */
arraylength
istore 3 /* numChildren */
start local 3 // int numChildren
4: .line 1208
iconst_0
istore 4 /* height */
start local 4 // int height
5: .line 1209
aload 1 /* c */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5 /* cInsets */
start local 5 // java.awt.Insets cInsets
6: .line 1210
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.topMargin:I
aload 5 /* cInsets */
getfield java.awt.Insets.top:I
iadd
aload 5 /* cInsets */
getfield java.awt.Insets.bottom:I
iadd
istore 6 /* extraHeight */
start local 6 // int extraHeight
7: .line 1211
aload 5 /* cInsets */
getfield java.awt.Insets.left:I
aload 5 /* cInsets */
getfield java.awt.Insets.right:I
iadd
istore 7 /* extraWidth */
start local 7 // int extraWidth
8: .line 1212
iconst_0
istore 8 /* maxWidth */
start local 8 // int maxWidth
9: .line 1214
iconst_0
istore 9 /* counter */
start local 9 // int counter
10: goto 15
11: .line 1215
StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout java.awt.Container java.awt.Component[] int int java.awt.Insets int int int int
StackMap stack:
aload 2 /* children */
iload 9 /* counter */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 10 /* aSize */
start local 10 // java.awt.Dimension aSize
12: .line 1216
iload 4 /* height */
aload 10 /* aSize */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 4 /* height */
13: .line 1217
iload 8 /* maxWidth */
aload 10 /* aSize */
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 8 /* maxWidth */
end local 10 // java.awt.Dimension aSize
14: .line 1214
iinc 9 /* counter */ 1
StackMap locals:
StackMap stack:
15: iload 9 /* counter */
iload 3 /* numChildren */
if_icmplt 11
end local 9 // int counter
16: .line 1219
new java.awt.Dimension
dup
iload 7 /* extraWidth */
iload 3 /* numChildren */
iload 8 /* maxWidth */
imul
iadd
17: .line 1220
iload 3 /* numChildren */
iconst_1
isub
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
imul
iadd
18: .line 1221
iload 6 /* extraHeight */
iload 4 /* height */
iadd
19: .line 1219
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 8 // int maxWidth
end local 7 // int extraWidth
end local 6 // int extraHeight
end local 5 // java.awt.Insets cInsets
end local 4 // int height
end local 3 // int numChildren
end local 2 // java.awt.Component[] children
20: .line 1224
StackMap locals: javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout java.awt.Container
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 // java.awt.Container c
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
0 21 1 c Ljava/awt/Container;
2 20 2 children [Ljava/awt/Component;
4 20 3 numChildren I
5 20 4 height I
6 20 5 cInsets Ljava/awt/Insets;
7 20 6 extraHeight I
8 20 7 extraWidth I
9 20 8 maxWidth I
10 16 9 counter I
12 14 10 aSize Ljava/awt/Dimension;
MethodParameters:
Name Flags
c
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
start local 1 // java.awt.Container c
0: .line 1228
aload 0 /* this */
aload 1 /* c */
invokevirtual javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.minimumLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 1 // java.awt.Container c
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
0 1 1 c Ljava/awt/Container;
MethodParameters:
Name Flags
c
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 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
start local 1 // java.awt.Component c
0: .line 1231
return
end local 1 // java.awt.Component c
end local 0 // javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalFileChooserUI$ButtonAreaLayout;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
}
SourceFile: "MetalFileChooserUI.java"
NestHost: javax.swing.plaf.metal.MetalFileChooserUI
InnerClasses:
private ButtonAreaLayout = javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout of javax.swing.plaf.metal.MetalFileChooserUI