public class com.sun.glass.ui.monocle.X11Cursor extends com.sun.glass.ui.monocle.NativeCursor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.glass.ui.monocle.X11Cursor
super_class: com.sun.glass.ui.monocle.NativeCursor
{
private static final int CURSOR_WIDTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int CURSOR_HEIGHT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
protected long xdisplay;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected long xwindow;
descriptor: J
flags: (0x0004) ACC_PROTECTED
private java.nio.ByteBuffer transparentCursorBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private long transparentCursor;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long pixmap;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static com.sun.glass.ui.monocle.X xLib;
descriptor: Lcom/sun/glass/ui/monocle/X;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.monocle.X.getX:()Lcom/sun/glass/ui/monocle/X;
putstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=14, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.monocle.NativeCursor.<init>:()V
1: aload 0
2: invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
getfield com.sun.glass.ui.monocle.NativePlatform.accScreen:Lcom/sun/glass/ui/monocle/AcceleratedScreen;
invokevirtual com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeDisplay:()J
3: putfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
4: aload 0
invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
getfield com.sun.glass.ui.monocle.NativePlatform.accScreen:Lcom/sun/glass/ui/monocle/AcceleratedScreen;
invokevirtual com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeWindow:()J
putfield com.sun.glass.ui.monocle.X11Cursor.xwindow:J
5: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.X11Cursor.transparentCursorBuffer:Ljava/nio/ByteBuffer;
6: aload 0
getstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xwindow:J
7: aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.transparentCursorBuffer:Ljava/nio/ByteBuffer;
iconst_1
iconst_1
8: invokevirtual com.sun.glass.ui.monocle.X.XCreateBitmapFromData:(JJLjava/nio/ByteBuffer;II)J
putfield com.sun.glass.ui.monocle.X11Cursor.pixmap:J
9: new com.sun.glass.ui.monocle.X$XColor
dup
invokespecial com.sun.glass.ui.monocle.X$XColor.<init>:()V
astore 1
start local 1 10: aload 1
aload 1
getfield com.sun.glass.ui.monocle.X$XColor.p:J
iconst_0
invokevirtual com.sun.glass.ui.monocle.X$XColor.setRed:(JI)V
11: aload 1
aload 1
getfield com.sun.glass.ui.monocle.X$XColor.p:J
iconst_0
invokevirtual com.sun.glass.ui.monocle.X$XColor.setGreen:(JI)V
12: aload 1
aload 1
getfield com.sun.glass.ui.monocle.X$XColor.p:J
iconst_0
invokevirtual com.sun.glass.ui.monocle.X$XColor.setBlue:(JI)V
13: aload 0
getstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.pixmap:J
14: aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.pixmap:J
aload 1
getfield com.sun.glass.ui.monocle.X$XColor.p:J
aload 1
getfield com.sun.glass.ui.monocle.X$XColor.p:J
iconst_0
iconst_0
15: invokevirtual com.sun.glass.ui.monocle.X.XCreatePixmapCursor:(JJJJJII)J
putfield com.sun.glass.ui.monocle.X11Cursor.transparentCursor:J
16: getstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.pixmap:J
invokevirtual com.sun.glass.ui.monocle.X.XFreePixmap:(JJ)V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
10 18 1 black Lcom/sun/glass/ui/monocle/X$XColor;
com.sun.glass.ui.Size getBestSize();
descriptor: ()Lcom/sun/glass/ui/Size;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.sun.glass.ui.Size
dup
bipush 16
bipush 16
invokespecial com.sun.glass.ui.Size.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
void setVisibility(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.isVisible:Z
ifeq 4
iload 1
ifne 4
1: getstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xwindow:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.transparentCursor:J
invokevirtual com.sun.glass.ui.monocle.X.XDefineCursor:(JJJ)V
2: invokestatic com.sun.glass.ui.monocle.MonocleWindowManager.getInstance:()Lcom/sun/glass/ui/monocle/MonocleWindowManager;
invokevirtual com.sun.glass.ui.monocle.MonocleWindowManager.repaintAll:()V
3: goto 7
StackMap locals:
StackMap stack:
4: aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.isVisible:Z
ifne 7
iload 1
ifeq 7
5: getstatic com.sun.glass.ui.monocle.X11Cursor.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xdisplay:J
aload 0
getfield com.sun.glass.ui.monocle.X11Cursor.xwindow:J
invokevirtual com.sun.glass.ui.monocle.X.XUndefineCursor:(JJ)V
6: invokestatic com.sun.glass.ui.monocle.MonocleWindowManager.getInstance:()Lcom/sun/glass/ui/monocle/MonocleWindowManager;
invokevirtual com.sun.glass.ui.monocle.MonocleWindowManager.repaintAll:()V
7: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.glass.ui.monocle.X11Cursor.isVisible:Z
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
0 9 1 visibility Z
MethodParameters:
Name Flags
visibility
void setImage(byte[]);
descriptor: ([B)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 Lcom/sun/glass/ui/monocle/X11Cursor;
0 1 1 cursorImage [B
MethodParameters:
Name Flags
cursorImage
void setLocation(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
void setHotSpot(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
0 1 1 hotspotX I
0 1 2 hotspotY I
MethodParameters:
Name Flags
hotspotX
hotspotY
void shutdown();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Cursor;
}
SourceFile: "X11Cursor.java"
InnerClasses:
XColor = com.sun.glass.ui.monocle.X$XColor of com.sun.glass.ui.monocle.X