class javafx.scene.Scene$ClickCounter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.Scene$ClickCounter
super_class: java.lang.Object
{
com.sun.javafx.tk.Toolkit toolkit;
descriptor: Lcom/sun/javafx/tk/Toolkit;
flags: (0x0000)
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean out;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean still;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javafx.animation.Timeline timeout;
descriptor: Ljavafx/animation/Timeline;
flags: (0x0002) ACC_PRIVATE
private double pressedX;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double pressedY;
descriptor: D
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
putfield javafx.scene.Scene$ClickCounter.toolkit:Lcom/sun/javafx/tk/Toolkit;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/Scene$ClickCounter;
private void inc();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javafx.scene.Scene$ClickCounter.count:I
iconst_1
iadd
putfield javafx.scene.Scene$ClickCounter.count:I
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/Scene$ClickCounter;
private int get();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.Scene$ClickCounter.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/Scene$ClickCounter;
private boolean isStill();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.Scene$ClickCounter.still:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/Scene$ClickCounter;
private void clear();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield javafx.scene.Scene$ClickCounter.count:I
1: aload 0
invokevirtual javafx.scene.Scene$ClickCounter.stopTimeout:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/Scene$ClickCounter;
private void out();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield javafx.scene.Scene$ClickCounter.out:Z
1: aload 0
invokevirtual javafx.scene.Scene$ClickCounter.stopTimeout:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/Scene$ClickCounter;
private void applyOut();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.Scene$ClickCounter.out:Z
ifeq 1
aload 0
invokevirtual javafx.scene.Scene$ClickCounter.clear:()V
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javafx.scene.Scene$ClickCounter.out:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/Scene$ClickCounter;
private void moved(double, double);
descriptor: (DD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 1
aload 0
getfield javafx.scene.Scene$ClickCounter.pressedX:D
dsub
invokestatic java.lang.Math.abs:(D)D
aload 0
getfield javafx.scene.Scene$ClickCounter.toolkit:Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getMultiClickMaxX:()I
i2d
dcmpl
ifgt 2
1: dload 3
aload 0
getfield javafx.scene.Scene$ClickCounter.pressedY:D
dsub
invokestatic java.lang.Math.abs:(D)D
aload 0
getfield javafx.scene.Scene$ClickCounter.toolkit:Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getMultiClickMaxY:()I
i2d
dcmpl
ifle 4
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.Scene$ClickCounter.out:()V
3: aload 0
iconst_0
putfield javafx.scene.Scene$ClickCounter.still:Z
4: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/Scene$ClickCounter;
0 5 1 x D
0 5 3 y D
MethodParameters:
Name Flags
x
y
private void start(double, double);
descriptor: (DD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
putfield javafx.scene.Scene$ClickCounter.pressedX:D
1: aload 0
dload 3
putfield javafx.scene.Scene$ClickCounter.pressedY:D
2: aload 0
iconst_0
putfield javafx.scene.Scene$ClickCounter.out:Z
3: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
ifnull 5
4: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
invokevirtual javafx.animation.Timeline.stop:()V
5: StackMap locals:
StackMap stack:
aload 0
new javafx.animation.Timeline
dup
invokespecial javafx.animation.Timeline.<init>:()V
putfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
6: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
invokevirtual javafx.animation.Timeline.getKeyFrames:()Ljavafx/collections/ObservableList;
7: new javafx.animation.KeyFrame
dup
new javafx.util.Duration
dup
aload 0
getfield javafx.scene.Scene$ClickCounter.toolkit:Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getMultiClickTime:()J
l2d
invokespecial javafx.util.Duration.<init>:(D)V
8: aload 0
invokedynamic handle(Ljavafx/scene/Scene$ClickCounter;)Ljavafx/event/EventHandler;
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/event/Event;)V
javafx/scene/Scene$ClickCounter.lambda$0(Ljavafx/event/ActionEvent;)V (7)
(Ljavafx/event/ActionEvent;)V
9: iconst_0
anewarray javafx.animation.KeyValue
invokespecial javafx.animation.KeyFrame.<init>:(Ljavafx/util/Duration;Ljavafx/event/EventHandler;[Ljavafx/animation/KeyValue;)V
10: invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
11: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
invokevirtual javafx.animation.Timeline.play:()V
12: aload 0
iconst_1
putfield javafx.scene.Scene$ClickCounter.still:Z
13: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/scene/Scene$ClickCounter;
0 14 1 x D
0 14 3 y D
MethodParameters:
Name Flags
x
y
private void stopTimeout();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
ifnull 3
1: aload 0
getfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
invokevirtual javafx.animation.Timeline.stop:()V
2: aload 0
aconst_null
putfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/Scene$ClickCounter;
private void lambda$0(javafx.event.ActionEvent);
descriptor: (Ljavafx/event/ActionEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield javafx.scene.Scene$ClickCounter.out:Z
1: aload 0
aconst_null
putfield javafx.scene.Scene$ClickCounter.timeout:Ljavafx/animation/Timeline;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/Scene$ClickCounter;
0 3 1 event Ljavafx/event/ActionEvent;
}
SourceFile: "Scene.java"
NestHost: javafx.scene.Scene
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
ClickCounter = javafx.scene.Scene$ClickCounter of javafx.scene.Scene