public class javafx.scene.image.WritableImage extends javafx.scene.image.Image
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.scene.image.WritableImage
super_class: javafx.scene.image.Image
{
private com.sun.javafx.tk.ImageLoader tkImageLoader;
descriptor: Lcom/sun/javafx/tk/ImageLoader;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.image.PixelBuffer<? extends java.nio.Buffer> pixelBuffer;
descriptor: Ljavafx/scene/image/PixelBuffer;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;
private javafx.scene.image.PixelWriter writer;
descriptor: Ljavafx/scene/image/PixelWriter;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javafx.scene.image.WritableImage$1
dup
invokespecial javafx.scene.image.WritableImage$1.<init>:()V
invokestatic com.sun.javafx.tk.Toolkit.setWritableImageAccessor:(Lcom/sun/javafx/tk/Toolkit$WritableImageAccessor;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial javafx.scene.image.Image.<init>:(II)V
1: aload 0
aconst_null
putfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/WritableImage;
0 3 1 width I
0 3 2 height I
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "width")
1:
javafx.beans.NamedArg(value = "height")
MethodParameters:
Name Flags
width
height
public void <init>(javafx.scene.image.PixelBuffer<? extends java.nio.Buffer>);
descriptor: (Ljavafx/scene/image/PixelBuffer;)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 javafx.scene.image.WritableImage.validatePixelBuffer:(Ljavafx/scene/image/PixelBuffer;)Ljavafx/scene/image/PixelBuffer;
invokespecial javafx.scene.image.Image.<init>:(Ljavafx/scene/image/PixelBuffer;)V
1: aload 0
aconst_null
putfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
2: aload 1
aload 0
invokevirtual javafx.scene.image.PixelBuffer.addImage:(Ljavafx/scene/image/WritableImage;)V
3: aload 0
aload 1
putfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/image/WritableImage;
0 5 1 pixelBuffer Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;
Signature: (Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "PixelBuffer")
MethodParameters:
Name Flags
pixelBuffer
public void <init>(javafx.scene.image.PixelReader, int, int);
descriptor: (Ljavafx/scene/image/PixelReader;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
iload 3
invokespecial javafx.scene.image.Image.<init>:(II)V
1: aload 0
aconst_null
putfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
2: aload 0
invokevirtual javafx.scene.image.WritableImage.getPixelWriter:()Ljavafx/scene/image/PixelWriter;
iconst_0
iconst_0
iload 2
iload 3
aload 1
iconst_0
iconst_0
invokeinterface javafx.scene.image.PixelWriter.setPixels:(IIIILjavafx/scene/image/PixelReader;II)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 Ljavafx/scene/image/WritableImage;
0 4 1 reader Ljavafx/scene/image/PixelReader;
0 4 2 width I
0 4 3 height I
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "reader")
1:
javafx.beans.NamedArg(value = "width")
2:
javafx.beans.NamedArg(value = "height")
MethodParameters:
Name Flags
reader
width
height
public void <init>(javafx.scene.image.PixelReader, int, int, int, int);
descriptor: (Ljavafx/scene/image/PixelReader;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 4
iload 5
invokespecial javafx.scene.image.Image.<init>:(II)V
1: aload 0
aconst_null
putfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
2: aload 0
invokevirtual javafx.scene.image.WritableImage.getPixelWriter:()Ljavafx/scene/image/PixelWriter;
iconst_0
iconst_0
iload 4
iload 5
aload 1
iload 2
iload 3
invokeinterface javafx.scene.image.PixelWriter.setPixels:(IIIILjavafx/scene/image/PixelReader;II)V
3: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/image/WritableImage;
0 4 1 reader Ljavafx/scene/image/PixelReader;
0 4 2 x I
0 4 3 y I
0 4 4 width I
0 4 5 height I
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "reader")
1:
javafx.beans.NamedArg(value = "x")
2:
javafx.beans.NamedArg(value = "y")
3:
javafx.beans.NamedArg(value = "width")
4:
javafx.beans.NamedArg(value = "height")
MethodParameters:
Name Flags
reader
x
y
width
height
boolean isAnimation();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/image/WritableImage;
boolean pixelsReadable();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/image/WritableImage;
void bufferDirty(com.sun.javafx.geom.Rectangle);
descriptor: (Lcom/sun/javafx/geom/Rectangle;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.image.WritableImage.getWritablePlatformImage:()Lcom/sun/javafx/tk/PlatformImage;
aload 1
invokeinterface com.sun.javafx.tk.PlatformImage.bufferDirty:(Lcom/sun/javafx/geom/Rectangle;)V
1: aload 0
invokevirtual javafx.scene.image.WritableImage.pixelsDirty:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/WritableImage;
0 3 1 rect Lcom/sun/javafx/geom/Rectangle;
MethodParameters:
Name Flags
rect
private static javafx.scene.image.PixelBuffer<? extends java.nio.Buffer> validatePixelBuffer(javafx.scene.image.PixelBuffer<? extends java.nio.Buffer>);
descriptor: (Ljavafx/scene/image/PixelBuffer;)Ljavafx/scene/image/PixelBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "pixelBuffer must not be null."
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast javafx.scene.image.PixelBuffer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pixelBuffer Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;
Signature: (Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;)Ljavafx/scene/image/PixelBuffer<+Ljava/nio/Buffer;>;
MethodParameters:
Name Flags
pixelBuffer
public final javafx.scene.image.PixelWriter getPixelWriter();
descriptor: ()Ljavafx/scene/image/PixelWriter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.image.WritableImage.pixelBuffer:Ljavafx/scene/image/PixelBuffer;
ifnull 2
1: new java.lang.UnsupportedOperationException
dup
ldc "PixelWriter is not supported with PixelBuffer"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.image.WritableImage.getProgress:()D
dconst_1
dcmpg
iflt 3
aload 0
invokevirtual javafx.scene.image.WritableImage.isError:()Z
ifeq 4
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.image.WritableImage.writer:Ljavafx/scene/image/PixelWriter;
ifnonnull 6
5: aload 0
new javafx.scene.image.WritableImage$2
dup
aload 0
invokespecial javafx.scene.image.WritableImage$2.<init>:(Ljavafx/scene/image/WritableImage;)V
putfield javafx.scene.image.WritableImage.writer:Ljavafx/scene/image/PixelWriter;
6: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.image.WritableImage.writer:Ljavafx/scene/image/PixelWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/image/WritableImage;
private void loadTkImage(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.javafx.tk.ImageLoader
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized image loader: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.javafx.tk.ImageLoader
astore 2
start local 2 5: aload 2
invokeinterface com.sun.javafx.tk.ImageLoader.getWidth:()D
aload 0
invokevirtual javafx.scene.image.WritableImage.getWidth:()D
d2i
i2d
dcmpl
ifne 7
6: aload 2
invokeinterface com.sun.javafx.tk.ImageLoader.getHeight:()D
aload 0
invokevirtual javafx.scene.image.WritableImage.getHeight:()D
d2i
i2d
dcmpl
ifeq 8
7: StackMap locals: com.sun.javafx.tk.ImageLoader
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Size of loader does not match size of image"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
invokeinterface com.sun.javafx.tk.ImageLoader.getFrame:(I)Lcom/sun/javafx/tk/PlatformImage;
invokespecial javafx.scene.image.Image.setPlatformImage:(Lcom/sun/javafx/tk/PlatformImage;)V
9: aload 0
aload 2
putfield javafx.scene.image.WritableImage.tkImageLoader:Lcom/sun/javafx/tk/ImageLoader;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavafx/scene/image/WritableImage;
0 11 1 loader Ljava/lang/Object;
5 11 2 tkLoader Lcom/sun/javafx/tk/ImageLoader;
MethodParameters:
Name Flags
loader
private java.lang.Object getTkImageLoader();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.image.WritableImage.tkImageLoader:Lcom/sun/javafx/tk/ImageLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/image/WritableImage;
}
SourceFile: "WritableImage.java"
NestMembers:
javafx.scene.image.WritableImage$1 javafx.scene.image.WritableImage$2
InnerClasses:
public abstract WritableImageAccessor = com.sun.javafx.tk.Toolkit$WritableImageAccessor of com.sun.javafx.tk.Toolkit
javafx.scene.image.WritableImage$1
javafx.scene.image.WritableImage$2