public class sun.awt.OrientableFlowLayout extends java.awt.FlowLayout
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.OrientableFlowLayout
super_class: java.awt.FlowLayout
{
public static final int HORIZONTAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int VERTICAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int TOP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int BOTTOM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
int orientation;
descriptor: I
flags: (0x0000)
int vAlign;
descriptor: I
flags: (0x0000)
int vHGap;
descriptor: I
flags: (0x0000)
int vVGap;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_1
iconst_1
iconst_5
iconst_5
iconst_5
iconst_5
invokespecial sun.awt.OrientableFlowLayout.<init>:(IIIIIII)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OrientableFlowLayout;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_1
iconst_1
iconst_5
iconst_5
iconst_5
iconst_5
invokespecial sun.awt.OrientableFlowLayout.<init>:(IIIIIII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OrientableFlowLayout;
0 2 1 orientation I
MethodParameters:
Name Flags
orientation
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
iconst_5
iconst_5
iconst_5
iconst_5
invokespecial sun.awt.OrientableFlowLayout.<init>:(IIIIIII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OrientableFlowLayout;
0 2 1 orientation I
0 2 2 hAlign I
0 2 3 vAlign I
MethodParameters:
Name Flags
orientation
hAlign
vAlign
public void <init>(int, int, int, int, int, int, int);
descriptor: (IIIIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
iload 2
iload 4
iload 5
invokespecial java.awt.FlowLayout.<init>:(III)V
1: aload 0
iload 1
putfield sun.awt.OrientableFlowLayout.orientation:I
2: aload 0
iload 3
putfield sun.awt.OrientableFlowLayout.vAlign:I
3: aload 0
iload 6
putfield sun.awt.OrientableFlowLayout.vHGap:I
4: aload 0
iload 7
putfield sun.awt.OrientableFlowLayout.vVGap:I
5: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/OrientableFlowLayout;
0 6 1 orientation I
0 6 2 hAlign I
0 6 3 vAlign I
0 6 4 hHGap I
0 6 5 hVGap I
0 6 6 vHGap I
0 6 7 vVGap I
MethodParameters:
Name Flags
orientation
hAlign
vAlign
hHGap
hVGap
vHGap
vVGap
public synchronized void orientHorizontally();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.awt.OrientableFlowLayout.orientation:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OrientableFlowLayout;
public synchronized void orientVertically();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.awt.OrientableFlowLayout.orientation:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OrientableFlowLayout;
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.OrientableFlowLayout.orientation:I
ifne 2
1: aload 0
aload 1
invokespecial java.awt.FlowLayout.preferredLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
2: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 3: aload 1
invokevirtual java.awt.Container.countComponents:()I
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: java.awt.Dimension int int
StackMap stack:
aload 1
iload 4
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 5
start local 5 7: aload 5
invokevirtual java.awt.Component.isVisible:()Z
ifeq 13
8: aload 5
invokevirtual java.awt.Component.preferredSize:()Ljava/awt/Dimension;
astore 6
start local 6 9: aload 2
aload 2
getfield java.awt.Dimension.width:I
aload 6
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
10: iload 4
ifle 12
11: aload 2
dup
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iadd
putfield java.awt.Dimension.height:I
12: StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
aload 2
dup
getfield java.awt.Dimension.height:I
aload 6
getfield java.awt.Dimension.height:I
iadd
putfield java.awt.Dimension.height:I
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 3
if_icmplt 6
end local 4 15: aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 4
start local 4 16: aload 2
dup
getfield java.awt.Dimension.width:I
aload 4
getfield java.awt.Insets.left:I
aload 4
getfield java.awt.Insets.right:I
iadd
aload 0
getfield sun.awt.OrientableFlowLayout.vHGap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.width:I
17: aload 2
dup
getfield java.awt.Dimension.height:I
aload 4
getfield java.awt.Insets.top:I
aload 4
getfield java.awt.Insets.bottom:I
iadd
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.height:I
18: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/OrientableFlowLayout;
0 19 1 target Ljava/awt/Container;
3 19 2 dim Ljava/awt/Dimension;
4 19 3 n I
5 15 4 i I
7 13 5 c Ljava/awt/Component;
9 13 6 cDim Ljava/awt/Dimension;
16 19 4 insets Ljava/awt/Insets;
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=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.OrientableFlowLayout.orientation:I
ifne 2
1: aload 0
aload 1
invokespecial java.awt.FlowLayout.minimumLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
2: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
astore 2
start local 2 3: aload 1
invokevirtual java.awt.Container.countComponents:()I
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: java.awt.Dimension int int
StackMap stack:
aload 1
iload 4
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 5
start local 5 7: aload 5
invokevirtual java.awt.Component.isVisible:()Z
ifeq 13
8: aload 5
invokevirtual java.awt.Component.minimumSize:()Ljava/awt/Dimension;
astore 6
start local 6 9: aload 2
aload 2
getfield java.awt.Dimension.width:I
aload 6
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
10: iload 4
ifle 12
11: aload 2
dup
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iadd
putfield java.awt.Dimension.height:I
12: StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
aload 2
dup
getfield java.awt.Dimension.height:I
aload 6
getfield java.awt.Dimension.height:I
iadd
putfield java.awt.Dimension.height:I
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 3
if_icmplt 6
end local 4 15: aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 4
start local 4 16: aload 2
dup
getfield java.awt.Dimension.width:I
aload 4
getfield java.awt.Insets.left:I
aload 4
getfield java.awt.Insets.right:I
iadd
aload 0
getfield sun.awt.OrientableFlowLayout.vHGap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.width:I
17: aload 2
dup
getfield java.awt.Dimension.height:I
aload 4
getfield java.awt.Insets.top:I
aload 4
getfield java.awt.Insets.bottom:I
iadd
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iconst_2
imul
iadd
iadd
putfield java.awt.Dimension.height:I
18: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/OrientableFlowLayout;
0 19 1 target Ljava/awt/Container;
3 19 2 dim Ljava/awt/Dimension;
4 19 3 n I
5 15 4 i I
7 13 5 c Ljava/awt/Component;
9 13 6 cDim Ljava/awt/Dimension;
16 19 4 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.OrientableFlowLayout.orientation:I
ifne 3
1: aload 0
aload 1
invokespecial java.awt.FlowLayout.layoutContainer:(Ljava/awt/Container;)V
2: goto 45
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 2
start local 2 4: aload 1
invokevirtual java.awt.Container.size:()Ljava/awt/Dimension;
astore 3
start local 3 5: aload 3
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Insets.top:I
aload 2
getfield java.awt.Insets.bottom:I
iadd
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iconst_2
imul
iadd
isub
istore 4
start local 4 6: aload 2
getfield java.awt.Insets.left:I
aload 0
getfield sun.awt.OrientableFlowLayout.vHGap:I
iadd
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: iconst_0
istore 7
start local 7 9: iconst_0
istore 8
start local 8 10: aload 1
invokevirtual java.awt.Container.countComponents:()I
istore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 36
13: StackMap locals: sun.awt.OrientableFlowLayout java.awt.Container java.awt.Insets java.awt.Dimension int int int int int int int
StackMap stack:
aload 1
iload 10
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 11
start local 11 14: aload 11
invokevirtual java.awt.Component.isVisible:()Z
ifeq 35
15: aload 11
invokevirtual java.awt.Component.preferredSize:()Ljava/awt/Dimension;
astore 12
start local 12 16: aload 11
aload 12
getfield java.awt.Dimension.width:I
aload 12
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Component.resize:(II)V
17: iload 6
ifeq 18
iload 6
aload 12
getfield java.awt.Dimension.height:I
iadd
iload 4
if_icmpgt 23
18: StackMap locals: java.awt.Component java.awt.Dimension
StackMap stack:
iload 6
ifle 20
19: iload 6
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iadd
istore 6
20: StackMap locals:
StackMap stack:
iload 6
aload 12
getfield java.awt.Dimension.height:I
iadd
istore 6
21: iload 7
aload 12
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 7
22: goto 35
23: StackMap locals:
StackMap stack:
aload 0
aload 1
24: iload 5
25: aload 2
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iadd
26: iload 7
27: iload 4
iload 6
isub
28: iload 8
29: iload 10
30: invokevirtual sun.awt.OrientableFlowLayout.moveComponents:(Ljava/awt/Container;IIIIII)V
31: iload 5
aload 0
getfield sun.awt.OrientableFlowLayout.vHGap:I
iload 7
iadd
iadd
istore 5
32: aload 12
getfield java.awt.Dimension.width:I
istore 6
33: aload 12
getfield java.awt.Dimension.width:I
istore 7
34: iload 10
istore 8
end local 12 end local 11 35: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
36: iload 10
iload 9
if_icmplt 13
end local 10 37: aload 0
aload 1
38: iload 5
39: aload 2
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
iadd
40: iload 7
41: iload 4
iload 6
isub
42: iload 8
43: iload 9
44: invokevirtual sun.awt.OrientableFlowLayout.moveComponents:(Ljava/awt/Container;IIIIII)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 45: StackMap locals: sun.awt.OrientableFlowLayout java.awt.Container
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/awt/OrientableFlowLayout;
0 46 1 target Ljava/awt/Container;
4 45 2 insets Ljava/awt/Insets;
5 45 3 targetDim Ljava/awt/Dimension;
6 45 4 maxHeight I
7 45 5 x I
8 45 6 y I
9 45 7 colWidth I
10 45 8 start I
11 45 9 n I
12 37 10 i I
14 35 11 c Ljava/awt/Component;
16 35 12 cDim Ljava/awt/Dimension;
MethodParameters:
Name Flags
target
private void moveComponents(java.awt.Container, int, int, int, int, int, int);
descriptor: (Ljava/awt/Container;IIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
getfield sun.awt.OrientableFlowLayout.vAlign:I
tableswitch { // 0 - 2
0: 1
1: 2
2: 4
default: 5
}
1: StackMap locals:
StackMap stack:
goto 5
2: StackMap locals:
StackMap stack:
iload 3
iload 5
iconst_2
idiv
iadd
istore 3
3: goto 5
4: StackMap locals:
StackMap stack:
iload 3
iload 5
iadd
istore 3
5: StackMap locals:
StackMap stack:
iload 6
istore 8
start local 8 6: goto 13
7: StackMap locals: int
StackMap stack:
aload 1
iload 8
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 9
start local 9 8: aload 9
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
astore 10
start local 10 9: aload 9
invokevirtual java.awt.Component.isVisible:()Z
ifeq 12
10: aload 9
iload 2
iload 4
aload 10
getfield java.awt.Dimension.width:I
isub
iconst_2
idiv
iadd
iload 3
invokevirtual java.awt.Component.move:(II)V
11: iload 3
aload 0
getfield sun.awt.OrientableFlowLayout.vVGap:I
aload 10
getfield java.awt.Dimension.height:I
iadd
iadd
istore 3
end local 10 end local 9 12: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
13: iload 8
iload 7
if_icmplt 7
end local 8 14: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/OrientableFlowLayout;
0 15 1 target Ljava/awt/Container;
0 15 2 x I
0 15 3 y I
0 15 4 width I
0 15 5 height I
0 15 6 colStart I
0 15 7 colEnd I
6 14 8 i I
8 12 9 c Ljava/awt/Component;
9 12 10 cDim Ljava/awt/Dimension;
MethodParameters:
Name Flags
target
x
y
width
height
colStart
colEnd
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: aload 0
getfield sun.awt.OrientableFlowLayout.orientation:I
tableswitch { // 0 - 1
0: 2
1: 4
default: 5
}
2: StackMap locals: java.lang.String
StackMap stack:
ldc "orientation=horizontal, "
astore 1
3: goto 5
4: StackMap locals:
StackMap stack:
ldc "orientation=vertical, "
astore 1
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
6: aload 0
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 "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokespecial java.awt.FlowLayout.toString:()Ljava/lang/String;
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 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/OrientableFlowLayout;
1 7 1 str Ljava/lang/String;
}
SourceFile: "OrientableFlowLayout.java"