class com.sun.glass.ui.monocle.SoftwareCursor extends com.sun.glass.ui.monocle.NativeCursor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.SoftwareCursor
super_class: com.sun.glass.ui.monocle.NativeCursor
{
private java.nio.ByteBuffer cursorBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int renderX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int renderY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int hotspotX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int hotspotY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.monocle.NativeCursor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
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/SoftwareCursor;
void setVisibility(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.isVisible:Z
if_icmpeq 3
1: aload 0
iload 1
putfield com.sun.glass.ui.monocle.SoftwareCursor.isVisible:Z
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: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
0 4 1 visibility Z
MethodParameters:
Name Flags
visibility
void setImage(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
1: aload 1
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
bipush 32
iconst_0
invokestatic com.sun.glass.ui.monocle.NativeCursors.colorKeyCursor:([BLjava/nio/Buffer;II)V
2: aload 0
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
0 4 1 cursorImage [B
MethodParameters:
Name Flags
cursorImage
void setLocation(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.hotspotX:I
isub
istore 3
start local 3 1: iload 2
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.hotspotY:I
isub
istore 4
start local 4 2: iload 3
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.renderX:I
if_icmpne 3
iload 4
aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.renderY:I
if_icmpeq 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
putfield com.sun.glass.ui.monocle.SoftwareCursor.renderX:I
4: aload 0
iload 4
putfield com.sun.glass.ui.monocle.SoftwareCursor.renderY:I
5: invokestatic com.sun.glass.ui.monocle.MonocleWindowManager.getInstance:()Lcom/sun/glass/ui/monocle/MonocleWindowManager;
invokevirtual com.sun.glass.ui.monocle.MonocleWindowManager.repaintAll:()V
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
0 7 1 x I
0 7 2 y I
1 7 3 renderX I
2 7 4 renderY I
MethodParameters:
Name Flags
x
y
void setHotSpot(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield com.sun.glass.ui.monocle.SoftwareCursor.hotspotX:I
1: aload 0
iload 2
putfield com.sun.glass.ui.monocle.SoftwareCursor.hotspotY:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
0 3 1 hotspotX I
0 3 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/SoftwareCursor;
int getRenderX();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.renderX:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
int getRenderY();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.renderY:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
java.nio.Buffer getCursorBuffer();
descriptor: ()Ljava/nio/Buffer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.glass.ui.monocle.SoftwareCursor.cursorBuffer:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/SoftwareCursor;
}
SourceFile: "SoftwareCursor.java"