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.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
iload 2
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.assureRectsCreated:(I)V
3: 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 4: 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 5: 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 6: 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
7: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
iload 2
if_icmpge 14
8: iload 1
tableswitch { // 1 - 4
1: 9
2: 12
3: 9
4: 12
default: 14
}
9: 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 14
10: aload 0
dup
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
11: goto 14
12: 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 14
13: aload 0
dup
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iconst_1
iadd
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
14: 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 15: iload 1
tableswitch { // 1 - 4
1: 55
2: 16
3: 42
4: 29
default: 55
}
16: 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
17: aload 6
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Rectangle.height:I
18: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
19: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
20: aload 5
getfield java.awt.Rectangle.y:I
ifle 21
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 21
iconst_1
goto 22
StackMap locals:
StackMap stack: javax.swing.JButton
21: iconst_0
22: 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
23: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
24: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 26
25: 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 26
iconst_1
goto 27
StackMap locals:
StackMap stack: javax.swing.JButton
26: iconst_0
27: 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
28: goto 67
29: 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
30: aload 6
getfield java.awt.Insets.right:I
aload 3
getfield java.awt.Rectangle.height:I
31: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
32: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
33: aload 5
getfield java.awt.Rectangle.y:I
ifle 34
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 34
iconst_1
goto 35
StackMap locals:
StackMap stack: javax.swing.JButton
34: iconst_0
35: 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
36: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
37: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 39
38: 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 39
iconst_1
goto 40
StackMap locals:
StackMap stack: javax.swing.JButton
39: iconst_0
40: 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
41: goto 67
42: 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
43: aload 3
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Insets.bottom:I
44: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
45: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
46: aload 5
getfield java.awt.Rectangle.x:I
ifle 47
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 47
iconst_1
goto 48
StackMap locals:
StackMap stack: javax.swing.JButton
47: iconst_0
48: 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
49: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
50: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 52
51: 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 52
iconst_1
goto 53
StackMap locals:
StackMap stack: javax.swing.JButton
52: iconst_0
53: 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
54: goto 67
55: 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
56: aload 3
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Insets.top:I
57: invokevirtual javax.swing.JTabbedPane.repaint:(IIII)V
58: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollBackwardButton:Ljavax/swing/JButton;
59: aload 5
getfield java.awt.Rectangle.x:I
ifle 60
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
ifle 60
iconst_1
goto 61
StackMap locals:
StackMap stack: javax.swing.JButton
60: iconst_0
61: 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
62: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.scrollForwardButton:Ljavax/swing/JButton;
63: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabSupport.leadingTabIndex:I
iload 2
iconst_1
isub
if_icmpge 65
64: 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 65
iconst_1
goto 66
StackMap locals:
StackMap stack: javax.swing.JButton
65: iconst_0
66: 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
67: 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 68 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$ScrollableTabSupport;
1 68 1 tabPlacement I
2 68 2 tabCount I
4 68 3 vpRect Ljava/awt/Rectangle;
5 68 4 viewSize Ljava/awt/Dimension;
6 68 5 viewRect Ljava/awt/Rectangle;
15 68 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