public class javafx.scene.ImageCursor extends javafx.scene.Cursor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.scene.ImageCursor
super_class: javafx.scene.Cursor
{
private javafx.scene.ImageCursor$ObjectPropertyImpl<javafx.scene.image.Image> image;
descriptor: Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/scene/ImageCursor$ObjectPropertyImpl<Ljavafx/scene/image/Image;>;
private javafx.scene.ImageCursor$DoublePropertyImpl hotspotX;
descriptor: Ljavafx/scene/ImageCursor$DoublePropertyImpl;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.ImageCursor$DoublePropertyImpl hotspotY;
descriptor: Ljavafx/scene/ImageCursor$DoublePropertyImpl;
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.cursor.CursorFrame currentCursorFrame;
descriptor: Lcom/sun/javafx/cursor/CursorFrame;
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.cursor.ImageCursorFrame firstCursorFrame;
descriptor: Lcom/sun/javafx/cursor/ImageCursorFrame;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.Object, com.sun.javafx.cursor.ImageCursorFrame> otherCursorFrames;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Object;Lcom/sun/javafx/cursor/ImageCursorFrame;>;
private int activeCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javafx.beans.InvalidationListener imageListener;
descriptor: Ljavafx/beans/InvalidationListener;
flags: (0x0002) ACC_PRIVATE
public final javafx.scene.image.Image getImage();
descriptor: ()Ljavafx/scene/image/Image;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
invokevirtual javafx.scene.ImageCursor$ObjectPropertyImpl.get:()Ljava/lang/Object;
checkcast javafx.scene.image.Image
StackMap locals:
StackMap stack: javafx.scene.image.Image
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
public final javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.image.Image> imageProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyObjectProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.ImageCursor.imagePropertyImpl:()Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/ImageCursor;
Signature: ()Ljavafx/beans/property/ReadOnlyObjectProperty<Ljavafx/scene/image/Image;>;
private javafx.scene.ImageCursor$ObjectPropertyImpl<javafx.scene.image.Image> imagePropertyImpl();
descriptor: ()Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
ifnonnull 2
1: aload 0
new javafx.scene.ImageCursor$ObjectPropertyImpl
dup
aload 0
ldc "image"
invokespecial javafx.scene.ImageCursor$ObjectPropertyImpl.<init>:(Ljavafx/scene/ImageCursor;Ljava/lang/String;)V
putfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
Signature: ()Ljavafx/scene/ImageCursor$ObjectPropertyImpl<Ljavafx/scene/image/Image;>;
public final double getHotspotX();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
ifnonnull 1
dconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.get:()D
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
public final javafx.beans.property.ReadOnlyDoubleProperty hotspotXProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyDoubleProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.ImageCursor.hotspotXPropertyImpl:()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/ImageCursor;
private javafx.scene.ImageCursor$DoublePropertyImpl hotspotXPropertyImpl();
descriptor: ()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
ifnonnull 2
1: aload 0
new javafx.scene.ImageCursor$DoublePropertyImpl
dup
aload 0
ldc "hotspotX"
invokespecial javafx.scene.ImageCursor$DoublePropertyImpl.<init>:(Ljavafx/scene/ImageCursor;Ljava/lang/String;)V
putfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
public final double getHotspotY();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
ifnonnull 1
dconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.get:()D
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
public final javafx.beans.property.ReadOnlyDoubleProperty hotspotYProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyDoubleProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.ImageCursor.hotspotYPropertyImpl:()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/ImageCursor;
private javafx.scene.ImageCursor$DoublePropertyImpl hotspotYPropertyImpl();
descriptor: ()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
ifnonnull 2
1: aload 0
new javafx.scene.ImageCursor$DoublePropertyImpl
dup
aload 0
ldc "hotspotY"
invokespecial javafx.scene.ImageCursor$DoublePropertyImpl.<init>:(Ljavafx/scene/ImageCursor;Ljava/lang/String;)V
putfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javafx.scene.Cursor.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/ImageCursor;
public void <init>(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
dconst_0
dconst_0
invokespecial javafx.scene.ImageCursor.<init>:(Ljavafx/scene/image/Image;DD)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/ImageCursor;
0 2 1 image Ljavafx/scene/image/Image;
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "image")
MethodParameters:
Name Flags
image final
public void <init>(javafx.scene.image.Image, double, double);
descriptor: (Ljavafx/scene/image/Image;DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial javafx.scene.Cursor.<init>:()V
1: aload 1
ifnull 5
aload 1
invokevirtual javafx.scene.image.Image.getProgress:()D
dconst_1
dcmpg
ifge 5
2: aload 0
aload 1
dload 2
dload 4
3: invokestatic javafx.scene.ImageCursor$DelayedInitialization.applyTo:(Ljavafx/scene/ImageCursor;Ljavafx/scene/image/Image;DD)V
4: goto 6
5: StackMap locals: javafx.scene.ImageCursor javafx.scene.image.Image double double
StackMap stack:
aload 0
aload 1
dload 2
dload 4
invokevirtual javafx.scene.ImageCursor.initialize:(Ljavafx/scene/image/Image;DD)V
6: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/ImageCursor;
0 7 1 image Ljavafx/scene/image/Image;
0 7 2 hotspotX D
0 7 4 hotspotY D
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "image")
1:
javafx.beans.NamedArg(value = "hotspotX")
2:
javafx.beans.NamedArg(value = "hotspotY")
MethodParameters:
Name Flags
image final
hotspotX
hotspotY
public static javafx.geometry.Dimension2D getBestSize(double, double);
descriptor: (DD)Ljavafx/geometry/Dimension2D;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
dload 0
d2i
1: dload 2
d2i
2: invokevirtual com.sun.javafx.tk.Toolkit.getBestCursorSize:(II)Ljavafx/geometry/Dimension2D;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 preferredWidth D
0 3 2 preferredHeight D
MethodParameters:
Name Flags
preferredWidth
preferredHeight
public static int getMaximumColors();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getMaximumCursorColors:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static javafx.scene.ImageCursor chooseBestCursor(javafx.scene.image.Image[], double, double);
descriptor: ([Ljavafx/scene/image/Image;DD)Ljavafx/scene/ImageCursor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 3 0: new javafx.scene.ImageCursor
dup
invokespecial javafx.scene.ImageCursor.<init>:()V
astore 5
start local 5 1: aload 0
invokestatic javafx.scene.ImageCursor.needsDelayedInitialization:([Ljavafx/scene/image/Image;)Z
ifeq 5
2: aload 5
aload 0
dload 1
dload 3
3: invokestatic javafx.scene.ImageCursor$DelayedInitialization.applyTo:(Ljavafx/scene/ImageCursor;[Ljavafx/scene/image/Image;DD)V
4: goto 6
5: StackMap locals: javafx.scene.ImageCursor
StackMap stack:
aload 5
aload 0
dload 1
dload 3
invokevirtual javafx.scene.ImageCursor.initialize:([Ljavafx/scene/image/Image;DD)V
6: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 images [Ljavafx/scene/image/Image;
0 7 1 hotspotX D
0 7 3 hotspotY D
1 7 5 imageCursor Ljavafx/scene/ImageCursor;
MethodParameters:
Name Flags
images final
hotspotX final
hotspotY final
com.sun.javafx.cursor.CursorFrame getCurrentFrame();
descriptor: ()Lcom/sun/javafx/cursor/CursorFrame;
flags: (0x0000)
Code:
stack=12, locals=4, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
ifnull 2
1: aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.ImageCursor.getImage:()Ljavafx/scene/image/Image;
astore 1
start local 1 3: aload 1
ifnonnull 6
4: aload 0
getstatic javafx.scene.Cursor.DEFAULT:Ljavafx/scene/Cursor;
invokevirtual javafx.scene.Cursor.getCurrentFrame:()Lcom/sun/javafx/cursor/CursorFrame;
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
5: aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
areturn
6: StackMap locals: javafx.scene.image.Image
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 1
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.getPlatformImage:(Ljavafx/scene/image/Image;)Ljava/lang/Object;
astore 2
start local 2 7: aload 2
ifnonnull 10
8: aload 0
getstatic javafx.scene.Cursor.DEFAULT:Ljavafx/scene/Cursor;
invokevirtual javafx.scene.Cursor.getCurrentFrame:()Lcom/sun/javafx/cursor/CursorFrame;
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
9: aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
areturn
10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.firstCursorFrame:Lcom/sun/javafx/cursor/ImageCursorFrame;
ifnonnull 21
11: aload 0
12: new com.sun.javafx.cursor.ImageCursorFrame
dup
aload 2
13: aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
14: aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
15: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotX:()D
16: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotY:()D
17: invokespecial com.sun.javafx.cursor.ImageCursorFrame.<init>:(Ljava/lang/Object;DDDD)V
18: putfield javafx.scene.ImageCursor.firstCursorFrame:Lcom/sun/javafx/cursor/ImageCursorFrame;
19: aload 0
aload 0
getfield javafx.scene.ImageCursor.firstCursorFrame:Lcom/sun/javafx/cursor/ImageCursorFrame;
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
20: goto 37
StackMap locals:
StackMap stack:
21: aload 0
getfield javafx.scene.ImageCursor.firstCursorFrame:Lcom/sun/javafx/cursor/ImageCursorFrame;
invokevirtual com.sun.javafx.cursor.ImageCursorFrame.getPlatformImage:()Ljava/lang/Object;
aload 2
if_acmpne 24
22: aload 0
aload 0
getfield javafx.scene.ImageCursor.firstCursorFrame:Lcom/sun/javafx/cursor/ImageCursorFrame;
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
23: goto 37
24: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.otherCursorFrames:Ljava/util/Map;
ifnonnull 26
25: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javafx.scene.ImageCursor.otherCursorFrames:Ljava/util/Map;
26: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javafx.scene.ImageCursor.otherCursorFrames:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.javafx.cursor.CursorFrame
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
27: aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
ifnonnull 37
28: new com.sun.javafx.cursor.ImageCursorFrame
dup
aload 2
29: aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
30: aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
31: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotX:()D
32: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotY:()D
33: invokespecial com.sun.javafx.cursor.ImageCursorFrame.<init>:(Ljava/lang/Object;DDDD)V
34: astore 3
start local 3 35: aload 0
getfield javafx.scene.ImageCursor.otherCursorFrames:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: aload 0
aload 3
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
end local 3 37: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Ljavafx/scene/ImageCursor;
3 38 1 cursorImage Ljavafx/scene/image/Image;
7 38 2 cursorPlatformImage Ljava/lang/Object;
35 37 3 newCursorFrame Lcom/sun/javafx/cursor/ImageCursorFrame;
private void invalidateCurrentFrame();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javafx.scene.ImageCursor.currentCursorFrame:Lcom/sun/javafx/cursor/CursorFrame;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/ImageCursor;
void activate();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javafx.scene.ImageCursor.activeCounter:I
iconst_1
iadd
dup_x1
putfield javafx.scene.ImageCursor.activeCounter:I
iconst_1
if_icmpne 3
1: aload 0
aload 0
invokevirtual javafx.scene.ImageCursor.getImage:()Ljavafx/scene/image/Image;
invokevirtual javafx.scene.ImageCursor.bindImage:(Ljavafx/scene/image/Image;)V
2: aload 0
invokevirtual javafx.scene.ImageCursor.invalidateCurrentFrame:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/ImageCursor;
void deactivate();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javafx.scene.ImageCursor.activeCounter:I
iconst_1
isub
dup_x1
putfield javafx.scene.ImageCursor.activeCounter:I
ifne 2
1: aload 0
aload 0
invokevirtual javafx.scene.ImageCursor.getImage:()Ljavafx/scene/image/Image;
invokevirtual javafx.scene.ImageCursor.unbindImage:(Ljavafx/scene/image/Image;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
private void initialize(javafx.scene.image.Image[], double, double);
descriptor: ([Ljavafx/scene/image/Image;DD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 4 0: dconst_1
dconst_1
invokestatic javafx.scene.ImageCursor.getBestSize:(DD)Ljavafx/geometry/Dimension2D;
astore 6
start local 6 1: aload 1
arraylength
ifeq 3
aload 6
invokevirtual javafx.geometry.Dimension2D.getWidth:()D
dconst_0
dcmpl
ifeq 3
2: aload 6
invokevirtual javafx.geometry.Dimension2D.getHeight:()D
dconst_0
dcmpl
ifne 4
3: StackMap locals: javafx.geometry.Dimension2D
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_1
if_icmpne 7
5: aload 0
aload 1
iconst_0
aaload
dload 2
dload 4
invokevirtual javafx.scene.ImageCursor.initialize:(Ljavafx/scene/image/Image;DD)V
6: return
7: StackMap locals:
StackMap stack:
aload 1
invokestatic javafx.scene.ImageCursor.findBestImage:([Ljavafx/scene/image/Image;)Ljavafx/scene/image/Image;
astore 7
start local 7 8: aload 7
invokevirtual javafx.scene.image.Image.getWidth:()D
aload 1
iconst_0
aaload
invokevirtual javafx.scene.image.Image.getWidth:()D
ddiv
dstore 8
start local 8 9: aload 7
invokevirtual javafx.scene.image.Image.getHeight:()D
aload 1
iconst_0
aaload
invokevirtual javafx.scene.image.Image.getHeight:()D
ddiv
dstore 10
start local 10 10: aload 0
aload 7
dload 2
dload 8
dmul
dload 4
dload 10
dmul
invokevirtual javafx.scene.ImageCursor.initialize:(Ljavafx/scene/image/Image;DD)V
11: return
end local 10 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavafx/scene/ImageCursor;
0 12 1 images [Ljavafx/scene/image/Image;
0 12 2 hotspotX D
0 12 4 hotspotY D
1 12 6 dim Ljavafx/geometry/Dimension2D;
8 12 7 bestImage Ljavafx/scene/image/Image;
9 12 8 scaleX D
10 12 10 scaleY D
MethodParameters:
Name Flags
images final
hotspotX final
hotspotY final
private void initialize(javafx.scene.image.Image, double, double);
descriptor: (Ljavafx/scene/image/Image;DD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokevirtual javafx.scene.ImageCursor.getImage:()Ljavafx/scene/image/Image;
astore 6
start local 6 1: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotX:()D
dstore 7
start local 7 2: aload 0
invokevirtual javafx.scene.ImageCursor.getHotspotY:()D
dstore 9
start local 9 3: aload 1
ifnull 5
aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
dconst_1
dcmpg
iflt 5
4: aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
dconst_1
dcmpg
ifge 8
5: StackMap locals: javafx.scene.image.Image double double
StackMap stack:
dconst_0
dstore 2
6: dconst_0
dstore 4
7: goto 16
8: StackMap locals:
StackMap stack:
dload 2
dconst_0
dcmpg
ifge 10
9: dconst_0
dstore 2
10: StackMap locals:
StackMap stack:
dload 2
aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
dconst_1
dsub
dcmpl
ifle 12
11: aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
dconst_1
dsub
dstore 2
12: StackMap locals:
StackMap stack:
dload 4
dconst_0
dcmpg
ifge 14
13: dconst_0
dstore 4
14: StackMap locals:
StackMap stack:
dload 4
aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
dconst_1
dsub
dcmpl
ifle 16
15: aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
dconst_1
dsub
dstore 4
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.ImageCursor.imagePropertyImpl:()Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
aload 1
invokevirtual javafx.scene.ImageCursor$ObjectPropertyImpl.store:(Ljava/lang/Object;)V
17: aload 0
invokevirtual javafx.scene.ImageCursor.hotspotXPropertyImpl:()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
dload 2
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.store:(D)V
18: aload 0
invokevirtual javafx.scene.ImageCursor.hotspotYPropertyImpl:()Ljavafx/scene/ImageCursor$DoublePropertyImpl;
dload 4
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.store:(D)V
19: aload 6
aload 1
if_acmpeq 25
20: aload 0
getfield javafx.scene.ImageCursor.activeCounter:I
ifle 23
21: aload 0
aload 6
invokevirtual javafx.scene.ImageCursor.unbindImage:(Ljavafx/scene/image/Image;)V
22: aload 0
aload 1
invokevirtual javafx.scene.ImageCursor.bindImage:(Ljavafx/scene/image/Image;)V
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.ImageCursor.invalidateCurrentFrame:()V
24: aload 0
getfield javafx.scene.ImageCursor.image:Ljavafx/scene/ImageCursor$ObjectPropertyImpl;
invokevirtual javafx.scene.ImageCursor$ObjectPropertyImpl.fireValueChangedEvent:()V
25: StackMap locals:
StackMap stack:
dload 7
dload 2
dcmpl
ifeq 27
26: aload 0
getfield javafx.scene.ImageCursor.hotspotX:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.fireValueChangedEvent:()V
27: StackMap locals:
StackMap stack:
dload 9
dload 4
dcmpl
ifeq 29
28: aload 0
getfield javafx.scene.ImageCursor.hotspotY:Ljavafx/scene/ImageCursor$DoublePropertyImpl;
invokevirtual javafx.scene.ImageCursor$DoublePropertyImpl.fireValueChangedEvent:()V
29: StackMap locals:
StackMap stack:
return
end local 9 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavafx/scene/ImageCursor;
0 30 1 newImage Ljavafx/scene/image/Image;
0 30 2 newHotspotX D
0 30 4 newHotspotY D
1 30 6 oldImage Ljavafx/scene/image/Image;
2 30 7 oldHotspotX D
3 30 9 oldHotspotY D
MethodParameters:
Name Flags
newImage
newHotspotX
newHotspotY
private javafx.beans.InvalidationListener getImageListener();
descriptor: ()Ljavafx/beans/InvalidationListener;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.ImageCursor.imageListener:Ljavafx/beans/InvalidationListener;
ifnonnull 2
1: aload 0
aload 0
invokedynamic invalidated(Ljavafx/scene/ImageCursor;)Ljavafx/beans/InvalidationListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/beans/Observable;)V
javafx/scene/ImageCursor.lambda$0(Ljavafx/beans/Observable;)V (7)
(Ljavafx/beans/Observable;)V
putfield javafx.scene.ImageCursor.imageListener:Ljavafx/beans/InvalidationListener;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.ImageCursor.imageListener:Ljavafx/beans/InvalidationListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/ImageCursor;
private void bindImage(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 1
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.getImageProperty:(Ljavafx/scene/image/Image;)Ljavafx/beans/property/ReadOnlyObjectProperty;
aload 0
invokevirtual javafx.scene.ImageCursor.getImageListener:()Ljavafx/beans/InvalidationListener;
invokevirtual javafx.beans.property.ReadOnlyObjectProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/ImageCursor;
0 4 1 toImage Ljavafx/scene/image/Image;
MethodParameters:
Name Flags
toImage final
private void unbindImage(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 1
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.getImageProperty:(Ljavafx/scene/image/Image;)Ljavafx/beans/property/ReadOnlyObjectProperty;
aload 0
invokevirtual javafx.scene.ImageCursor.getImageListener:()Ljavafx/beans/InvalidationListener;
invokevirtual javafx.beans.property.ReadOnlyObjectProperty.removeListener:(Ljavafx/beans/InvalidationListener;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/ImageCursor;
0 4 1 fromImage Ljavafx/scene/image/Image;
MethodParameters:
Name Flags
fromImage final
private static boolean needsDelayedInitialization(javafx.scene.image.Image[]);
descriptor: ([Ljavafx/scene/image/Image;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: javafx.scene.image.Image[] top int int javafx.scene.image.Image[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual javafx.scene.image.Image.getProgress:()D
dconst_1
dcmpg
ifge 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 images [Ljavafx/scene/image/Image;
2 4 1 image Ljavafx/scene/image/Image;
MethodParameters:
Name Flags
images final
private static javafx.scene.image.Image findBestImage(javafx.scene.image.Image[]);
descriptor: ([Ljavafx/scene/image/Image;)Ljavafx/scene/image/Image;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=15, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 9
StackMap locals: javafx.scene.image.Image[] top int int javafx.scene.image.Image[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
d2i
i2d
3: aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
d2i
i2d
4: invokestatic javafx.scene.ImageCursor.getBestSize:(DD)Ljavafx/geometry/Dimension2D;
astore 5
start local 5 5: aload 5
invokevirtual javafx.geometry.Dimension2D.getWidth:()D
aload 1
invokevirtual javafx.scene.image.Image.getWidth:()D
dcmpl
ifne 8
6: aload 5
invokevirtual javafx.geometry.Dimension2D.getHeight:()D
aload 1
invokevirtual javafx.scene.image.Image.getHeight:()D
dcmpl
ifne 8
7: aload 1
areturn
end local 5 end local 1 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
iload 3
if_icmplt 1
10: aconst_null
astore 1
start local 1 11: ldc 1.7976931348623157E308
dstore 2
start local 2 12: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 26
StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double top int int javafx.scene.image.Image[]
StackMap stack:
13: aload 7
iload 5
aaload
astore 4
start local 4 14: aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
dconst_0
dcmpl
ifle 25
aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
dconst_0
dcmpl
ifle 25
15: aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
16: aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
17: invokestatic javafx.scene.ImageCursor.getBestSize:(DD)Ljavafx/geometry/Dimension2D;
astore 8
start local 8 18: aload 8
invokevirtual javafx.geometry.Dimension2D.getWidth:()D
aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
ddiv
dstore 9
start local 9 19: aload 8
invokevirtual javafx.geometry.Dimension2D.getHeight:()D
aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
ddiv
dstore 11
start local 11 20: dload 9
dconst_1
dcmpl
iflt 25
dload 11
dconst_1
dcmpl
iflt 25
21: dload 9
dload 11
invokestatic java.lang.Math.max:(DD)D
dstore 13
start local 13 22: dload 13
dload 2
dcmpg
ifge 25
23: aload 4
astore 1
24: dload 13
dstore 2
end local 13 end local 11 end local 9 end local 8 end local 4 25: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
26: iload 5
iload 6
if_icmplt 13
27: aload 1
ifnull 29
28: aload 1
areturn
29: StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double
StackMap stack:
aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 47
StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double top int int javafx.scene.image.Image[]
StackMap stack:
30: aload 7
iload 5
aaload
astore 4
start local 4 31: aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
dconst_0
dcmpl
ifle 46
aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
dconst_0
dcmpl
ifle 46
32: aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
33: aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
34: invokestatic javafx.scene.ImageCursor.getBestSize:(DD)Ljavafx/geometry/Dimension2D;
astore 8
start local 8 35: aload 8
invokevirtual javafx.geometry.Dimension2D.getWidth:()D
dconst_0
dcmpl
ifle 46
aload 8
invokevirtual javafx.geometry.Dimension2D.getHeight:()D
dconst_0
dcmpl
ifle 46
36: aload 8
invokevirtual javafx.geometry.Dimension2D.getWidth:()D
aload 4
invokevirtual javafx.scene.image.Image.getWidth:()D
ddiv
dstore 9
start local 9 37: dload 9
dconst_1
dcmpg
ifge 39
38: dconst_1
dload 9
ddiv
dstore 9
39: StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double javafx.scene.image.Image int int javafx.scene.image.Image[] javafx.geometry.Dimension2D double
StackMap stack:
aload 8
invokevirtual javafx.geometry.Dimension2D.getHeight:()D
aload 4
invokevirtual javafx.scene.image.Image.getHeight:()D
ddiv
dstore 11
start local 11 40: dload 11
dconst_1
dcmpg
ifge 42
41: dconst_1
dload 11
ddiv
dstore 11
42: StackMap locals: double
StackMap stack:
dload 9
dload 11
invokestatic java.lang.Math.max:(DD)D
dstore 13
start local 13 43: dload 13
dload 2
dcmpg
ifge 46
44: aload 4
astore 1
45: dload 13
dstore 2
end local 13 end local 11 end local 9 end local 8 end local 4 46: StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double top int int javafx.scene.image.Image[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
47: iload 5
iload 6
if_icmplt 30
48: aload 1
ifnull 50
49: aload 1
areturn
50: StackMap locals: javafx.scene.image.Image[] javafx.scene.image.Image double
StackMap stack:
aload 0
iconst_0
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 images [Ljavafx/scene/image/Image;
2 8 1 image Ljavafx/scene/image/Image;
5 8 5 dim Ljavafx/geometry/Dimension2D;
11 51 1 bestImage Ljavafx/scene/image/Image;
12 51 2 bestRatio D
14 25 4 image Ljavafx/scene/image/Image;
18 25 8 dim Ljavafx/geometry/Dimension2D;
19 25 9 ratioX D
20 25 11 ratioY D
22 25 13 ratio D
31 46 4 image Ljavafx/scene/image/Image;
35 46 8 dim Ljavafx/geometry/Dimension2D;
37 46 9 ratioX D
40 46 11 ratioY D
43 46 13 ratio D
MethodParameters:
Name Flags
images final
private void lambda$0(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.ImageCursor.invalidateCurrentFrame:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/ImageCursor;
0 1 1 valueModel Ljavafx/beans/Observable;
}
SourceFile: "ImageCursor.java"
NestMembers:
javafx.scene.ImageCursor$DelayedInitialization javafx.scene.ImageCursor$DoublePropertyImpl javafx.scene.ImageCursor$ObjectPropertyImpl
InnerClasses:
public abstract ImageAccessor = com.sun.javafx.tk.Toolkit$ImageAccessor of com.sun.javafx.tk.Toolkit
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final DelayedInitialization = javafx.scene.ImageCursor$DelayedInitialization of javafx.scene.ImageCursor
private final DoublePropertyImpl = javafx.scene.ImageCursor$DoublePropertyImpl of javafx.scene.ImageCursor
private final ObjectPropertyImpl = javafx.scene.ImageCursor$ObjectPropertyImpl of javafx.scene.ImageCursor