class javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout extends javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout
super_class: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout
{
final javax.swing.plaf.basic.BasicTabbedPaneUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.basic.BasicTabbedPaneUI);
descriptor: (Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)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.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.<init>:(Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
MethodParameters:
Name Flags
this$0 final
protected int preferredTabAreaHeight(int, int);
descriptor: (II)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
iconst_1
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabHeight:(I)I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaHeight:(III)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
0 1 1 tabPlacement I
0 1 2 width I
MethodParameters:
Name Flags
tabPlacement
width
protected int preferredTabAreaWidth(int, int);
descriptor: (II)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
iconst_1
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabWidth:(I)I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaWidth:(III)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
0 1 1 tabPlacement I
0 1 2 height I
MethodParameters:
Name Flags
tabPlacement
height
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=31, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_m1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.setRolloverTab:(I)V
1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabPlacement:()I
istore 2
start local 2 2: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabCount:()I
istore 3
start local 3 3: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getInsets:()Ljava/awt/Insets;
astore 4
start local 4 4: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
istore 5
start local 5 5: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getVisibleComponent:()Ljava/awt/Component;
astore 6
start local 6 6: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.calculateLayoutInfo:()V
7: aconst_null
astore 7
start local 7 8: iload 5
ifge 12
9: aload 6
ifnull 13
10: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aconst_null
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.setVisibleComponent:(Ljava/awt/Component;)V
11: goto 13
12: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 5
invokevirtual javax.swing.JTabbedPane.getComponentAt:(I)Ljava/awt/Component;
astore 7
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabCount:()I
ifne 18
14: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.croppedEdge:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.resetParams:()V
15: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
iconst_0
invokevirtual javax.swing.JButton.setVisible:(Z)V
16: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
iconst_0
invokevirtual javax.swing.JButton.setVisible:(Z)V
17: return
18: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 19: aload 7
ifnull 25
20: aload 7
aload 6
if_acmpeq 24
21: aload 6
ifnull 24
22: aload 6
invokestatic javax.swing.SwingUtilities.findFocusOwner:(Ljava/awt/Component;)Ljava/awt/Component;
ifnull 24
23: iconst_1
istore 8
24: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 7
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.setVisibleComponent:(Ljava/awt/Component;)V
25: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getContentBorderInsets:(I)Ljava/awt/Insets;
astore 17
start local 17 26: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getBounds:()Ljava/awt/Rectangle;
astore 18
start local 18 27: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getComponentCount:()I
istore 19
start local 19 28: iload 19
ifle 168
29: iload 2
tableswitch { // 1 - 4
1: 81
2: 30
3: 64
4: 47
default: 81
}
30: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int top top top top top top top top java.awt.Insets java.awt.Rectangle int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaWidth:(III)I
istore 11
start local 11 31: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
istore 12
start local 12 32: aload 4
getfield java.awt.Insets.left:I
istore 9
start local 9 33: aload 4
getfield java.awt.Insets.top:I
istore 10
start local 10 34: iload 9
iload 11
iadd
aload 17
getfield java.awt.Insets.left:I
iadd
istore 13
start local 13 35: iload 10
aload 17
getfield java.awt.Insets.top:I
iadd
istore 14
start local 14 36: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
iload 11
isub
37: aload 17
getfield java.awt.Insets.left:I
38: isub
39: aload 17
getfield java.awt.Insets.right:I
40: isub
istore 15
start local 15 41: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
42: aload 17
getfield java.awt.Insets.top:I
43: isub
44: aload 17
getfield java.awt.Insets.bottom:I
45: isub
istore 16
start local 16 46: goto 97
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 47: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaWidth:(III)I
istore 11
start local 11 48: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
istore 12
start local 12 49: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.right:I
isub
iload 11
isub
istore 9
start local 9 50: aload 4
getfield java.awt.Insets.top:I
istore 10
start local 10 51: aload 4
getfield java.awt.Insets.left:I
aload 17
getfield java.awt.Insets.left:I
iadd
istore 13
start local 13 52: aload 4
getfield java.awt.Insets.top:I
aload 17
getfield java.awt.Insets.top:I
iadd
istore 14
start local 14 53: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
iload 11
isub
54: aload 17
getfield java.awt.Insets.left:I
55: isub
56: aload 17
getfield java.awt.Insets.right:I
57: isub
istore 15
start local 15 58: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
59: aload 17
getfield java.awt.Insets.top:I
60: isub
61: aload 17
getfield java.awt.Insets.bottom:I
62: isub
istore 16
start local 16 63: goto 97
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 64: StackMap locals:
StackMap stack:
aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
istore 11
start local 11 65: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaHeight:(III)I
istore 12
start local 12 66: aload 4
getfield java.awt.Insets.left:I
istore 9
start local 9 67: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.bottom:I
isub
iload 12
isub
istore 10
start local 10 68: aload 4
getfield java.awt.Insets.left:I
aload 17
getfield java.awt.Insets.left:I
iadd
istore 13
start local 13 69: aload 4
getfield java.awt.Insets.top:I
aload 17
getfield java.awt.Insets.top:I
iadd
istore 14
start local 14 70: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
71: aload 17
getfield java.awt.Insets.left:I
72: isub
73: aload 17
getfield java.awt.Insets.right:I
74: isub
istore 15
start local 15 75: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
iload 12
isub
76: aload 17
getfield java.awt.Insets.top:I
77: isub
78: aload 17
getfield java.awt.Insets.bottom:I
79: isub
istore 16
start local 16 80: goto 97
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 81: StackMap locals:
StackMap stack:
aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
istore 11
start local 11 82: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaHeight:(III)I
istore 12
start local 12 83: aload 4
getfield java.awt.Insets.left:I
istore 9
start local 9 84: aload 4
getfield java.awt.Insets.top:I
istore 10
start local 10 85: iload 9
aload 17
getfield java.awt.Insets.left:I
iadd
istore 13
start local 13 86: iload 10
iload 12
iadd
aload 17
getfield java.awt.Insets.top:I
iadd
istore 14
start local 14 87: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
88: aload 17
getfield java.awt.Insets.left:I
89: isub
90: aload 17
getfield java.awt.Insets.right:I
91: isub
istore 15
start local 15 92: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
iload 12
isub
93: aload 17
getfield java.awt.Insets.top:I
94: isub
95: aload 17
getfield java.awt.Insets.bottom:I
96: isub
istore 16
start local 16 97: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int
StackMap stack:
iconst_0
istore 20
start local 20 98: goto 162
99: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 20
invokevirtual javax.swing.JTabbedPane.getComponent:(I)Ljava/awt/Component;
astore 21
start local 21 100: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
ifnull 124
aload 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
if_acmpne 124
101: aload 21
checkcast javax.swing.JViewport
astore 22
start local 22 102: aload 22
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 23
start local 23 103: iload 11
istore 24
start local 24 104: iload 12
istore 25
start local 25 105: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getPreferredSize:()Ljava/awt/Dimension;
astore 26
start local 26 106: iload 2
tableswitch { // 1 - 4
1: 115
2: 107
3: 115
4: 107
default: 115
}
107: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component javax.swing.JViewport java.awt.Rectangle int int java.awt.Dimension
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.height:I
iadd
istore 27
start local 27 108: iload 27
iload 12
if_icmple 122
109: iload 12
iconst_2
aload 26
getfield java.awt.Dimension.height:I
imul
if_icmple 110
iload 12
iconst_2
aload 26
getfield java.awt.Dimension.height:I
imul
isub
goto 111
StackMap locals: int
StackMap stack:
110: iconst_0
StackMap locals:
StackMap stack: int
111: istore 25
112: iload 27
aload 23
getfield java.awt.Rectangle.y:I
isub
iload 25
if_icmpgt 122
113: iload 27
aload 23
getfield java.awt.Rectangle.y:I
isub
istore 25
114: goto 122
end local 27 115: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.width:I
iadd
istore 28
start local 28 116: iload 28
iload 11
if_icmple 122
117: iload 11
iconst_2
aload 26
getfield java.awt.Dimension.width:I
imul
if_icmple 118
iload 11
iconst_2
aload 26
getfield java.awt.Dimension.width:I
imul
isub
goto 119
StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component javax.swing.JViewport java.awt.Rectangle int int java.awt.Dimension top int
StackMap stack:
118: iconst_0
StackMap locals:
StackMap stack: int
119: istore 24
120: iload 28
aload 23
getfield java.awt.Rectangle.x:I
isub
iload 24
if_icmpgt 122
121: iload 28
aload 23
getfield java.awt.Rectangle.x:I
isub
istore 24
end local 28 122: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component javax.swing.JViewport java.awt.Rectangle int int java.awt.Dimension
StackMap stack:
aload 21
iload 9
iload 10
iload 24
iload 25
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 26 end local 25 end local 24 end local 23 end local 22 123: goto 161
StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component
StackMap stack:
124: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
ifnull 160
125: aload 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
if_acmpeq 127
126: aload 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
if_acmpne 160
127: StackMap locals:
StackMap stack:
aload 21
astore 22
start local 22 128: aload 22
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 23
start local 23 129: iconst_0
istore 24
start local 24 130: iconst_0
istore 25
start local 25 131: aload 23
getfield java.awt.Dimension.width:I
istore 26
start local 26 132: aload 23
getfield java.awt.Dimension.height:I
istore 27
start local 27 133: iconst_0
istore 28
start local 28 134: iload 2
tableswitch { // 1 - 4
1: 146
2: 135
3: 146
4: 135
default: 146
}
135: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component java.awt.Component java.awt.Dimension int int int int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.height:I
iadd
istore 29
start local 29 136: iload 29
iload 12
if_icmple 156
137: iconst_1
istore 28
138: iload 2
iconst_2
if_icmpne 139
iload 9
iload 11
iadd
aload 23
getfield java.awt.Dimension.width:I
isub
goto 140
StackMap locals: int
StackMap stack:
139: iload 9
StackMap locals:
StackMap stack: int
140: istore 24
141: aload 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
if_acmpne 143
142: aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.bottom:I
isub
aload 23
getfield java.awt.Dimension.height:I
isub
goto 144
143: StackMap locals:
StackMap stack:
aload 18
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.bottom:I
isub
iconst_2
aload 23
getfield java.awt.Dimension.height:I
imul
isub
144: StackMap locals:
StackMap stack: int
istore 25
145: goto 156
end local 29 146: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
iconst_1
isub
aaload
getfield java.awt.Rectangle.width:I
iadd
istore 30
start local 30 147: iload 30
iload 11
if_icmple 156
148: iconst_1
istore 28
149: aload 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
if_acmpne 151
150: aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
aload 23
getfield java.awt.Dimension.width:I
isub
goto 152
151: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component java.awt.Component java.awt.Dimension int int int int int top int
StackMap stack:
aload 18
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
isub
iconst_2
aload 23
getfield java.awt.Dimension.width:I
imul
isub
152: StackMap locals:
StackMap stack: int
istore 24
153: iload 2
iconst_1
if_icmpne 154
iload 10
iload 12
iadd
aload 23
getfield java.awt.Dimension.height:I
isub
goto 155
StackMap locals:
StackMap stack:
154: iload 10
StackMap locals:
StackMap stack: int
155: istore 25
end local 30 156: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component java.awt.Component java.awt.Dimension int int int int int
StackMap stack:
aload 21
iload 28
invokevirtual java.awt.Component.setVisible:(Z)V
157: iload 28
ifeq 161
158: aload 21
iload 24
iload 25
iload 26
iload 27
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 28 end local 27 end local 26 end local 25 end local 24 end local 23 end local 22 159: goto 161
160: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int int int int int int int int int java.awt.Insets java.awt.Rectangle int int java.awt.Component
StackMap stack:
aload 21
iload 13
iload 14
iload 15
iload 16
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 21 161: StackMap locals:
StackMap stack:
iinc 20 1
StackMap locals:
StackMap stack:
162: iload 20
iload 19
if_icmplt 99
end local 20 163: aload 0
invokespecial javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutTabComponents:()V
164: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.layoutCroppedEdge:()V
165: iload 8
ifeq 168
166: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.requestFocusForVisibleComponent:()Z
ifne 168
167: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.requestFocus:()V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 168: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Container int int java.awt.Insets int java.awt.Component java.awt.Component int top top top top top top top top java.awt.Insets java.awt.Rectangle int
StackMap stack:
return
end local 19 end local 18 end local 17 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 169 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
0 169 1 parent Ljava/awt/Container;
2 169 2 tabPlacement I
3 169 3 tabCount I
4 169 4 insets Ljava/awt/Insets;
5 169 5 selectedIndex I
6 169 6 visibleComponent Ljava/awt/Component;
8 169 7 selectedComponent Ljava/awt/Component;
19 169 8 shouldChangeFocus Z
33 47 9 tx I
50 64 9 tx I
67 81 9 tx I
84 168 9 tx I
34 47 10 ty I
51 64 10 ty I
68 81 10 ty I
85 168 10 ty I
31 47 11 tw I
48 64 11 tw I
65 81 11 tw I
82 168 11 tw I
32 47 12 th I
49 64 12 th I
66 81 12 th I
83 168 12 th I
35 47 13 cx I
52 64 13 cx I
69 81 13 cx I
86 168 13 cx I
36 47 14 cy I
53 64 14 cy I
70 81 14 cy I
87 168 14 cy I
41 47 15 cw I
58 64 15 cw I
75 81 15 cw I
92 168 15 cw I
46 47 16 ch I
63 64 16 ch I
80 81 16 ch I
97 168 16 ch I
26 169 17 contentInsets Ljava/awt/Insets;
27 169 18 bounds Ljava/awt/Rectangle;
28 169 19 numChildren I
98 163 20 i I
100 161 21 child Ljava/awt/Component;
102 123 22 viewport Ljavax/swing/JViewport;
103 123 23 viewRect Ljava/awt/Rectangle;
104 123 24 vw I
105 123 25 vh I
106 123 26 butSize Ljava/awt/Dimension;
108 115 27 totalTabHeight I
116 122 28 totalTabWidth I
128 159 22 scrollbutton Ljava/awt/Component;
129 159 23 bsize Ljava/awt/Dimension;
130 159 24 bx I
131 159 25 by I
132 159 26 bw I
133 159 27 bh I
134 159 28 visible Z
136 146 29 totalTabHeight I
147 156 30 totalTabWidth I
MethodParameters:
Name Flags
parent
private void layoutCroppedEdge();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.croppedEdge:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.resetParams:()V
1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getViewRect:()Ljava/awt/Rectangle;
astore 1
start local 1 2: iconst_0
istore 3
start local 3 3: goto 18
4: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Rectangle top int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 3
aaload
astore 4
start local 4 5: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabPlacement:()I
tableswitch { // 1 - 4
1: 12
2: 6
3: 12
4: 6
default: 12
}
6: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
istore 2
start local 2 7: aload 4
getfield java.awt.Rectangle.y:I
iload 2
if_icmpge 17
aload 4
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Rectangle.height:I
iadd
iload 2
if_icmple 17
8: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.croppedEdge:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
iload 3
iload 2
aload 4
getfield java.awt.Rectangle.y:I
isub
iconst_1
isub
9: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.currentTabAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
ineg
iconst_0
10: invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.setParams:(IIII)V
11: goto 17
end local 2 12: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
istore 2
start local 2 13: aload 4
getfield java.awt.Rectangle.x:I
iload 2
iconst_1
isub
if_icmpge 17
aload 4
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Rectangle.width:I
iadd
iload 2
if_icmple 17
14: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.croppedEdge:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
iload 3
iload 2
aload 4
getfield java.awt.Rectangle.x:I
isub
iconst_1
isub
15: iconst_0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.currentTabAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
ineg
16: invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.setParams:(IIII)V
end local 4 17: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Rectangle int int
StackMap stack:
iinc 3 1
end local 2 StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout java.awt.Rectangle top int
StackMap stack:
18: iload 3
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
arraylength
if_icmplt 4
end local 3 19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
2 20 1 viewRect Ljava/awt/Rectangle;
7 12 2 cropline I
13 18 2 cropline I
3 19 3 i I
5 17 4 tabRect Ljava/awt/Rectangle;
protected void calculateTabRects(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=18, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getFontMetrics:()Ljava/awt/FontMetrics;
astore 3
start local 3 1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getSize:()Ljava/awt/Dimension;
astore 4
start local 4 2: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 3: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getTabAreaInsets:(I)Ljava/awt/Insets;
astore 6
start local 6 4: aload 3
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 7
start local 7 5: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
istore 8
start local 8 6: iload 1
iconst_2
if_icmpeq 7
iload 1
iconst_4
if_icmpeq 7
iconst_0
goto 8
StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout int int java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Insets int int
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: istore 10
start local 10 9: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.isLeftToRight:(Ljava/awt/Component;)Z
istore 11
start local 11 10: aload 6
getfield java.awt.Insets.left:I
istore 12
start local 12 11: aload 6
getfield java.awt.Insets.top:I
istore 13
start local 13 12: iconst_0
istore 14
start local 14 13: iconst_0
istore 15
start local 15 14: iload 1
tableswitch { // 1 - 4
1: 17
2: 15
3: 17
4: 15
default: 17
}
15: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout int int java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Insets int int top int int int int int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabWidth:(I)I
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabHeight:(I)I
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
18: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_0
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
19: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_m1
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.selectedRun:I
20: iload 2
ifne 22
21: return
22: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_0
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.selectedRun:I
23: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_1
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.runCount:I
24: iconst_0
istore 9
start local 9 25: goto 54
26: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout int int java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Insets int int int int int int int int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
aaload
astore 16
start local 16 27: iload 10
ifne 41
28: iload 9
ifle 31
29: aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
iconst_1
isub
aaload
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
iconst_1
isub
aaload
getfield java.awt.Rectangle.width:I
iadd
putfield java.awt.Rectangle.x:I
30: goto 35
31: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabRuns:[I
iconst_0
iconst_0
iastore
32: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_0
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
33: iload 15
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
iadd
istore 15
34: aload 16
iload 12
putfield java.awt.Rectangle.x:I
35: StackMap locals:
StackMap stack:
aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
iload 9
aload 3
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabWidth:(IILjava/awt/FontMetrics;)I
putfield java.awt.Rectangle.width:I
36: aload 16
getfield java.awt.Rectangle.x:I
aload 16
getfield java.awt.Rectangle.width:I
iadd
istore 14
37: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
aload 16
getfield java.awt.Rectangle.width:I
invokestatic java.lang.Math.max:(II)I
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
38: aload 16
iload 13
putfield java.awt.Rectangle.y:I
39: aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
putfield java.awt.Rectangle.height:I
40: goto 53
41: StackMap locals:
StackMap stack:
iload 9
ifle 44
42: aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
iconst_1
isub
aaload
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
iconst_1
isub
aaload
getfield java.awt.Rectangle.height:I
iadd
putfield java.awt.Rectangle.y:I
43: goto 48
44: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabRuns:[I
iconst_0
iconst_0
iastore
45: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_0
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
46: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
istore 14
47: aload 16
iload 13
putfield java.awt.Rectangle.y:I
48: StackMap locals:
StackMap stack:
aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
iload 9
iload 7
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabHeight:(III)I
putfield java.awt.Rectangle.height:I
49: aload 16
getfield java.awt.Rectangle.y:I
aload 16
getfield java.awt.Rectangle.height:I
iadd
istore 15
50: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
aload 16
getfield java.awt.Rectangle.height:I
invokestatic java.lang.Math.max:(II)I
putfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabHeight:I
51: aload 16
iload 12
putfield java.awt.Rectangle.x:I
52: aload 16
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.maxTabWidth:I
putfield java.awt.Rectangle.width:I
53: StackMap locals:
StackMap stack:
iinc 9 1
end local 16 StackMap locals:
StackMap stack:
54: iload 9
iload 2
if_icmplt 26
55: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabsOverlapBorder:Z
ifeq 57
56: aload 0
iload 1
iload 8
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.padSelectedTab:(II)V
57: StackMap locals:
StackMap stack:
iload 11
ifne 65
iload 10
ifne 65
58: aload 4
getfield java.awt.Dimension.width:I
59: aload 5
getfield java.awt.Insets.right:I
aload 6
getfield java.awt.Insets.right:I
iadd
60: isub
istore 17
start local 17 61: iconst_0
istore 9
goto 64
62: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout int int java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Insets int int int int int int int int int top int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
aaload
iload 17
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
aaload
getfield java.awt.Rectangle.x:I
isub
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 9
aaload
getfield java.awt.Rectangle.width:I
isub
putfield java.awt.Rectangle.x:I
63: iinc 9 1
StackMap locals:
StackMap stack:
64: iload 9
iload 2
if_icmplt 62
end local 17 65: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout int int java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Insets int int int int int int int int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabPanel:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabPanel;
new java.awt.Dimension
dup
iload 14
iload 15
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel.setPreferredSize:(Ljava/awt/Dimension;)V
66: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabScroller:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabPanel:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabPanel;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel.invalidate:()V
67: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 68 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout;
0 68 1 tabPlacement I
0 68 2 tabCount I
1 68 3 metrics Ljava/awt/FontMetrics;
2 68 4 size Ljava/awt/Dimension;
3 68 5 insets Ljava/awt/Insets;
4 68 6 tabAreaInsets Ljava/awt/Insets;
5 68 7 fontHeight I
6 68 8 selectedIndex I
25 68 9 i I
9 68 10 verticalTabRuns Z
10 68 11 leftToRight Z
11 68 12 x I
12 68 13 y I
13 68 14 totalWidth I
14 68 15 totalHeight I
27 54 16 rect Ljava/awt/Rectangle;
61 65 17 rightMargin I
MethodParameters:
Name Flags
tabPlacement
tabCount
}
SourceFile: "BasicTabbedPaneUI.java"
NestHost: javax.swing.plaf.basic.BasicTabbedPaneUI
InnerClasses:
private CroppedEdge = javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge of javax.swing.plaf.basic.BasicTabbedPaneUI
private ScrollableTabPanel = javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel of javax.swing.plaf.basic.BasicTabbedPaneUI
private ScrollableTabSupport = javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport of javax.swing.plaf.basic.BasicTabbedPaneUI
private ScrollableTabViewport = javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport of javax.swing.plaf.basic.BasicTabbedPaneUI
public TabbedPaneLayout = javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout of javax.swing.plaf.basic.BasicTabbedPaneUI
private TabbedPaneScrollLayout = javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout of javax.swing.plaf.basic.BasicTabbedPaneUI