public abstract class sun.awt.KeyboardFocusManagerPeerImpl implements java.awt.peer.KeyboardFocusManagerPeer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.KeyboardFocusManagerPeerImpl
super_class: java.lang.Object
{
private static final sun.util.logging.PlatformLogger focusLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.awt.AWTAccessor$KeyboardFocusManagerAccessor kfmAccessor;
descriptor: Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final int SNFH_FAILURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int SNFH_SUCCESS_HANDLED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int SNFH_SUCCESS_PROCEED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.focus.KeyboardFocusManagerPeerImpl"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
1: invokestatic sun.awt.AWTAccessor.getKeyboardFocusManagerAccessor:()Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
2: putstatic sun.awt.KeyboardFocusManagerPeerImpl.kfmAccessor:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/KeyboardFocusManagerPeerImpl;
public void clearGlobalFocusOwner(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 9
1: aload 1
invokevirtual java.awt.Window.getFocusOwner:()Ljava/awt/Component;
astore 2
start local 2 2: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 4
3: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Clearing global focus owner "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
4: StackMap locals: java.awt.Component
StackMap stack:
aload 2
ifnull 9
5: new sun.awt.CausedFocusEvent
dup
aload 2
sipush 1005
iconst_0
aconst_null
6: getstatic sun.awt.CausedFocusEvent$Cause.CLEAR_GLOBAL_FOCUS_OWNER:Lsun/awt/CausedFocusEvent$Cause;
7: invokespecial sun.awt.CausedFocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Lsun/awt/CausedFocusEvent$Cause;)V
astore 3
start local 3 8: aload 3
invokestatic sun.awt.SunToolkit.postPriorityEvent:(Ljava/awt/AWTEvent;)V
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/KeyboardFocusManagerPeerImpl;
0 10 1 activeWindow Ljava/awt/Window;
2 9 2 focusOwner Ljava/awt/Component;
8 9 3 fl Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
activeWindow
public static boolean shouldFocusOnClick(java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
instanceof java.awt.Canvas
ifne 3
2: aload 0
instanceof java.awt.Scrollbar
ifeq 5
3: StackMap locals: int
StackMap stack:
iconst_1
istore 1
4: goto 16
StackMap locals:
StackMap stack:
5: aload 0
instanceof java.awt.Panel
ifeq 10
6: aload 0
checkcast java.awt.Panel
invokevirtual java.awt.Panel.getComponentCount:()I
ifne 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 1
9: goto 16
10: StackMap locals:
StackMap stack:
aload 0
ifnull 11
aload 0
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
goto 12
StackMap locals:
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: java.awt.peer.ComponentPeer
12: astore 2
start local 2 13: aload 2
ifnull 14
aload 2
invokeinterface java.awt.peer.ComponentPeer.isFocusable:()Z
goto 15
StackMap locals: java.awt.peer.ComponentPeer
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 1
end local 2 16: StackMap locals:
StackMap stack:
iload 1
ifeq 19
17: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.canBeFocusOwner:(Ljava/awt/Component;)Z
ifeq 19
18: iconst_1
ireturn
StackMap locals:
StackMap stack:
19: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 component Ljava/awt/Component;
1 20 1 acceptFocusOnClick Z
13 16 2 peer Ljava/awt/peer/ComponentPeer;
MethodParameters:
Name Flags
component
public static boolean deliverFocus(java.awt.Component, java.awt.Component, boolean, boolean, long, sun.awt.CausedFocusEvent$Cause, java.awt.Component);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;ZZJLsun/awt/CausedFocusEvent$Cause;Ljava/awt/Component;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 0: aload 0
ifnonnull 2
1: aload 1
astore 0
2: StackMap locals:
StackMap stack:
aload 7
astore 8
start local 8 3: aload 8
ifnull 5
aload 8
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
ifnonnull 5
4: aconst_null
astore 8
5: StackMap locals: java.awt.Component
StackMap stack:
aload 8
ifnull 12
6: new sun.awt.CausedFocusEvent
dup
aload 8
sipush 1005
7: iconst_0
aload 0
aload 6
8: invokespecial sun.awt.CausedFocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Lsun/awt/CausedFocusEvent$Cause;)V
astore 9
start local 9 9: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 11
10: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Posting focus event: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
11: StackMap locals: java.awt.event.FocusEvent
StackMap stack:
aload 8
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 9
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
end local 9 12: StackMap locals:
StackMap stack:
new sun.awt.CausedFocusEvent
dup
aload 0
sipush 1004
13: iconst_0
aload 8
aload 6
14: invokespecial sun.awt.CausedFocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Lsun/awt/CausedFocusEvent$Cause;)V
astore 9
start local 9 15: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 17
16: getstatic sun.awt.KeyboardFocusManagerPeerImpl.focusLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Posting focus event: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
17: StackMap locals: java.awt.event.FocusEvent
StackMap stack:
aload 0
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 9
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
18: iconst_1
ireturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 lightweightChild Ljava/awt/Component;
0 19 1 target Ljava/awt/Component;
0 19 2 temporary Z
0 19 3 focusedWindowChangeAllowed Z
0 19 4 time J
0 19 6 cause Lsun/awt/CausedFocusEvent$Cause;
0 19 7 currentFocusOwner Ljava/awt/Component;
3 19 8 currentOwner Ljava/awt/Component;
9 12 9 fl Ljava/awt/event/FocusEvent;
15 19 9 fg Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
lightweightChild
target
temporary
focusedWindowChangeAllowed
time
cause
currentFocusOwner
public static boolean requestFocusFor(java.awt.Component, sun.awt.CausedFocusEvent$Cause);
descriptor: (Ljava/awt/Component;Lsun/awt/CausedFocusEvent$Cause;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 0
aload 1
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.requestFocus:(Ljava/awt/Component;Lsun/awt/CausedFocusEvent$Cause;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Ljava/awt/Component;
0 1 1 cause Lsun/awt/CausedFocusEvent$Cause;
MethodParameters:
Name Flags
target
cause
public static int shouldNativelyFocusHeavyweight(java.awt.Component, java.awt.Component, boolean, boolean, long, sun.awt.CausedFocusEvent$Cause);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;ZZJLsun/awt/CausedFocusEvent$Cause;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: getstatic sun.awt.KeyboardFocusManagerPeerImpl.kfmAccessor:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
1: aload 0
aload 1
iload 2
iload 3
lload 4
aload 6
2: invokeinterface sun.awt.AWTAccessor$KeyboardFocusManagerAccessor.shouldNativelyFocusHeavyweight:(Ljava/awt/Component;Ljava/awt/Component;ZZJLsun/awt/CausedFocusEvent$Cause;)I
ireturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 heavyweight Ljava/awt/Component;
0 3 1 descendant Ljava/awt/Component;
0 3 2 temporary Z
0 3 3 focusedWindowChangeAllowed Z
0 3 4 time J
0 3 6 cause Lsun/awt/CausedFocusEvent$Cause;
MethodParameters:
Name Flags
heavyweight
descendant
temporary
focusedWindowChangeAllowed
time
cause
public static void removeLastFocusRequest(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.awt.KeyboardFocusManagerPeerImpl.kfmAccessor:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$KeyboardFocusManagerAccessor.removeLastFocusRequest:(Ljava/awt/Component;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 heavyweight Ljava/awt/Component;
MethodParameters:
Name Flags
heavyweight
public static boolean processSynchronousLightweightTransfer(java.awt.Component, java.awt.Component, boolean, boolean, long);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;ZZJ)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic sun.awt.KeyboardFocusManagerPeerImpl.kfmAccessor:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
1: aload 0
aload 1
iload 2
iload 3
lload 4
2: invokeinterface sun.awt.AWTAccessor$KeyboardFocusManagerAccessor.processSynchronousLightweightTransfer:(Ljava/awt/Component;Ljava/awt/Component;ZZJ)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 heavyweight Ljava/awt/Component;
0 3 1 descendant Ljava/awt/Component;
0 3 2 temporary Z
0 3 3 focusedWindowChangeAllowed Z
0 3 4 time J
MethodParameters:
Name Flags
heavyweight
descendant
temporary
focusedWindowChangeAllowed
time
}
SourceFile: "KeyboardFocusManagerPeerImpl.java"
InnerClasses:
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
public abstract KeyboardFocusManagerAccessor = sun.awt.AWTAccessor$KeyboardFocusManagerAccessor of sun.awt.AWTAccessor
public final Cause = sun.awt.CausedFocusEvent$Cause of sun.awt.CausedFocusEvent
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger