public class com.apple.laf.AquaTabbedPaneUI$FocusHandler extends java.awt.event.FocusAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaTabbedPaneUI$FocusHandler
super_class: java.awt.event.FocusAdapter
{
java.awt.Rectangle sWorkingRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x0000)
final com.apple.laf.AquaTabbedPaneUI this$0;
descriptor: Lcom/apple/laf/AquaTabbedPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(com.apple.laf.AquaTabbedPaneUI);
descriptor: (Lcom/apple/laf/AquaTabbedPaneUI;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
aload 0
invokespecial java.awt.event.FocusAdapter.<init>:()V
1: aload 0
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.sWorkingRect:Ljava/awt/Rectangle;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
MethodParameters:
Name Flags
this$0 final
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual com.apple.laf.AquaTabbedPaneUI$FocusHandler.isDefaultFocusReceiver:(Ljavax/swing/JComponent;)Z
ifeq 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.hasAvoidedFirstFocus:Z
ifne 3
1: invokestatic java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager:()Ljava/awt/KeyboardFocusManager;
invokevirtual java.awt.KeyboardFocusManager.focusNextComponent:()V
2: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
iconst_1
putfield com.apple.laf.AquaTabbedPaneUI.hasAvoidedFirstFocus:Z
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.apple.laf.AquaTabbedPaneUI$FocusHandler.adjustPaintingRectForFocusRing:(Ljava/awt/event/FocusEvent;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
0 5 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e final
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaTabbedPaneUI$FocusHandler.adjustPaintingRectForFocusRing:(Ljava/awt/event/FocusEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
0 2 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e final
void adjustPaintingRectForFocusRing(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.FocusEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JTabbedPane
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JTabbedPane.getTabCount:()I
istore 3
start local 3 2: aload 2
invokevirtual javax.swing.JTabbedPane.getSelectedIndex:()I
istore 4
start local 4 3: iload 4
iconst_m1
if_icmpeq 7
iload 3
ifle 7
iload 3
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.rects:[Ljava/awt/Rectangle;
arraylength
if_icmpne 7
4: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.sWorkingRect:Ljava/awt/Rectangle;
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 4
aaload
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
5: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.sWorkingRect:Ljava/awt/Rectangle;
iconst_4
iconst_4
invokevirtual java.awt.Rectangle.grow:(II)V
6: aload 2
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.sWorkingRect:Ljava/awt/Rectangle;
invokevirtual javax.swing.JTabbedPane.repaint:(Ljava/awt/Rectangle;)V
7: StackMap locals: javax.swing.JTabbedPane int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
0 8 1 e Ljava/awt/event/FocusEvent;
1 8 2 pane Ljavax/swing/JTabbedPane;
2 8 3 tabCount I
3 8 4 selectedIndex I
MethodParameters:
Name Flags
e final
boolean isDefaultFocusReceiver(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Z
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.isDefaultFocusReceiver:Ljava/lang/Boolean;
ifnonnull 6
1: invokestatic java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager:()Ljava/awt/KeyboardFocusManager;
invokevirtual java.awt.KeyboardFocusManager.getDefaultFocusTraversalPolicy:()Ljava/awt/FocusTraversalPolicy;
aload 0
aload 1
invokevirtual com.apple.laf.AquaTabbedPaneUI$FocusHandler.getTopLevelFocusCycleRootAncestor:(Ljava/awt/Container;)Ljava/awt/Container;
invokevirtual java.awt.FocusTraversalPolicy.getDefaultComponent:(Ljava/awt/Container;)Ljava/awt/Component;
astore 2
start local 2 2: aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
3: new java.lang.Boolean
dup
aload 2
ifnull 4
aload 2
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
goto 5
StackMap locals: com.apple.laf.AquaTabbedPaneUI$FocusHandler javax.swing.JComponent java.awt.Component
StackMap stack: com.apple.laf.AquaTabbedPaneUI new 3 new 3
4: iconst_0
StackMap locals: com.apple.laf.AquaTabbedPaneUI$FocusHandler javax.swing.JComponent java.awt.Component
StackMap stack: com.apple.laf.AquaTabbedPaneUI new 3 new 3 int
5: invokespecial java.lang.Boolean.<init>:(Z)V
putfield com.apple.laf.AquaTabbedPaneUI.isDefaultFocusReceiver:Ljava/lang/Boolean;
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaTabbedPaneUI$FocusHandler.this$0:Lcom/apple/laf/AquaTabbedPaneUI;
getfield com.apple.laf.AquaTabbedPaneUI.isDefaultFocusReceiver:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
0 7 1 component Ljavax/swing/JComponent;
2 6 2 defaultFocusReceiver Ljava/awt/Component;
MethodParameters:
Name Flags
component final
java.awt.Container getTopLevelFocusCycleRootAncestor(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Container;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: goto 2
start local 2 1: StackMap locals: java.awt.Container
StackMap stack:
aload 2
astore 1
end local 2 2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Container.getFocusCycleRootAncestor:()Ljava/awt/Container;
dup
astore 2
start local 2 3: ifnonnull 1
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaTabbedPaneUI$FocusHandler;
0 5 1 container Ljava/awt/Container;
1 2 2 ancestor Ljava/awt/Container;
3 5 2 ancestor Ljava/awt/Container;
MethodParameters:
Name Flags
container
}
SourceFile: "AquaTabbedPaneUI.java"
NestHost: com.apple.laf.AquaTabbedPaneUI
InnerClasses:
protected FocusHandler = com.apple.laf.AquaTabbedPaneUI$FocusHandler of com.apple.laf.AquaTabbedPaneUI