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 1279
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1280
aload 0 /* this */
iconst_5
putfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
2: .line 1281
aload 0 /* this */
bipush 17
putfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.topMargin:I
3: .line 1279
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 1284
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 1287
aload 1 /* container */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
1: .line 1289
aload 2 /* children */
ifnull 27
aload 2 /* children */
arraylength
ifle 27
2: .line 1290
aload 2 /* children */
arraylength
istore 3 /* numChildren */
start local 3 // int numChildren
3: .line 1291
iload 3 /* numChildren */
anewarray java.awt.Dimension
astore 4 /* sizes */
start local 4 // java.awt.Dimension[] sizes
4: .line 1292
aload 1 /* container */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5 /* insets */
start local 5 // java.awt.Insets insets
5: .line 1293
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 1294
iconst_0
istore 7 /* maxWidth */
start local 7 // int maxWidth
7: .line 1296
iconst_0
istore 8 /* counter */
start local 8 // int counter
8: goto 12
9: .line 1297
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 1298
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 1296
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 1301
aload 1 /* container */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 17
14: .line 1302
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 1303
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 1304
goto 19
end local 9 // int xOffset
end local 8 // int xLocation
17: .line 1305
StackMap locals:
StackMap stack:
aload 5 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* xLocation */
start local 8 // int xLocation
18: .line 1306
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 1308
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 1309
StackMap locals: int
StackMap stack:
aload 2 /* children */
iload 10 /* counter */
aaload
iload 8 /* xLocation */
iload 6 /* yLocation */
22: .line 1310
iload 7 /* maxWidth */
aload 4 /* sizes */
iload 10 /* counter */
aaload
getfield java.awt.Dimension.height:I
23: .line 1309
invokevirtual java.awt.Component.setBounds:(IIII)V
24: .line 1311
iload 8 /* xLocation */
iload 9 /* xOffset */
isub
istore 8 /* xLocation */
25: .line 1308
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 1314
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 1317
aload 1 /* c */
ifnull 20
1: .line 1318
aload 1 /* c */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
2: .line 1320
aload 2 /* children */
ifnull 20
aload 2 /* children */
arraylength
ifle 20
3: .line 1321
aload 2 /* children */
arraylength
istore 3 /* numChildren */
start local 3 // int numChildren
4: .line 1322
iconst_0
istore 4 /* height */
start local 4 // int height
5: .line 1323
aload 1 /* c */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5 /* cInsets */
start local 5 // java.awt.Insets cInsets
6: .line 1324
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 1325
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 1326
iconst_0
istore 8 /* maxWidth */
start local 8 // int maxWidth
9: .line 1328
iconst_0
istore 9 /* counter */
start local 9 // int counter
10: goto 15
11: .line 1329
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 1330
iload 4 /* height */
aload 10 /* aSize */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 4 /* height */
13: .line 1331
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 1328
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 1333
new java.awt.Dimension
dup
iload 7 /* extraWidth */
iload 3 /* numChildren */
iload 8 /* maxWidth */
imul
iadd
17: .line 1334
iload 3 /* numChildren */
iconst_1
isub
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalFileChooserUI$ButtonAreaLayout.hGap:I
imul
iadd
18: .line 1335
iload 6 /* extraHeight */
iload 4 /* height */
iadd
19: .line 1333
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 1338
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 1342
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 1345
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