final class com.apple.eawt.event.GestureHandler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.apple.eawt.event.GestureHandler
super_class: java.lang.Object
{
private static final java.lang.String CLIENT_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.apple.eawt.event.internalGestureHandler"
static final int PHASE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int ROTATE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int MAGNIFY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int SWIPE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
final java.util.List<com.apple.eawt.event.GesturePhaseListener> phasers;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/apple/eawt/event/GesturePhaseListener;>;
final java.util.List<com.apple.eawt.event.RotationListener> rotaters;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/apple/eawt/event/RotationListener;>;
final java.util.List<com.apple.eawt.event.MagnificationListener> magnifiers;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/apple/eawt/event/MagnificationListener;>;
final java.util.List<com.apple.eawt.event.SwipeListener> swipers;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/apple/eawt/event/SwipeListener;>;
static void addGestureListenerTo(javax.swing.JComponent, com.apple.eawt.event.GestureListener);
descriptor: (Ljavax/swing/JComponent;Lcom/apple/eawt/event/GestureListener;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "com.apple.eawt.event.internalGestureHandler"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof com.apple.eawt.event.GestureHandler
ifeq 4
2: aload 2
checkcast com.apple.eawt.event.GestureHandler
aload 1
invokevirtual com.apple.eawt.event.GestureHandler.addListener:(Lcom/apple/eawt/event/GestureListener;)V
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
ifnull 5
return
5: StackMap locals:
StackMap stack:
new com.apple.eawt.event.GestureHandler
dup
invokespecial com.apple.eawt.event.GestureHandler.<init>:()V
astore 3
start local 3 6: aload 3
aload 1
invokevirtual com.apple.eawt.event.GestureHandler.addListener:(Lcom/apple/eawt/event/GestureListener;)V
7: aload 0
ldc "com.apple.eawt.event.internalGestureHandler"
aload 3
invokevirtual javax.swing.JComponent.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 component Ljavax/swing/JComponent;
0 9 1 listener Lcom/apple/eawt/event/GestureListener;
1 9 2 value Ljava/lang/Object;
6 9 3 newHandler Lcom/apple/eawt/event/GestureHandler;
MethodParameters:
Name Flags
component final
listener final
static void removeGestureListenerFrom(javax.swing.JComponent, com.apple.eawt.event.GestureListener);
descriptor: (Ljavax/swing/JComponent;Lcom/apple/eawt/event/GestureListener;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "com.apple.eawt.event.internalGestureHandler"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof com.apple.eawt.event.GestureHandler
ifne 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast com.apple.eawt.event.GestureHandler
aload 1
invokevirtual com.apple.eawt.event.GestureHandler.removeListener:(Lcom/apple/eawt/event/GestureListener;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 component Ljavax/swing/JComponent;
0 4 1 listener Lcom/apple/eawt/event/GestureListener;
1 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
component final
listener final
static void handleGestureFromNative(java.awt.Window, int, double, double, double, double);
descriptor: (Ljava/awt/Window;IDDDD)V
flags: (0x0008) ACC_STATIC
Code:
stack=13, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 0: aload 0
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
new com.apple.eawt.event.GestureHandler$1
dup
aload 0
dload 2
dload 4
iload 1
dload 6
dload 8
invokespecial com.apple.eawt.event.GestureHandler$1.<init>:(Ljava/awt/Window;DDIDD)V
invokestatic sun.awt.SunToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: return
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 3 0 window Ljava/awt/Window;
0 3 1 type I
0 3 2 x D
0 3 4 y D
0 3 6 a D
0 3 8 b D
MethodParameters:
Name Flags
window final
type final
x final
y final
a final
b final
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield com.apple.eawt.event.GestureHandler.phasers:Ljava/util/List;
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield com.apple.eawt.event.GestureHandler.rotaters:Ljava/util/List;
3: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield com.apple.eawt.event.GestureHandler.magnifiers:Ljava/util/List;
4: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield com.apple.eawt.event.GestureHandler.swipers:Ljava/util/List;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/eawt/event/GestureHandler;
void addListener(com.apple.eawt.event.GestureListener);
descriptor: (Lcom/apple/eawt/event/GestureListener;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.apple.eawt.event.GesturePhaseListener
ifeq 1
aload 0
getfield com.apple.eawt.event.GestureHandler.phasers:Ljava/util/List;
aload 1
checkcast com.apple.eawt.event.GesturePhaseListener
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: StackMap locals:
StackMap stack:
aload 1
instanceof com.apple.eawt.event.RotationListener
ifeq 2
aload 0
getfield com.apple.eawt.event.GestureHandler.rotaters:Ljava/util/List;
aload 1
checkcast com.apple.eawt.event.RotationListener
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.apple.eawt.event.MagnificationListener
ifeq 3
aload 0
getfield com.apple.eawt.event.GestureHandler.magnifiers:Ljava/util/List;
aload 1
checkcast com.apple.eawt.event.MagnificationListener
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 1
instanceof com.apple.eawt.event.SwipeListener
ifeq 4
aload 0
getfield com.apple.eawt.event.GestureHandler.swipers:Ljava/util/List;
aload 1
checkcast com.apple.eawt.event.SwipeListener
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/eawt/event/GestureHandler;
0 5 1 listener Lcom/apple/eawt/event/GestureListener;
MethodParameters:
Name Flags
listener final
void removeListener(com.apple.eawt.event.GestureListener);
descriptor: (Lcom/apple/eawt/event/GestureListener;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.eawt.event.GestureHandler.phasers:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield com.apple.eawt.event.GestureHandler.rotaters:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield com.apple.eawt.event.GestureHandler.magnifiers:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield com.apple.eawt.event.GestureHandler.swipers:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/eawt/event/GestureHandler;
0 5 1 listener Lcom/apple/eawt/event/GestureListener;
MethodParameters:
Name Flags
listener final
static com.apple.eawt.event.GestureHandler getHandlerForComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)Lcom/apple/eawt/event/GestureHandler;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
instanceof javax.swing.JComponent
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
checkcast javax.swing.JComponent
ldc "com.apple.eawt.event.internalGestureHandler"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 2: aload 1
instanceof com.apple.eawt.event.GestureHandler
ifne 3
aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
checkcast com.apple.eawt.event.GestureHandler
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljava/awt/Component;
2 4 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
c final
static com.apple.eawt.event.GestureHandler$PerComponentNotifier getNextNotifierForComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)Lcom/apple/eawt/event/GestureHandler$PerComponentNotifier;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokestatic com.apple.eawt.event.GestureHandler.getHandlerForComponent:(Ljava/awt/Component;)Lcom/apple/eawt/event/GestureHandler;
astore 1
start local 1 2: aload 1
ifnull 4
3: new com.apple.eawt.event.GestureHandler$PerComponentNotifier
dup
aload 0
aload 1
invokespecial com.apple.eawt.event.GestureHandler$PerComponentNotifier.<init>:(Ljava/awt/Component;Lcom/apple/eawt/event/GestureHandler;)V
areturn
4: StackMap locals: com.apple.eawt.event.GestureHandler
StackMap stack:
aload 0
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
invokestatic com.apple.eawt.event.GestureHandler.getNextNotifierForComponent:(Ljava/awt/Component;)Lcom/apple/eawt/event/GestureHandler$PerComponentNotifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c Ljava/awt/Component;
2 5 1 handler Lcom/apple/eawt/event/GestureHandler;
MethodParameters:
Name Flags
c final
}
SourceFile: "GestureHandler.java"
NestMembers:
com.apple.eawt.event.GestureHandler$1 com.apple.eawt.event.GestureHandler$PerComponentNotifier
InnerClasses:
com.apple.eawt.event.GestureHandler$1
PerComponentNotifier = com.apple.eawt.event.GestureHandler$PerComponentNotifier of com.apple.eawt.event.GestureHandler