class sun.awt.X11.XDialogPeer extends sun.awt.X11.XDecoratedPeer implements java.awt.peer.DialogPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.XDialogPeer
super_class: sun.awt.X11.XDecoratedPeer
{
private java.lang.Boolean undecorated;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
void <init>(java.awt.Dialog);
descriptor: (Ljava/awt/Dialog;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XDecoratedPeer.<init>:(Ljava/awt/Window;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XDialogPeer;
0 2 1 target Ljava/awt/Dialog;
MethodParameters:
Name Flags
target
public void preInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XDecoratedPeer.preInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: aload 0
getfield sun.awt.X11.XDialogPeer.target:Ljava/awt/Component;
checkcast java.awt.Dialog
astore 2
start local 2 2: aload 0
aload 2
invokevirtual java.awt.Dialog.isUndecorated:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield sun.awt.X11.XDialogPeer.undecorated:Ljava/lang/Boolean;
3: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
aload 2
invokevirtual java.awt.Dialog.isUndecorated:()Z
ifeq 4
iconst_0
goto 5
StackMap locals: sun.awt.X11.XDialogPeer sun.awt.X11.XCreateWindowParams java.awt.Dialog
StackMap stack: sun.awt.X11.XWindowAttributesData
4: iconst_1
StackMap locals: sun.awt.X11.XDialogPeer sun.awt.X11.XCreateWindowParams java.awt.Dialog
StackMap stack: sun.awt.X11.XWindowAttributesData int
5: putfield sun.awt.X11.XWindowAttributesData.nativeDecor:Z
6: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
getfield sun.awt.X11.XWindowAttributesData.nativeDecor:Z
ifeq 9
7: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
getstatic sun.awt.X11.XWindowAttributesData.AWT_DECOR_ALL:I
putfield sun.awt.X11.XWindowAttributesData.decorations:I
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
getstatic sun.awt.X11.XWindowAttributesData.AWT_DECOR_NONE:I
putfield sun.awt.X11.XWindowAttributesData.decorations:I
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
iconst_1
putfield sun.awt.X11.XWindowAttributesData.functions:I
11: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
iconst_1
putfield sun.awt.X11.XWindowAttributesData.isResizable:Z
12: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
aload 2
invokevirtual java.awt.Dialog.isResizable:()Z
putfield sun.awt.X11.XWindowAttributesData.initialResizability:Z
13: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
aload 2
invokevirtual java.awt.Dialog.getTitle:()Ljava/lang/String;
putfield sun.awt.X11.XWindowAttributesData.title:Ljava/lang/String;
14: aload 0
getfield sun.awt.X11.XDialogPeer.winAttr:Lsun/awt/X11/XWindowAttributesData;
getstatic sun.awt.X11.XWindowAttributesData.NORMAL:I
putfield sun.awt.X11.XWindowAttributesData.initialState:I
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/X11/XDialogPeer;
0 16 1 params Lsun/awt/X11/XCreateWindowParams;
2 16 2 target Ljava/awt/Dialog;
MethodParameters:
Name Flags
params
public void setVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: aload 0
getfield sun.awt.X11.XDialogPeer.target:Ljava/awt/Component;
checkcast java.awt.Dialog
astore 2
start local 2 2: iload 1
ifeq 7
3: aload 2
invokevirtual java.awt.Dialog.getModalityType:()Ljava/awt/Dialog$ModalityType;
getstatic java.awt.Dialog$ModalityType.MODELESS:Ljava/awt/Dialog$ModalityType;
if_acmpeq 14
4: aload 0
invokevirtual sun.awt.X11.XDialogPeer.isModalBlocked:()Z
ifne 14
5: invokestatic sun.awt.X11.XBaseWindow.ungrabInput:()V
6: goto 14
7: StackMap locals: java.awt.Dialog
StackMap stack:
aload 0
invokestatic sun.awt.X11.XDialogPeer.restoreTransientFor:(Lsun/awt/X11/XWindowPeer;)V
8: aload 0
aconst_null
putfield sun.awt.X11.XDialogPeer.prevTransientFor:Lsun/awt/X11/XWindowPeer;
9: aload 0
aconst_null
putfield sun.awt.X11.XDialogPeer.nextTransientFor:Lsun/awt/X11/XWindowPeer;
end local 2 10: goto 14
StackMap locals: sun.awt.X11.XDialogPeer int
StackMap stack: java.lang.Throwable
11: astore 3
12: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
13: aload 3
athrow
14: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
15: aload 0
iload 1
invokespecial sun.awt.X11.XDecoratedPeer.setVisible:(Z)V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/awt/X11/XDialogPeer;
0 17 1 vis Z
2 10 2 target Ljava/awt/Dialog;
Exception table:
from to target type
1 11 11 any
MethodParameters:
Name Flags
vis
boolean isTargetUndecorated();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XDialogPeer.undecorated:Ljava/lang/Boolean;
ifnull 2
1: aload 0
getfield sun.awt.X11.XDialogPeer.undecorated:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XDialogPeer.target:Ljava/awt/Component;
checkcast java.awt.Dialog
invokevirtual java.awt.Dialog.isUndecorated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XDialogPeer;
int getDecorations();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XDecoratedPeer.getDecorations:()I
istore 1
start local 1 1: iload 1
iconst_1
iand
ifeq 4
2: iload 1
bipush 96
ior
istore 1
3: goto 5
4: StackMap locals: int
StackMap stack:
iload 1
bipush -97
iand
istore 1
5: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XDialogPeer;
1 6 1 d I
int getFunctions();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XDecoratedPeer.getFunctions:()I
istore 1
start local 1 1: iload 1
iconst_1
iand
ifeq 4
2: iload 1
bipush 24
ior
istore 1
3: goto 5
4: StackMap locals: int
StackMap stack:
iload 1
bipush -25
iand
istore 1
5: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XDialogPeer;
1 6 1 f I
public void blockWindows(java.util.List<java.awt.Window>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: invokestatic sun.awt.X11.XToolkit.awtLock:()V
2: invokestatic sun.awt.X11.XWindowPeer.collectJavaToplevels:()Ljava/util/Vector;
astore 2
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: sun.awt.X11.XDialogPeer java.util.List java.util.Vector top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.awt.Window
astore 3
start local 3 5: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 3
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11.XWindowPeer
astore 5
start local 5 6: aload 5
ifnull 8
7: aload 5
aload 0
getfield sun.awt.X11.XDialogPeer.target:Ljava/awt/Component;
checkcast java.awt.Dialog
iconst_1
aload 2
invokevirtual sun.awt.X11.XWindowPeer.setModalBlocked:(Ljava/awt/Dialog;ZLjava/util/Vector;)V
end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: goto 13
StackMap locals: sun.awt.X11.XDialogPeer java.util.List java.util.Vector
StackMap stack: java.lang.Throwable
10: astore 6
11: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
12: aload 6
athrow
13: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XDialogPeer;
0 15 1 toBlock Ljava/util/List<Ljava/awt/Window;>;
1 15 2 javaToplevels Ljava/util/Vector<Lsun/awt/X11/XWindowPeer;>;
5 8 3 w Ljava/awt/Window;
6 8 5 wp Lsun/awt/X11/XWindowPeer;
Exception table:
from to target type
2 10 10 any
Signature: (Ljava/util/List<Ljava/awt/Window;>;)V
MethodParameters:
Name Flags
toBlock
boolean isFocusedWindowModalBlocker();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic sun.awt.X11.XKeyboardFocusManagerPeer.getInstance:()Lsun/awt/X11/XKeyboardFocusManagerPeer;
invokevirtual sun.awt.X11.XKeyboardFocusManagerPeer.getCurrentFocusedWindow:()Ljava/awt/Window;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ifnull 5
3: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 1
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11.XWindowPeer
astore 2
4: goto 6
5: StackMap locals: java.awt.Window sun.awt.X11.XWindowPeer
StackMap stack:
invokestatic sun.awt.X11.XDialogPeer.getNativeFocusedWindowPeer:()Lsun/awt/X11/XWindowPeer;
astore 2
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XDialogPeer.getStateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
7: aload 2
ifnull 10
aload 2
getfield sun.awt.X11.XWindowPeer.modalBlocker:Ljava/awt/Dialog;
aload 0
getfield sun.awt.X11.XDialogPeer.target:Ljava/awt/Component;
if_acmpne 10
8: aload 3
monitorexit
9: iconst_1
ireturn
10: StackMap locals: java.lang.Object
StackMap stack:
aload 3
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.X11.XDecoratedPeer.isFocusedWindowModalBlocker:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XDialogPeer;
1 15 1 focusedWindow Ljava/awt/Window;
2 15 2 focusedWindowPeer Lsun/awt/X11/XWindowPeer;
Exception table:
from to target type
7 9 12 any
10 11 12 any
12 13 12 any
}
SourceFile: "XDialogPeer.java"
InnerClasses:
public final ModalityType = java.awt.Dialog$ModalityType of java.awt.Dialog
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor