class com.sun.javafx.tk.quantum.SwipeGestureRecognizer implements com.sun.javafx.tk.quantum.GestureRecognizer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.tk.quantum.SwipeGestureRecognizer
super_class: java.lang.Object
{
private static final double TANGENT_30_DEGREES;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.577
private static final double TANGENT_45_DEGREES;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0
private static final boolean VERBOSE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final double DISTANCE_THRESHOLD;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10.0
private static final double BACKWARD_DISTANCE_THRASHOLD;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5.0
private com.sun.javafx.tk.quantum.SwipeGestureRecognizer$SwipeRecognitionState state;
descriptor: Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$SwipeRecognitionState;
flags: (0x0002) ACC_PRIVATE
com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker tracker;
descriptor: Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
flags: (0x0000)
private com.sun.javafx.tk.quantum.ViewScene scene;
descriptor: Lcom/sun/javafx/tk/quantum/ViewScene;
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.javafx.tk.quantum.ViewScene);
descriptor: (Lcom/sun/javafx/tk/quantum/ViewScene;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.sun.javafx.tk.quantum.SwipeGestureRecognizer$SwipeRecognitionState.IDLE:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$SwipeRecognitionState;
putfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.state:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$SwipeRecognitionState;
2: aload 0
new com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker
dup
aload 0
invokespecial com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker.<init>:(Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;)V
putfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.tracker:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
3: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.scene:Lcom/sun/javafx/tk/quantum/ViewScene;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
0 5 1 scene Lcom/sun/javafx/tk/quantum/ViewScene;
MethodParameters:
Name Flags
scene final
public void notifyBeginTouchEvent(long, int, boolean, int);
descriptor: (JIZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.tracker:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
iload 3
iload 4
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker.params:(IZ)V
1: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
0 2 1 time J
0 2 3 modifiers I
0 2 4 isDirect Z
0 2 5 touchEventCount I
MethodParameters:
Name Flags
time
modifiers
isDirect
touchEventCount
public void notifyNextTouchEvent(long, int, long, int, int, int, int);
descriptor: (JIJIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=8
start local 0 start local 1 start local 3 start local 4 start local 6 start local 7 start local 8 start local 9 0: iload 3
tableswitch { // 811 - 814
811: 1
812: 3
813: 5
814: 3
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.tracker:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
lload 4
lload 1
iload 6
iload 7
iload 8
iload 9
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker.pressed:(JJIIII)V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.tracker:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
lload 4
lload 1
iload 8
iload 9
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker.progress:(JJII)V
4: goto 10
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.tracker:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$MultiTouchTracker;
lload 4
lload 1
iload 6
iload 7
iload 8
iload 9
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker.released:(JJIIII)V
6: goto 10
7: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Error in swipe gesture recognition: unknown touch state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.state:Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$SwipeRecognitionState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
0 11 1 time J
0 11 3 type I
0 11 4 touchId J
0 11 6 x I
0 11 7 y I
0 11 8 xAbs I
0 11 9 yAbs I
MethodParameters:
Name Flags
time
type
touchId
x
y
xAbs
yAbs
public void notifyEndTouchEvent(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, 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/javafx/tk/quantum/SwipeGestureRecognizer;
0 1 1 time J
MethodParameters:
Name Flags
time
private javafx.event.EventType<javafx.scene.input.SwipeEvent> calcSwipeType(com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker);
descriptor: (Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$TouchPointTracker;)Ljavafx/event/EventType;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=24, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.getDistanceX:()D
dstore 2
start local 2 1: aload 1
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.getDistanceY:()D
dstore 4
start local 4 2: dload 2
invokestatic java.lang.Math.abs:(D)D
dstore 6
start local 6 3: dload 4
invokestatic java.lang.Math.abs:(D)D
dstore 8
start local 8 4: dload 6
dload 8
dcmpl
ifle 5
iconst_1
goto 6
StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker double double double double
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 10
start local 10 7: iload 10
ifeq 8
dload 2
goto 9
StackMap locals: int
StackMap stack:
8: dload 4
StackMap locals:
StackMap stack: double
9: dstore 11
start local 11 10: iload 10
ifeq 11
dload 6
goto 12
StackMap locals: double
StackMap stack:
11: dload 8
StackMap locals:
StackMap stack: double
12: dstore 13
start local 13 13: iload 10
ifeq 14
dload 8
goto 15
StackMap locals: double
StackMap stack:
14: dload 6
StackMap locals:
StackMap stack: double
15: dstore 15
start local 15 16: iload 10
ifeq 18
17: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.lengthX:D
goto 19
StackMap locals: double
StackMap stack:
18: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.lengthY:D
19: StackMap locals:
StackMap stack: double
dstore 17
start local 17 20: iload 10
ifeq 22
21: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.maxDeviationY:D
goto 23
StackMap locals: double
StackMap stack:
22: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.maxDeviationX:D
23: StackMap locals:
StackMap stack: double
dstore 19
start local 19 24: iload 10
ifeq 26
25: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.lastXMovement:D
goto 27
StackMap locals: double
StackMap stack:
26: aload 1
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.lastYMovement:D
27: StackMap locals:
StackMap stack: double
dstore 21
start local 21 28: dload 13
ldc 10.0
dcmpg
ifgt 30
29: aconst_null
areturn
30: StackMap locals: double
StackMap stack:
dload 15
dload 13
ldc 0.577
dmul
dcmpl
ifle 32
31: aconst_null
areturn
32: StackMap locals:
StackMap stack:
dload 19
dload 13
dconst_1
dmul
dcmpl
ifle 34
33: aconst_null
areturn
34: StackMap locals:
StackMap stack:
ldc "com.sun.javafx.gestures.swipe.maxduration"
sipush 300
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 23
start local 23 35: aload 1
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.getDuration:()J
iload 23
i2l
lcmp
ifle 37
36: aconst_null
areturn
37: StackMap locals: int
StackMap stack:
dload 17
dload 13
ldc 1.5
dmul
dcmpl
ifle 39
38: aconst_null
areturn
39: StackMap locals:
StackMap stack:
dload 11
invokestatic java.lang.Math.signum:(D)D
dload 21
invokestatic java.lang.Math.signum:(D)D
dcmpl
ifeq 42
40: dload 21
invokestatic java.lang.Math.abs:(D)D
ldc 5.0
dcmpl
ifle 42
41: aconst_null
areturn
42: StackMap locals:
StackMap stack:
iload 10
ifeq 47
43: aload 1
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.getDistanceX:()D
dconst_0
dcmpg
ifge 45
44: getstatic javafx.scene.input.SwipeEvent.SWIPE_LEFT:Ljavafx/event/EventType;
goto 46
StackMap locals:
StackMap stack:
45: getstatic javafx.scene.input.SwipeEvent.SWIPE_RIGHT:Ljavafx/event/EventType;
46: StackMap locals:
StackMap stack: javafx.event.EventType
areturn
47: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker.getDistanceY:()D
dconst_0
dcmpg
ifge 49
48: getstatic javafx.scene.input.SwipeEvent.SWIPE_UP:Ljavafx/event/EventType;
goto 50
StackMap locals:
StackMap stack:
49: getstatic javafx.scene.input.SwipeEvent.SWIPE_DOWN:Ljavafx/event/EventType;
50: StackMap locals:
StackMap stack: javafx.event.EventType
areturn
end local 23 end local 21 end local 19 end local 17 end local 15 end local 13 end local 11 end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
0 51 1 tracker Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$TouchPointTracker;
1 51 2 distanceX D
2 51 4 distanceY D
3 51 6 absDistanceX D
4 51 8 absDistanceY D
7 51 10 horizontal Z
10 51 11 primaryDistance D
13 51 13 absPrimaryDistance D
16 51 15 absSecondaryDistance D
20 51 17 absPrimaryLength D
24 51 19 maxSecondaryDeviation D
28 51 21 lastPrimaryMovement D
35 51 23 swipeMaxDuration I
Signature: (Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$TouchPointTracker;)Ljavafx/event/EventType<Ljavafx/scene/input/SwipeEvent;>;
MethodParameters:
Name Flags
tracker
private void handleSwipeType(javafx.event.EventType<javafx.scene.input.SwipeEvent>, com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer, int, int, );
descriptor: (Ljavafx/event/EventType;Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;IIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
aload 2
iload 4
iload 5
invokedynamic run(Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;Ljavafx/event/EventType;ILcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;IZ)Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
com/sun/javafx/tk/quantum/SwipeGestureRecognizer.lambda$0(Ljavafx/event/EventType;ILcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;IZ)Ljava/lang/Void; (7)
()Ljava/lang/Void;
3: aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.scene:Lcom/sun/javafx/tk/quantum/ViewScene;
invokevirtual com.sun.javafx.tk.quantum.ViewScene.getAccessControlContext:()Ljava/security/AccessControlContext;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
5: 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 6 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
0 6 1 swipeType Ljavafx/event/EventType<Ljavafx/scene/input/SwipeEvent;>;
0 6 2 cc Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;
0 6 3 touchCount I
0 6 4 modifiers I
0 6 5 isDirect Z
Signature: (Ljavafx/event/EventType<Ljavafx/scene/input/SwipeEvent;>;Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;IIZ)V
MethodParameters:
Name Flags
swipeType final
cc final
touchCount final
modifiers final
isDirect final
private java.lang.Void lambda$0(javafx.event.EventType, int, com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer, int, boolean);
descriptor: (Ljavafx/event/EventType;ILcom/sun/javafx/tk/quantum/SwipeGestureRecognizer$CenterComputer;IZ)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=16, locals=6, args_size=6
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.scene:Lcom/sun/javafx/tk/quantum/ViewScene;
getfield com.sun.javafx.tk.quantum.ViewScene.sceneListener:Lcom/sun/javafx/tk/TKSceneListener;
ifnull 14
1: aload 0
getfield com.sun.javafx.tk.quantum.SwipeGestureRecognizer.scene:Lcom/sun/javafx/tk/quantum/ViewScene;
getfield com.sun.javafx.tk.quantum.ViewScene.sceneListener:Lcom/sun/javafx/tk/TKSceneListener;
aload 1
iload 2
2: aload 3
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer.getX:()D
aload 3
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer.getY:()D
3: aload 3
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer.getAbsX:()D
aload 3
invokevirtual com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer.getAbsY:()D
4: iload 4
iconst_1
iand
ifeq 5
iconst_1
goto 6
StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double
5: iconst_0
6: StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int
iload 4
iconst_4
iand
ifeq 7
iconst_1
goto 8
StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int
7: iconst_0
8: StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int int
iload 4
bipush 8
iand
ifeq 9
iconst_1
goto 10
StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int int
9: iconst_0
10: StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int int int
iload 4
bipush 16
iand
ifeq 11
iconst_1
goto 12
StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int int int
11: iconst_0
12: StackMap locals: com.sun.javafx.tk.quantum.SwipeGestureRecognizer javafx.event.EventType int com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer int int
StackMap stack: com.sun.javafx.tk.TKSceneListener javafx.event.EventType int double double double double int int int int
iload 5
13: invokeinterface com.sun.javafx.tk.TKSceneListener.swipeEvent:(Ljavafx/event/EventType;IDDDDZZZZZ)V
14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/javafx/tk/quantum/SwipeGestureRecognizer;
}
SourceFile: "SwipeGestureRecognizer.java"
NestMembers:
com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker com.sun.javafx.tk.quantum.SwipeGestureRecognizer$SwipeRecognitionState com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker
InnerClasses:
private CenterComputer = com.sun.javafx.tk.quantum.SwipeGestureRecognizer$CenterComputer of com.sun.javafx.tk.quantum.SwipeGestureRecognizer
private MultiTouchTracker = com.sun.javafx.tk.quantum.SwipeGestureRecognizer$MultiTouchTracker of com.sun.javafx.tk.quantum.SwipeGestureRecognizer
private final SwipeRecognitionState = com.sun.javafx.tk.quantum.SwipeGestureRecognizer$SwipeRecognitionState of com.sun.javafx.tk.quantum.SwipeGestureRecognizer
private TouchPointTracker = com.sun.javafx.tk.quantum.SwipeGestureRecognizer$TouchPointTracker of com.sun.javafx.tk.quantum.SwipeGestureRecognizer
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles