class javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout implements java.awt.LayoutManager
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout
super_class: java.lang.Object
{
final javax.swing.plaf.metal.MetalTitlePane this$0;
descriptor: Ljavax/swing/plaf/metal/MetalTitlePane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.metal.MetalTitlePane);
descriptor: (Ljavax/swing/plaf/metal/MetalTitlePane;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
MethodParameters:
Name Flags
this$0 final
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 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
0 1 1 name Ljava/lang/String;
0 1 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
name
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 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
0 1 1 c Ljava/awt/Component;
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=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.computeHeight:()I
istore 2
start local 2 1: new java.awt.Dimension
dup
iload 2
iload 2
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
0 2 1 c Ljava/awt/Container;
1 2 2 height I
MethodParameters:
Name Flags
c
public java.awt.Dimension minimumLayoutSize(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 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.preferredLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
0 1 1 c Ljava/awt/Container;
MethodParameters:
Name Flags
c
private int computeHeight();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.rootPane:Ljavax/swing/JRootPane;
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
invokevirtual javax.swing.plaf.metal.MetalTitlePane.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JRootPane.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 2
start local 2 2: iinc 2 7
3: iconst_0
istore 3
start local 3 4: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
invokevirtual javax.swing.plaf.metal.MetalTitlePane.getWindowDecorationStyle:()I
iconst_1
if_icmpne 6
5: bipush 16
istore 3
6: StackMap locals: java.awt.FontMetrics int int
StackMap stack:
iload 2
iload 3
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 7: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
1 8 1 fm Ljava/awt/FontMetrics;
2 8 2 fontHeight I
4 8 3 iconHeight I
7 8 4 finalHeight I
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.window:Ljava/awt/Window;
ifnonnull 2
1: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
invokevirtual javax.swing.plaf.metal.MetalTitlePane.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.window:Ljava/awt/Window;
invokevirtual java.awt.Window.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
3: StackMap locals:
StackMap stack: int
istore 2
start local 2 4: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
invokevirtual javax.swing.plaf.metal.MetalTitlePane.getWidth:()I
istore 3
start local 3 5: iconst_3
istore 5
start local 5 6: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
ifnull 10
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getIcon:()Ljavax/swing/Icon;
ifnull 10
7: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getIcon:()Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconHeight:()I
istore 7
start local 7 8: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getIcon:()Ljavax/swing/Icon;
invokeinterface javax.swing.Icon.getIconWidth:()I
istore 8
start local 8 9: goto 12
end local 8 end local 7 10: StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int top int
StackMap stack:
bipush 16
istore 7
start local 7 11: bipush 16
istore 8
start local 8 12: StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int top int top int int
StackMap stack:
iload 2
ifeq 13
iload 3
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 4
start local 4 15: iconst_5
istore 6
start local 6 16: iload 2
ifeq 17
iload 6
goto 18
StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int int int int int int
StackMap stack:
17: iload 3
iload 8
isub
iload 6
isub
StackMap locals:
StackMap stack: int
18: istore 4
19: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.menuBar:Ljavax/swing/JMenuBar;
ifnull 21
20: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.menuBar:Ljavax/swing/JMenuBar;
iload 4
iload 5
iload 8
iload 7
invokevirtual javax.swing.JMenuBar.setBounds:(IIII)V
21: StackMap locals:
StackMap stack:
iload 2
ifeq 22
iload 3
goto 23
StackMap locals:
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: istore 4
24: iconst_4
istore 6
25: iload 4
iload 2
ifeq 26
iload 6
ineg
iload 8
isub
goto 27
StackMap locals:
StackMap stack: int
26: iload 6
StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int int int int int int
StackMap stack: int int
27: iadd
istore 4
28: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
ifnull 30
29: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.closeButton:Ljavax/swing/JButton;
iload 4
iload 5
iload 8
iload 7
invokevirtual javax.swing.JButton.setBounds:(IIII)V
30: StackMap locals:
StackMap stack:
iload 2
ifne 31
iload 4
iload 8
iadd
istore 4
31: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
invokevirtual javax.swing.plaf.metal.MetalTitlePane.getWindowDecorationStyle:()I
iconst_1
if_icmpne 52
32: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
33: bipush 6
34: invokevirtual java.awt.Toolkit.isFrameStateSupported:(I)Z
35: ifeq 44
36: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.toggleButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getParent:()Ljava/awt/Container;
ifnull 44
37: bipush 10
istore 6
38: iload 4
iload 2
ifeq 39
iload 6
ineg
iload 8
isub
goto 40
StackMap locals:
StackMap stack: int
39: iload 6
StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int int int int int int
StackMap stack: int int
40: iadd
istore 4
41: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.toggleButton:Ljavax/swing/JButton;
iload 4
iload 5
iload 8
iload 7
invokevirtual javax.swing.JButton.setBounds:(IIII)V
42: iload 2
ifne 44
43: iload 4
iload 8
iadd
istore 4
44: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.iconifyButton:Ljavax/swing/JButton;
ifnull 52
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.iconifyButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getParent:()Ljava/awt/Container;
ifnull 52
45: iconst_2
istore 6
46: iload 4
iload 2
ifeq 47
iload 6
ineg
iload 8
isub
goto 48
StackMap locals:
StackMap stack: int
47: iload 6
StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int int int int int int
StackMap stack: int int
48: iadd
istore 4
49: aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
getfield javax.swing.plaf.metal.MetalTitlePane.iconifyButton:Ljavax/swing/JButton;
iload 4
iload 5
iload 8
iload 7
invokevirtual javax.swing.JButton.setBounds:(IIII)V
50: iload 2
ifne 52
51: iload 4
iload 8
iadd
istore 4
52: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.this$0:Ljavax/swing/plaf/metal/MetalTitlePane;
iload 2
ifeq 53
iload 3
iload 4
isub
goto 54
StackMap locals:
StackMap stack: javax.swing.plaf.metal.MetalTitlePane
53: iload 4
StackMap locals: javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout java.awt.Container int int int int int int int
StackMap stack: javax.swing.plaf.metal.MetalTitlePane int
54: putfield javax.swing.plaf.metal.MetalTitlePane.buttonsWidth:I
55: return
end local 8 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 56 0 this Ljavax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout;
0 56 1 c Ljava/awt/Container;
4 56 2 leftToRight Z
5 56 3 w I
15 56 4 x I
6 56 5 y I
16 56 6 spacing I
8 10 7 buttonHeight I
11 56 7 buttonHeight I
9 10 8 buttonWidth I
12 56 8 buttonWidth I
MethodParameters:
Name Flags
c
}
SourceFile: "MetalTitlePane.java"
NestHost: javax.swing.plaf.metal.MetalTitlePane
InnerClasses:
private TitlePaneLayout = javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout of javax.swing.plaf.metal.MetalTitlePane