public class sun.awt.X11.XEmbeddingContainer extends sun.awt.X11.XEmbedHelper implements sun.awt.X11.XEventDispatcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XEmbeddingContainer
super_class: sun.awt.X11.XEmbedHelper
{
java.util.HashMap<java.lang.Long, java.awt.peer.ComponentPeer> children;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/Long;Ljava/awt/peer/ComponentPeer;>;
sun.awt.X11.XWindow embedder;
descriptor: Lsun/awt/X11/XWindow;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XEmbedHelper.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.awt.X11.XEmbeddingContainer.children:Ljava/util/HashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbeddingContainer;
void install(sun.awt.X11.XWindow);
descriptor: (Lsun/awt/X11/XWindow;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.awt.X11.XEmbeddingContainer.embedder:Lsun/awt/X11/XWindow;
1: aload 1
invokevirtual sun.awt.X11.XWindow.getWindow:()J
aload 0
invokestatic sun.awt.X11.XToolkit.addEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbeddingContainer;
0 3 1 embedder Lsun/awt/X11/XWindow;
MethodParameters:
Name Flags
embedder
void deinstall();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbeddingContainer.embedder:Lsun/awt/X11/XWindow;
invokevirtual sun.awt.X11.XWindow.getWindow:()J
aload 0
invokestatic sun.awt.X11.XToolkit.removeEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbeddingContainer;
void add(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.awt.X11.XEmbeddingContainer.checkXEmbed:(J)Z
ifeq 8
1: aload 0
lload 1
invokevirtual sun.awt.X11.XEmbeddingContainer.createChildProxy:(J)Ljava/awt/Component;
astore 3
start local 3 2: aload 0
getfield sun.awt.X11.XEmbeddingContainer.embedder:Lsun/awt/X11/XWindow;
invokevirtual sun.awt.X11.XWindow.getTarget:()Ljava/lang/Object;
checkcast java.awt.Container
ldc "Center"
aload 3
invokevirtual java.awt.Container.add:(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;
pop
3: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
4: aload 3
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11.XEmbeddedFramePeer
5: astore 4
start local 4 6: aload 4
ifnull 8
7: aload 0
getfield sun.awt.X11.XEmbeddingContainer.children:Ljava/util/HashMap;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbeddingContainer;
0 9 1 child J
2 8 3 proxy Ljava/awt/Component;
6 8 4 peer Lsun/awt/X11/XEmbeddedFramePeer;
MethodParameters:
Name Flags
child
java.awt.Component createChildProxy(long);
descriptor: (J)Ljava/awt/Component;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new sun.awt.X11.XEmbedChildProxy
dup
aload 0
lload 1
invokespecial sun.awt.X11.XEmbedChildProxy.<init>:(Lsun/awt/X11/XEmbeddingContainer;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XEmbeddingContainer;
0 1 1 child J
MethodParameters:
Name Flags
child
void notifyChildEmbedded(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
iconst_0
aload 0
getfield sun.awt.X11.XEmbeddingContainer.embedder:Lsun/awt/X11/XWindow;
invokevirtual sun.awt.X11.XWindow.getWindow:()J
lconst_0
lconst_0
invokevirtual sun.awt.X11.XEmbeddingContainer.sendMessage:(JIJJJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbeddingContainer;
0 2 1 child J
MethodParameters:
Name Flags
child
void childResized(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XEmbeddingContainer;
0 1 1 child Ljava/awt/Component;
MethodParameters:
Name Flags
child
boolean checkXEmbed(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
ldc 8
invokevirtual jdk.internal.misc.Unsafe.allocateMemory:(J)J
lstore 3
start local 3 1: getstatic sun.awt.X11.XEmbeddingContainer.XEmbedInfo:Lsun/awt/X11/XAtom;
lload 1
lload 3
iconst_2
invokevirtual sun.awt.X11.XAtom.getAtomData:(JJI)Z
ifeq 9
2: getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
lload 3
invokevirtual jdk.internal.misc.Unsafe.getInt:(J)I
pop
3: getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
lload 3
invokevirtual jdk.internal.misc.Unsafe.getInt:(J)I
pop
4: getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
lload 3
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
5: iconst_1
ireturn
6: StackMap locals: sun.awt.X11.XEmbeddingContainer long long
StackMap stack: java.lang.Throwable
astore 5
7: getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
lload 3
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
8: aload 5
athrow
9: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XEmbeddingContainer.unsafe:Ljdk/internal/misc/Unsafe;
lload 3
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
10: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/X11/XEmbeddingContainer;
0 11 1 child J
1 11 3 data J
Exception table:
from to target type
1 4 6 any
MethodParameters:
Name Flags
child
void detachChild(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 1
invokestatic sun.awt.X11.XlibWrapper.XUnmapWindow:(JJ)V
2: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 1
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
iconst_0
iconst_0
invokestatic sun.awt.X11.XlibWrapper.XReparentWindow:(JJJII)V
3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
5: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
6: aload 3
athrow
7: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbeddingContainer;
0 9 1 child J
Exception table:
from to target type
1 4 4 any
MethodParameters:
Name Flags
child
void focusGained(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
iconst_4
lconst_0
lconst_0
lconst_0
invokevirtual sun.awt.X11.XEmbeddingContainer.sendMessage:(JIJJJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbeddingContainer;
0 2 1 child J
MethodParameters:
Name Flags
child
void focusLost(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
iconst_5
invokevirtual sun.awt.X11.XEmbeddingContainer.sendMessage:(JI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbeddingContainer;
0 2 1 child J
MethodParameters:
Name Flags
child
sun.awt.X11.XEmbedChildProxyPeer getChild(long);
descriptor: (J)Lsun/awt/X11/XEmbedChildProxyPeer;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XEmbeddingContainer.children:Ljava/util/HashMap;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.X11.XEmbedChildProxyPeer
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XEmbeddingContainer;
0 1 1 child J
MethodParameters:
Name Flags
child
public void handleClientMessage(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XEvent.get_xclient:()Lsun/awt/X11/XClientMessageEvent;
astore 2
start local 2 1: aload 2
invokevirtual sun.awt.X11.XClientMessageEvent.get_message_type:()J
getstatic sun.awt.X11.XEmbeddingContainer.XEmbed:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 5
2: aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
tableswitch { // 3 - 3
3: 3
default: 5
}
3: StackMap locals: sun.awt.X11.XClientMessageEvent
StackMap stack:
aload 2
iconst_2
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
lstore 3
start local 3 4: aload 0
lload 3
invokevirtual sun.awt.X11.XEmbeddingContainer.getChild:(J)Lsun/awt/X11/XEmbedChildProxyPeer;
invokevirtual sun.awt.X11.XEmbedChildProxyPeer.requestXEmbedFocus:()V
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbeddingContainer;
0 6 1 xev Lsun/awt/X11/XEvent;
1 6 2 msg Lsun/awt/X11/XClientMessageEvent;
4 5 3 child J
MethodParameters:
Name Flags
xev
public void dispatchEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XEvent.get_type:()I
tableswitch { // 33 - 33
33: 1
default: 2
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.X11.XEmbeddingContainer.handleClientMessage:(Lsun/awt/X11/XEvent;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbeddingContainer;
0 3 1 xev Lsun/awt/X11/XEvent;
MethodParameters:
Name Flags
xev
void forwardKeyEvent(long, java.awt.event.KeyEvent);
descriptor: (JLjava/awt/event/KeyEvent;)V
flags: (0x0000)
Code:
stack=9, locals=9, args_size=3
start local 0 start local 1 start local 3 0: invokestatic sun.awt.AWTAccessor.getAWTEventAccessor:()Lsun/awt/AWTAccessor$AWTEventAccessor;
aload 3
invokeinterface sun.awt.AWTAccessor$AWTEventAccessor.getBData:(Ljava/awt/AWTEvent;)[B
astore 4
start local 4 1: aload 4
invokestatic sun.awt.X11.Native.toData:([B)J
lstore 5
start local 5 2: lload 5
lconst_0
lcmp
ifne 4
3: return
4: StackMap locals: byte[] long
StackMap stack:
new sun.awt.X11.XKeyEvent
dup
lload 5
invokespecial sun.awt.X11.XKeyEvent.<init>:(J)V
astore 7
start local 7 5: aload 7
lload 1
invokevirtual sun.awt.X11.XKeyEvent.set_window:(J)V
6: invokestatic sun.awt.X11.XToolkit.awtLock:()V
7: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 1
iconst_0
lconst_0
lload 5
invokestatic sun.awt.X11.XlibWrapper.XSendEvent:(JJZJJ)I
pop
8: goto 12
9: StackMap locals: sun.awt.X11.XEmbeddingContainer long java.awt.event.KeyEvent byte[] long sun.awt.X11.XKeyEvent
StackMap stack: java.lang.Throwable
astore 8
10: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
11: aload 8
athrow
12: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
13: getstatic sun.awt.X11.XlibWrapper.unsafe:Ljdk/internal/misc/Unsafe;
lload 5
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
14: return
end local 7 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XEmbeddingContainer;
0 15 1 child J
0 15 3 e Ljava/awt/event/KeyEvent;
1 15 4 bdata [B
2 15 5 data J
5 15 7 ke Lsun/awt/X11/XKeyEvent;
Exception table:
from to target type
7 9 9 any
MethodParameters:
Name Flags
child
e
}
SourceFile: "XEmbeddingContainer.java"
InnerClasses:
public abstract AWTEventAccessor = sun.awt.AWTAccessor$AWTEventAccessor of sun.awt.AWTAccessor
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor