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