class javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport implements java.awt.event.ActionListener, javax.swing.event.ChangeListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport
super_class: java.lang.Object
{
public javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport viewport;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
flags: (0x0001) ACC_PUBLIC
public javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel tabPanel;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabPanel;
flags: (0x0001) ACC_PUBLIC
public javax.swing.JButton scrollForwardButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0001) ACC_PUBLIC
public javax.swing.JButton scrollBackwardButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0001) ACC_PUBLIC
public javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge croppedEdge;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
flags: (0x0001) ACC_PUBLIC
public int leadingTabIndex;
descriptor: I
flags: (0x0001) ACC_PUBLIC
private java.awt.Point tabViewPosition;
descriptor: Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
final javax.swing.plaf.basic.BasicTabbedPaneUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.plaf.basic.BasicTabbedPaneUI, int);
descriptor: (Ljavax/swing/plaf/basic/BasicTabbedPaneUI;I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
2: aload 0
new javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport
dup
aload 1
invokespecial javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.<init>:(Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)V
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
3: aload 0
new javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel
dup
aload 1
invokespecial javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel.<init>:(Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)V
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabPanel:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabPanel;
4: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabPanel:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabPanel;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.setView:(Ljava/awt/Component;)V
5: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
6: aload 0
new javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge
dup
aload 1
invokespecial javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.<init>:(Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)V
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.croppedEdge:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
7: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.createButtons:()V
8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 9 2 tabPlacement I
MethodParameters:
Name Flags
this$0 final
tabPlacement
void createButtons();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
ifnull 5
1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JTabbedPane.remove:(Ljava/awt/Component;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.removeActionListener:(Ljava/awt/event/ActionListener;)V
3: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JTabbedPane.remove:(Ljava/awt/Component;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.removeActionListener:(Ljava/awt/event/ActionListener;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabPlacement:()I
istore 1
start local 1 6: iload 1
iconst_1
if_icmpeq 7
iload 1
iconst_3
if_icmpne 10
7: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_3
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.createScrollButton:(I)Ljavax/swing/JButton;
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
8: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
bipush 7
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.createScrollButton:(I)Ljavax/swing/JButton;
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_5
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.createScrollButton:(I)Ljavax/swing/JButton;
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
11: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iconst_1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.createScrollButton:(I)Ljavax/swing/JButton;
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
13: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
14: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JTabbedPane.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
15: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JTabbedPane.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
6 17 1 tabPlacement I
public void scrollForward(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getViewSize:()Ljava/awt/Dimension;
astore 2
start local 2 1: aload 0
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 3
start local 3 2: iload 1
iconst_1
if_icmpeq 3
iload 1
iconst_3
if_icmpne 5
3: StackMap locals: java.awt.Dimension java.awt.Rectangle
StackMap stack:
aload 3
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Rectangle.x:I
isub
if_icmplt 7
4: return
5: StackMap locals:
StackMap stack:
aload 3
getfield java.awt.Rectangle.height:I
aload 2
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Rectangle.y:I
isub
if_icmplt 7
6: return
7: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.setLeadingTabIndex:(II)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 9 1 tabPlacement I
1 9 2 viewSize Ljava/awt/Dimension;
2 9 3 viewRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
tabPlacement
public void scrollBackward(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
isub
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.setLeadingTabIndex:(II)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 4 1 tabPlacement I
MethodParameters:
Name Flags
tabPlacement
public void setLeadingTabIndex(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getViewSize:()Ljava/awt/Dimension;
astore 3
start local 3 2: aload 0
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 4
start local 4 3: iload 1
tableswitch { // 1 - 4
1: 4
2: 13
3: 4
4: 13
default: 21
}
4: StackMap locals: java.awt.Dimension java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifne 5
iconst_0
goto 6
StackMap locals:
StackMap stack: java.awt.Point
5: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
aaload
getfield java.awt.Rectangle.x:I
StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Dimension java.awt.Rectangle
StackMap stack: java.awt.Point int
6: putfield java.awt.Point.x:I
7: aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
getfield java.awt.Point.x:I
isub
aload 4
getfield java.awt.Rectangle.width:I
if_icmpge 21
8: new java.awt.Dimension
dup
aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
getfield java.awt.Point.x:I
isub
9: aload 4
getfield java.awt.Rectangle.height:I
10: invokespecial java.awt.Dimension.<init>:(II)V
astore 5
start local 5 11: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
aload 5
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.setExtentSize:(Ljava/awt/Dimension;)V
end local 5 12: goto 21
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifne 14
iconst_0
goto 15
StackMap locals:
StackMap stack: java.awt.Point
14: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
aaload
getfield java.awt.Rectangle.y:I
StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Dimension java.awt.Rectangle
StackMap stack: java.awt.Point int
15: putfield java.awt.Point.y:I
16: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
aload 4
getfield java.awt.Rectangle.height:I
if_icmpge 21
17: new java.awt.Dimension
dup
aload 4
getfield java.awt.Rectangle.width:I
18: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
19: invokespecial java.awt.Dimension.<init>:(II)V
astore 5
start local 5 20: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
aload 5
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.setExtentSize:(Ljava/awt/Dimension;)V
end local 5 21: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.setViewPosition:(Ljava/awt/Point;)V
22: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 23 1 tabPlacement I
0 23 2 index I
2 23 3 viewSize Ljava/awt/Dimension;
3 23 4 viewRect Ljava/awt/Rectangle;
11 12 5 extentSize Ljava/awt/Dimension;
20 21 5 extentSize Ljava/awt/Dimension;
MethodParameters:
Name Flags
tabPlacement
index
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.updateView:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 2 1 e Ljavax/swing/event/ChangeEvent;
MethodParameters:
Name Flags
e
private void updateView();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabPlacement:()I
istore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabCount:()I
istore 2
start local 2 2: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 3: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getViewSize:()Ljava/awt/Dimension;
astore 4
start local 4 4: aload 0
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 5
start local 5 5: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 5
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.y:I
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getClosestTab:(II)I
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
6: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
iload 2
if_icmpge 13
7: iload 1
tableswitch { // 1 - 4
1: 8
2: 11
3: 8
4: 11
default: 13
}
8: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
aaload
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.x:I
if_icmpge 13
9: aload 0
dup
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
aaload
getfield java.awt.Rectangle.y:I
aload 5
getfield java.awt.Rectangle.y:I
if_icmpge 13
12: aload 0
dup
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.getContentBorderInsets:(I)Ljava/awt/Insets;
astore 6
start local 6 14: iload 1
tableswitch { // 1 - 4
1: 54
2: 15
3: 41
4: 28
default: 54
}
15: StackMap locals: java.awt.Insets
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.width:I
iadd
aload 3
getfield java.awt.Rectangle.y:I
16: aload 6
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Rectangle.height:I
17: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
18: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
19: aload 5
getfield java.awt.Rectangle.y:I
ifle 20
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 20
iconst_1
goto 21
StackMap locals:
StackMap stack: javax.swing.JButton
20: iconst_0
21: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
22: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
23: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 25
24: aload 4
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Rectangle.y:I
isub
aload 5
getfield java.awt.Rectangle.height:I
if_icmple 25
iconst_1
goto 26
StackMap locals:
StackMap stack: javax.swing.JButton
25: iconst_0
26: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
27: goto 66
28: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 3
getfield java.awt.Rectangle.x:I
aload 6
getfield java.awt.Insets.right:I
isub
aload 3
getfield java.awt.Rectangle.y:I
29: aload 6
getfield java.awt.Insets.right:I
aload 3
getfield java.awt.Rectangle.height:I
30: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
31: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
32: aload 5
getfield java.awt.Rectangle.y:I
ifle 33
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 33
iconst_1
goto 34
StackMap locals:
StackMap stack: javax.swing.JButton
33: iconst_0
34: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
35: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
36: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 38
37: aload 4
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Rectangle.y:I
isub
aload 5
getfield java.awt.Rectangle.height:I
if_icmple 38
iconst_1
goto 39
StackMap locals:
StackMap stack: javax.swing.JButton
38: iconst_0
39: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
40: goto 66
41: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Insets.bottom:I
isub
42: aload 3
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Insets.bottom:I
43: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
44: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
45: aload 5
getfield java.awt.Rectangle.x:I
ifle 46
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 46
iconst_1
goto 47
StackMap locals:
StackMap stack: javax.swing.JButton
46: iconst_0
47: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
48: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
49: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 51
50: aload 4
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Rectangle.x:I
isub
aload 5
getfield java.awt.Rectangle.width:I
if_icmple 51
iconst_1
goto 52
StackMap locals:
StackMap stack: javax.swing.JButton
51: iconst_0
52: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
53: goto 66
54: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.height:I
iadd
55: aload 3
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Insets.top:I
56: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
57: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
58: aload 5
getfield java.awt.Rectangle.x:I
ifle 59
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 59
iconst_1
goto 60
StackMap locals:
StackMap stack: javax.swing.JButton
59: iconst_0
60: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
61: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
62: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 64
63: aload 4
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Rectangle.x:I
isub
aload 5
getfield java.awt.Rectangle.width:I
if_icmple 64
iconst_1
goto 65
StackMap locals:
StackMap stack: javax.swing.JButton
64: iconst_0
65: StackMap locals: javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport int int java.awt.Rectangle java.awt.Dimension java.awt.Rectangle java.awt.Insets
StackMap stack: javax.swing.JButton int
invokevirtual javax.swing.JButton.setEnabled:(Z)V
66: StackMap locals:
StackMap stack:
return
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 67 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
1 67 1 tabPlacement I
2 67 2 tabCount I
3 67 3 vpRect Ljava/awt/Rectangle;
4 67 4 viewSize Ljava/awt/Dimension;
5 67 5 viewRect Ljava/awt/Rectangle;
14 67 6 contentInsets Ljava/awt/Insets;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getActionMap:()Ljavax/swing/ActionMap;
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
if_acmpne 5
3: ldc "scrollTabsForwardAction"
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals: javax.swing.ActionMap
StackMap stack:
ldc "scrollTabsBackwardAction"
astore 3
start local 3 6: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 3
invokevirtual javax.swing.ActionMap.get:(Ljava/lang/Object;)Ljavax/swing/Action;
astore 4
start local 4 7: aload 4
ifnull 12
aload 4
invokeinterface javax.swing.Action.isEnabled:()Z
ifeq 12
8: aload 4
new java.awt.event.ActionEvent
dup
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
9: sipush 1001
aconst_null
aload 1
invokevirtual java.awt.event.ActionEvent.getWhen:()J
10: aload 1
invokevirtual java.awt.event.ActionEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
11: invokeinterface javax.swing.Action.actionPerformed:(Ljava/awt/event/ActionEvent;)V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
0 13 1 e Ljava/awt/event/ActionEvent;
1 13 2 map Ljavax/swing/ActionMap;
4 5 3 actionKey Ljava/lang/String;
6 12 3 actionKey Ljava/lang/String;
7 12 4 action Ljavax/swing/Action;
MethodParameters:
Name Flags
e
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "viewport.viewSize="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.viewport:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabViewport;
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabViewport.getViewSize:()Ljava/awt/Dimension;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "viewport.viewRectangle="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
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;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "leadingTabIndex="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "tabViewPosition="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.tabViewPosition:Ljava/awt/Point;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
}
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