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
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: 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 java.awt.event.FocusEvent
dup
aload 2
sipush 1005
iconst_0
aconst_null
6: getstatic java.awt.event.FocusEvent$Cause.CLEAR_GLOBAL_FOCUS_OWNER:Ljava/awt/event/FocusEvent$Cause;
7: invokespecial java.awt.event.FocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Ljava/awt/event/FocusEvent$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=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
astore 2
start local 2 2: aload 0
instanceof java.awt.Canvas
ifne 4
3: aload 0
instanceof java.awt.Scrollbar
ifeq 6
4: StackMap locals: int sun.awt.AWTAccessor$ComponentAccessor
StackMap stack:
iconst_1
istore 1
5: goto 17
StackMap locals:
StackMap stack:
6: aload 0
instanceof java.awt.Panel
ifeq 11
7: aload 0
checkcast java.awt.Panel
invokevirtual java.awt.Panel.getComponentCount:()I
ifne 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 1
10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
ifnull 12
aload 2
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
goto 13
StackMap locals:
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: java.awt.peer.ComponentPeer
13: astore 3
start local 3 14: aload 3
ifnull 15
aload 3
invokeinterface java.awt.peer.ComponentPeer.isFocusable:()Z
goto 16
StackMap locals: java.awt.peer.ComponentPeer
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 1
end local 3 17: StackMap locals:
StackMap stack:
iload 1
ifeq 18
aload 2
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.canBeFocusOwner:(Ljava/awt/Component;)Z
ifeq 18
iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 component Ljava/awt/Component;
1 19 1 acceptFocusOnClick Z
2 19 2 acc Lsun/awt/AWTAccessor$ComponentAccessor;
14 17 3 peer Ljava/awt/peer/ComponentPeer;
MethodParameters:
Name Flags
component
public static boolean deliverFocus(java.awt.Component, java.awt.Component, boolean, boolean, long, java.awt.event.FocusEvent$Cause, java.awt.Component);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;ZZJLjava/awt/event/FocusEvent$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.isDisplayable:()Z
ifne 5
4: aconst_null
astore 8
5: StackMap locals: java.awt.Component
StackMap stack:
aload 8
ifnull 12
6: new java.awt.event.FocusEvent
dup
aload 8
sipush 1005
7: iconst_0
aload 0
aload 6
8: invokespecial java.awt.event.FocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Ljava/awt/event/FocusEvent$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 java.awt.event.FocusEvent
dup
aload 0
sipush 1004
13: iconst_0
aload 8
aload 6
14: invokespecial java.awt.event.FocusEvent.<init>:(Ljava/awt/Component;IZLjava/awt/Component;Ljava/awt/event/FocusEvent$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 Ljava/awt/event/FocusEvent$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 void requestFocusFor(java.awt.Component, java.awt.event.FocusEvent$Cause);
descriptor: (Ljava/awt/Component;Ljava/awt/event/FocusEvent$Cause;)V
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;Ljava/awt/event/FocusEvent$Cause;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 target Ljava/awt/Component;
0 2 1 cause Ljava/awt/event/FocusEvent$Cause;
MethodParameters:
Name Flags
target
cause
public static int shouldNativelyFocusHeavyweight(java.awt.Component, java.awt.Component, boolean, boolean, long, java.awt.event.FocusEvent$Cause);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;ZZJLjava/awt/event/FocusEvent$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.instance:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
1: aload 0
aload 1
iload 2
iload 3
2: lload 4
aload 6
3: invokeinterface sun.awt.AWTAccessor$KeyboardFocusManagerAccessor.shouldNativelyFocusHeavyweight:(Ljava/awt/Component;Ljava/awt/Component;ZZJLjava/awt/event/FocusEvent$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 4 0 heavyweight Ljava/awt/Component;
0 4 1 descendant Ljava/awt/Component;
0 4 2 temporary Z
0 4 3 focusedWindowChangeAllowed Z
0 4 4 time J
0 4 6 cause Ljava/awt/event/FocusEvent$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.instance: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.instance:Lsun/awt/AWTAccessor$KeyboardFocusManagerAccessor;
1: aload 0
aload 1
iload 2
iload 3
2: lload 4
3: 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 4 0 heavyweight Ljava/awt/Component;
0 4 1 descendant Ljava/awt/Component;
0 4 2 temporary Z
0 4 3 focusedWindowChangeAllowed Z
0 4 4 time J
MethodParameters:
Name Flags
heavyweight
descendant
temporary
focusedWindowChangeAllowed
time
}
SourceFile: "KeyboardFocusManagerPeerImpl.java"
NestMembers:
sun.awt.KeyboardFocusManagerPeerImpl$KfmAccessor
InnerClasses:
public final Cause = java.awt.event.FocusEvent$Cause of java.awt.event.FocusEvent
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
public abstract KeyboardFocusManagerAccessor = sun.awt.AWTAccessor$KeyboardFocusManagerAccessor of sun.awt.AWTAccessor
private KfmAccessor = sun.awt.KeyboardFocusManagerPeerImpl$KfmAccessor of sun.awt.KeyboardFocusManagerPeerImpl
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger