final class com.sun.glass.ui.mac.MacWindow extends com.sun.glass.ui.Window
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.mac.MacWindow
super_class: com.sun.glass.ui.Window
{
private java.nio.ByteBuffer iconBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.mac.MacWindow._initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static native void _initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
protected void <init>(com.sun.glass.ui.Window, com.sun.glass.ui.Screen, int);
descriptor: (Lcom/sun/glass/ui/Window;Lcom/sun/glass/ui/Screen;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial com.sun.glass.ui.Window.<init>:(Lcom/sun/glass/ui/Window;Lcom/sun/glass/ui/Screen;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 2 1 owner Lcom/sun/glass/ui/Window;
0 2 2 screen Lcom/sun/glass/ui/Screen;
0 2 3 styleMask I
MethodParameters:
Name Flags
owner
screen
styleMask
protected void <init>(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokespecial com.sun.glass.ui.Window.<init>:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 2 1 parent J
MethodParameters:
Name Flags
parent
protected native long _createWindow(long, long, int);
descriptor: (JJI)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ownerPtr
screenPtr
mask
protected native long _createChildWindow(long);
descriptor: (J)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
parent
protected native boolean _close(long);
descriptor: (J)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native boolean _setView(long, com.sun.glass.ui.View);
descriptor: (JLcom/sun/glass/ui/View;)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
view
protected native boolean (long, long);
descriptor: (JJ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
menubarPtr
protected native boolean _minimize(long, boolean);
descriptor: (JZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
minimize
protected native boolean _maximize(long, boolean, boolean);
descriptor: (JZZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
maximize
wasMaximized
protected void _setBounds(long, int, int, boolean, boolean, int, int, int, int, float, float);
descriptor: (JIIZZIIIIFF)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=13, locals=15, args_size=12
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.getPlatformScaleX:()F
fstore 13
start local 13 1: aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.getPlatformScaleY:()F
fstore 14
start local 14 2: iload 5
ifeq 3
iload 3
i2f
fload 13
fdiv
invokestatic java.lang.Math.round:(F)I
istore 3
3: StackMap locals: float float
StackMap stack:
iload 6
ifeq 4
iload 4
i2f
fload 14
fdiv
invokestatic java.lang.Math.round:(F)I
istore 4
4: StackMap locals:
StackMap stack:
iload 7
ifle 5
iload 7
i2f
fload 13
fdiv
invokestatic java.lang.Math.round:(F)I
istore 7
5: StackMap locals:
StackMap stack:
iload 8
ifle 6
iload 8
i2f
fload 14
fdiv
invokestatic java.lang.Math.round:(F)I
istore 8
6: StackMap locals:
StackMap stack:
iload 9
ifle 7
iload 9
i2f
fload 13
fdiv
invokestatic java.lang.Math.round:(F)I
istore 9
7: StackMap locals:
StackMap stack:
iload 10
ifle 8
iload 10
i2f
fload 14
fdiv
invokestatic java.lang.Math.round:(F)I
istore 10
8: StackMap locals:
StackMap stack:
aload 0
lload 1
iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
iload 9
iload 10
fload 11
fload 12
invokevirtual com.sun.glass.ui.mac.MacWindow._setBounds2:(JIIZZIIIIFF)V
9: return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 10 1 ptr J
0 10 3 x I
0 10 4 y I
0 10 5 xSet Z
0 10 6 ySet Z
0 10 7 w I
0 10 8 h I
0 10 9 cw I
0 10 10 ch I
0 10 11 xGravity F
0 10 12 yGravity F
1 10 13 sx F
2 10 14 sy F
MethodParameters:
Name Flags
ptr
x
y
xSet
ySet
w
h
cw
ch
xGravity
yGravity
protected native void _setBounds2(long, int, int, boolean, boolean, int, int, int, int, float, float);
descriptor: (JIIZZIIIIFF)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
x
y
xSet
ySet
w
h
cw
ch
xGravity
yGravity
protected native boolean _setVisible(long, boolean);
descriptor: (JZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
visible
protected native boolean _setResizable(long, boolean);
descriptor: (JZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
resizable
private native boolean _requestFocus(long);
descriptor: (J)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected boolean _requestFocus(long, int);
descriptor: (JI)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: iload 3
sipush 541
if_icmpeq 2
1: aload 0
lload 1
invokevirtual com.sun.glass.ui.mac.MacWindow._requestFocus:(J)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 3 1 ptr J
0 3 3 event I
MethodParameters:
Name Flags
ptr
event
protected native void _setFocusable(long, boolean);
descriptor: (JZ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
isFocusable
protected native boolean _setTitle(long, java.lang.String);
descriptor: (JLjava/lang/String;)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
title
protected native void _setLevel(long, int);
descriptor: (JI)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
level
protected native void _setAlpha(long, float);
descriptor: (JF)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
alpha
protected native boolean _setBackground(long, float, float, float);
descriptor: (JFFF)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
r
g
b
protected native void _setEnabled(long, boolean);
descriptor: (JZ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
enabled
protected native boolean _setMinimumSize(long, int, int);
descriptor: (JII)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
width
height
protected native boolean _setMaximumSize(long, int, int);
descriptor: (JII)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
width
height
protected void _setIcon(long, com.sun.glass.ui.Pixels);
descriptor: (JLcom/sun/glass/ui/Pixels;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
ifnull 4
1: aload 0
aload 3
invokevirtual com.sun.glass.ui.Pixels.asByteBuffer:()Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.mac.MacWindow.iconBuffer:Ljava/nio/ByteBuffer;
2: aload 0
lload 1
aload 0
getfield com.sun.glass.ui.mac.MacWindow.iconBuffer:Ljava/nio/ByteBuffer;
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
invokevirtual com.sun.glass.ui.mac.MacWindow._setIcon:(JLjava/lang/Object;II)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.glass.ui.mac.MacWindow.iconBuffer:Ljava/nio/ByteBuffer;
5: aload 0
lload 1
aconst_null
iconst_0
iconst_0
invokevirtual com.sun.glass.ui.mac.MacWindow._setIcon:(JLjava/lang/Object;II)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 7 1 ptr J
0 7 3 pixels Lcom/sun/glass/ui/Pixels;
MethodParameters:
Name Flags
ptr
pixels
private native void _setIcon(long, java.lang.Object, int, int);
descriptor: (JLjava/lang/Object;II)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
iconBuffer
width
height
protected native void _toFront(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _toBack(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _enterModal(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _enterModalWithWindow(long, long);
descriptor: (JJ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
dialog
window
protected native void _exitModal(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native boolean _grabFocus(long);
descriptor: (J)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _ungrabFocus(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native int _getEmbeddedX(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native int _getEmbeddedY(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected void notifyResize(int, int, int);
descriptor: (III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
i2f
aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.getPlatformScaleX:()F
fmul
invokestatic java.lang.Math.round:(F)I
istore 2
1: iload 3
i2f
aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.getPlatformScaleY:()F
fmul
invokestatic java.lang.Math.round:(F)I
istore 3
2: aload 0
iload 1
iload 2
iload 3
invokespecial com.sun.glass.ui.Window.notifyResize:(III)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 4 1 type I
0 4 2 width I
0 4 3 height I
MethodParameters:
Name Flags
type
width
height
protected void notifyMove(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.isMaximized:()Z
iload 3
if_icmpeq 9
aload 0
invokevirtual com.sun.glass.ui.mac.MacWindow.isMinimized:()Z
ifne 9
1: aload 0
iload 3
ifeq 2
iconst_3
goto 3
StackMap locals:
StackMap stack: com.sun.glass.ui.mac.MacWindow
2: iconst_1
StackMap locals: com.sun.glass.ui.mac.MacWindow int int int
StackMap stack: com.sun.glass.ui.mac.MacWindow int
3: invokevirtual com.sun.glass.ui.mac.MacWindow.setState:(I)V
4: aload 0
invokestatic java.lang.System.nanoTime:()J
5: iload 3
ifeq 7
6: sipush 532
goto 8
7: StackMap locals: com.sun.glass.ui.mac.MacWindow int int int
StackMap stack: com.sun.glass.ui.mac.MacWindow long
sipush 533
8: StackMap locals: com.sun.glass.ui.mac.MacWindow int int int
StackMap stack: com.sun.glass.ui.mac.MacWindow long int
invokevirtual com.sun.glass.ui.mac.MacWindow.handleWindowEvent:(JI)V
9: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual com.sun.glass.ui.mac.MacWindow.notifyMove:(II)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 11 1 x I
0 11 2 y I
0 11 3 isMaximized Z
MethodParameters:
Name Flags
x final
y final
isMaximized
protected void _setCursor(long, com.sun.glass.ui.Cursor);
descriptor: (JLcom/sun/glass/ui/Cursor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
checkcast com.sun.glass.ui.mac.MacCursor
invokevirtual com.sun.glass.ui.mac.MacCursor.set:()V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 2 1 ptr J
0 2 3 cursor Lcom/sun/glass/ui/Cursor;
MethodParameters:
Name Flags
ptr
cursor
public void dispatchNpapiEvent(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.glass.events.mac.NpapiEvent.dispatchCocoaNpapiEvent:(Lcom/sun/glass/ui/Window;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 2 1 eventInfo Ljava/util/Map;
MethodParameters:
Name Flags
eventInfo
protected void _requestInput(long, java.lang.String, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double);
descriptor: (JLjava/lang/String;IDDDDDDDDDDDDDD)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=33, args_size=18
start local 0 start local 1 start local 3 start local 4 start local 5 start local 7 start local 9 start local 11 start local 13 start local 15 start local 17 start local 19 start local 21 start local 23 start local 25 start local 27 start local 29 start local 31 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 31 end local 29 end local 27 end local 25 end local 23 end local 21 end local 19 end local 17 end local 15 end local 13 end local 11 end local 9 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 1 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 1 1 ptr J
0 1 3 text Ljava/lang/String;
0 1 4 type I
0 1 5 width D
0 1 7 height D
0 1 9 Mxx D
0 1 11 Mxy D
0 1 13 Mxz D
0 1 15 Mxt D
0 1 17 Myx D
0 1 19 Myy D
0 1 21 Myz D
0 1 23 Myt D
0 1 25 Mzx D
0 1 27 Mzy D
0 1 29 Mzz D
0 1 31 Mzt D
MethodParameters:
Name Flags
ptr
text
type
width
height
Mxx
Mxy
Mxz
Mxt
Myx
Myy
Myz
Myt
Mzx
Mzy
Mzz
Mzt
protected void _releaseInput(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacWindow;
0 1 1 ptr J
MethodParameters:
Name Flags
ptr
}
SourceFile: "MacWindow.java"