public class com.apple.laf.AquaTabbedPaneUI$MouseHandler extends javax.swing.event.MouseInputAdapter implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaTabbedPaneUI$MouseHandler
super_class: javax.swing.event.MouseInputAdapter
{
protected int trackingTab;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected javax.swing.Timer popupTimer;
descriptor: Ljavax/swing/Timer;
flags: (0x0004) ACC_PROTECTED
final com.apple.laf.AquaTabbedPaneUI this$0;
descriptor: Lcom/apple/laf/AquaTabbedPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.apple.laf.AquaTabbedPaneUI);
descriptor: (Lcom/apple/laf/AquaTabbedPaneUI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
aload 0
invokespecial javax.swing.event.MouseInputAdapter.<init>:()V
1: aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
2: aload 0
new javax.swing.Timer
dup
sipush 500
aload 0
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.popupTimer:Ljavax/swing/Timer;
3: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.popupTimer:Ljavax/swing/Timer;
iconst_0
invokevirtual javax.swing.Timer.setRepeats:(Z)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
MethodParameters:
Name Flags
this$0 final
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JTabbedPane
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JTabbedPane.isEnabled:()Z
ifne 4
2: aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
3: return
4: StackMap locals: javax.swing.JTabbedPane
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 3
start local 3 5: aload 0
aload 0
aload 2
aload 3
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.getCurrentTab:(Ljavax/swing/JTabbedPane;Ljava/awt/Point;)I
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
6: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -3
if_icmpeq 7
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
invokevirtual com.apple.laf.AquaTabbedPaneUI.shouldRepaintSelectedTabOnMouseDown:()Z
ifne 9
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
aload 2
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
if_icmpne 9
7: StackMap locals: java.awt.Point
StackMap stack:
aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
ifge 11
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -3
if_icmple 11
10: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.popupTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
11: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
putfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
12: aload 0
aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.repaint:(Ljavax/swing/JTabbedPane;I)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 14 1 e Ljava/awt/event/MouseEvent;
1 14 2 pane Ljavax/swing/JTabbedPane;
5 14 3 p Ljava/awt/Point;
MethodParameters:
Name Flags
e final
public void mouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -2
if_icmpge 1
return
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JTabbedPane
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.getCurrentTab:(Ljavax/swing/JTabbedPane;Ljava/awt/Point;)I
istore 3
start local 3 3: iload 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
if_icmpeq 6
4: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
5: goto 7
6: StackMap locals: javax.swing.JTabbedPane int
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
putfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
7: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
ifge 9
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -3
if_icmple 9
8: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.popupTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
9: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.repaint:(Ljavax/swing/JTabbedPane;I)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 11 1 e Ljava/awt/event/MouseEvent;
2 11 2 pane Ljavax/swing/JTabbedPane;
3 11 3 currentTab I
MethodParameters:
Name Flags
e final
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -2
if_icmpge 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.popupTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
2: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JTabbedPane
astore 2
start local 2 3: aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 3
start local 3 4: aload 0
aload 2
aload 3
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.getCurrentTab:(Ljavax/swing/JTabbedPane;Ljava/awt/Point;)I
istore 4
start local 4 5: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
iconst_m1
if_icmpne 7
iload 4
iconst_m1
if_icmpne 7
6: aload 2
aload 2
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
iconst_1
iadd
invokevirtual javax.swing.JTabbedPane.setSelectedIndex:(I)V
7: StackMap locals: javax.swing.JTabbedPane java.awt.Point int
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -2
if_icmpne 9
iload 4
bipush -2
if_icmpne 9
8: aload 2
aload 2
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
iconst_1
isub
invokevirtual javax.swing.JTabbedPane.setSelectedIndex:(I)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
iflt 11
iload 4
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
if_icmpne 11
10: aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
invokevirtual javax.swing.JTabbedPane.setSelectedIndex:(I)V
11: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.repaint:(Ljavax/swing/JTabbedPane;I)V
12: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
13: aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 15 1 e Ljava/awt/event/MouseEvent;
3 15 2 pane Ljavax/swing/JTabbedPane;
4 15 3 p Ljava/awt/Point;
5 15 4 currentTab I
MethodParameters:
Name Flags
e final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.pressedTab:I
if_icmpeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
iconst_m1
if_icmpne 5
3: aload 0
iconst_0
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.showFullPopup:(Z)V
4: aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
5: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
bipush -2
if_icmpne 8
6: aload 0
iconst_1
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.showFullPopup:(Z)V
7: aload 0
bipush -3
putfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 9 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e final
int getCurrentTab(javax.swing.JTabbedPane, java.awt.Point);
descriptor: (Ljavax/swing/JTabbedPane;Ljava/awt/Point;)I
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
aload 1
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual com.apple.laf.AquaTabbedPaneUI.tabForCoordinate:(Ljavax/swing/JTabbedPane;II)I
istore 3
start local 3 1: iload 3
iflt 2
aload 1
iload 3
invokevirtual javax.swing.JTabbedPane.isEnabledAt:(I)Z
ifeq 2
iload 3
ireturn
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.needsLeftScrollTab:()Z
ifeq 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getLeftScrollTabRect:()Ljava/awt/Rectangle;
aload 2
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 3
bipush -2
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.needsRightScrollTab:()Z
ifeq 4
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getRightScrollTabRect:()Ljava/awt/Rectangle;
aload 2
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 4
iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
bipush -3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 5 1 pane Ljavax/swing/JTabbedPane;
0 5 2 p Ljava/awt/Point;
1 5 3 tabIndex I
MethodParameters:
Name Flags
pane final
p final
void repaint(javax.swing.JTabbedPane, int);
descriptor: (Ljavax/swing/JTabbedPane;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
tableswitch { // -2 - -1
-2: 3
-1: 1
default: 5
}
1: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getRightScrollTabRect:()Ljava/awt/Rectangle;
invokevirtual javax.swing.JTabbedPane.repaint:(Ljava/awt/Rectangle;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getLeftScrollTabRect:()Ljava/awt/Rectangle;
invokevirtual javax.swing.JTabbedPane.repaint:(Ljava/awt/Rectangle;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
iflt 6
aload 1
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.rects:[Ljava/awt/Rectangle;
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.trackingTab:I
aaload
invokevirtual javax.swing.JTabbedPane.repaint:(Ljava/awt/Rectangle;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 7 1 pane Ljavax/swing/JTabbedPane;
0 7 2 tab I
MethodParameters:
Name Flags
pane final
tab final
void showFullPopup(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: new javax.swing.JPopupMenu
dup
invokespecial javax.swing.JPopupMenu.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: javax.swing.JPopupMenu int
StackMap stack:
iload 1
ifeq 4
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
iload 3
invokevirtual com.apple.laf.AquaTabbedPaneTabState.isBefore:(I)Z
ifeq 6
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
iload 3
invokevirtual com.apple.laf.AquaTabbedPaneTabState.isAfter:(I)Z
ifeq 6
5: StackMap locals:
StackMap stack:
aload 2
aload 0
iload 3
invokevirtual com.apple.laf.AquaTabbedPaneUI$MouseHandler.createMenuItem:(I)Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JPopupMenu.add:(Ljavax/swing/JMenuItem;)Ljavax/swing/JMenuItem;
pop
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabCount:()I
if_icmplt 3
end local 3 8: iload 1
ifeq 13
9: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getLeftScrollTabRect:()Ljava/awt/Rectangle;
astore 3
start local 3 10: aload 2
invokevirtual javax.swing.JPopupMenu.getPreferredSize:()Ljava/awt/Dimension;
astore 4
start local 4 11: aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
aload 3
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Dimension.width:I
isub
aload 3
getfield java.awt.Rectangle.y:I
bipush 7
iadd
invokevirtual javax.swing.JPopupMenu.show:(Ljava/awt/Component;II)V
end local 4 end local 3 12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.visibleTabState:Lcom/apple/laf/AquaTabbedPaneTabState;
invokevirtual com.apple.laf.AquaTabbedPaneTabState.getRightScrollTabRect:()Ljava/awt/Rectangle;
astore 3
start local 3 14: aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.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
bipush 7
iadd
invokevirtual javax.swing.JPopupMenu.show:(Ljava/awt/Component;II)V
end local 3 15: StackMap locals:
StackMap stack:
aload 2
new com.apple.laf.AquaTabbedPaneUI$MouseHandler$1
dup
aload 0
invokespecial com.apple.laf.AquaTabbedPaneUI$MouseHandler$1.<init>:(Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;)V
invokevirtual javax.swing.JPopupMenu.addPopupMenuListener:(Ljavax/swing/event/PopupMenuListener;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 17 1 firstTab Z
1 17 2 popup Ljavax/swing/JPopupMenu;
2 8 3 i I
10 12 3 leftScrollTabRect Ljava/awt/Rectangle;
11 12 4 popupRect Ljava/awt/Dimension;
14 15 3 rightScrollTabRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
firstTab final
javax.swing.JMenuItem createMenuItem(int);
descriptor: (I)Ljavax/swing/JMenuItem;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
iload 1
invokevirtual com.apple.laf.AquaTabbedPaneUI.getTabComponentAt:(I)Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new javax.swing.JMenuItem
dup
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 1
invokevirtual javax.swing.JTabbedPane.getTitleAt:(I)Ljava/lang/String;
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 1
invokevirtual javax.swing.JTabbedPane.getIconAt:(I)Ljavax/swing/Icon;
invokespecial javax.swing.JMenuItem.<init>:(Ljava/lang/String;Ljavax/swing/Icon;)V
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: java.awt.Component
StackMap stack:
new com.apple.laf.AquaTabbedPaneUI$MouseHandler$2
dup
aload 0
aload 2
invokespecial com.apple.laf.AquaTabbedPaneUI$MouseHandler$2.<init>:(Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;Ljava/awt/Component;)V
astore 3
start local 3 5: StackMap locals: javax.swing.JMenuItem
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 1
invokevirtual javax.swing.JTabbedPane.getBackgroundAt:(I)Ljava/awt/Color;
astore 4
start local 4 6: aload 4
instanceof javax.swing.plaf.UIResource
ifne 8
7: aload 3
aload 4
invokevirtual javax.swing.JMenuItem.setBackground:(Ljava/awt/Color;)V
8: StackMap locals: java.awt.Color
StackMap stack:
aload 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 1
invokevirtual javax.swing.JTabbedPane.getForegroundAt:(I)Ljava/awt/Color;
invokevirtual javax.swing.JMenuItem.setForeground:(Ljava/awt/Color;)V
9: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
iload 1
invokevirtual javax.swing.JTabbedPane.isEnabledAt:(I)Z
ifne 10
aload 3
iconst_0
invokevirtual javax.swing.JMenuItem.setEnabled:(Z)V
10: StackMap locals:
StackMap stack:
iload 1
istore 5
start local 5 11: aload 3
new com.apple.laf.AquaTabbedPaneUI$MouseHandler$3
dup
aload 0
iload 5
invokespecial com.apple.laf.AquaTabbedPaneUI$MouseHandler$3.<init>:(Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;I)V
invokevirtual javax.swing.JMenuItem.addActionListener:(Ljava/awt/event/ActionListener;)V
12: aload 3
areturn
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 13 0 this Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;
0 13 1 i I
1 13 2 component Ljava/awt/Component;
3 4 3 menuItem Ljavax/swing/JMenuItem;
5 13 3 menuItem Ljavax/swing/JMenuItem;
6 13 4 background Ljava/awt/Color;
11 13 5 fOffset I
MethodParameters:
Name Flags
i final
static com.apple.laf.AquaTabbedPaneUI access$0(com.apple.laf.AquaTabbedPaneUI$MouseHandler);
descriptor: (Lcom/apple/laf/AquaTabbedPaneUI$MouseHandler;)Lcom/apple/laf/AquaTabbedPaneUI;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$MouseHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaTabbedPaneUI.java"
NestHost: com.apple.laf.AquaTabbedPaneUI
InnerClasses:
public MouseHandler = com.apple.laf.AquaTabbedPaneUI$MouseHandler of com.apple.laf.AquaTabbedPaneUI
com.apple.laf.AquaTabbedPaneUI$MouseHandler$1
com.apple.laf.AquaTabbedPaneUI$MouseHandler$2
com.apple.laf.AquaTabbedPaneUI$MouseHandler$3