class javax.swing.plaf.basic.DragRecognitionSupport
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.DragRecognitionSupport
super_class: java.lang.Object
{
private int motionThreshold;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.event.MouseEvent dndArmedEvent;
descriptor: Ljava/awt/event/MouseEvent;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComponent component;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
private static javax.swing.plaf.basic.DragRecognitionSupport getDragRecognitionSupport();
descriptor: ()Ljavax/swing/plaf/basic/DragRecognitionSupport;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
1: ldc Ljavax/swing/plaf/basic/DragRecognitionSupport;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
2: checkcast javax.swing.plaf.basic.DragRecognitionSupport
3: astore 0
start local 0 4: aload 0
ifnonnull 7
5: new javax.swing.plaf.basic.DragRecognitionSupport
dup
invokespecial javax.swing.plaf.basic.DragRecognitionSupport.<init>:()V
astore 0
6: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
ldc Ljavax/swing/plaf/basic/DragRecognitionSupport;
aload 0
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: javax.swing.plaf.basic.DragRecognitionSupport
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
4 8 0 support Ljavax/swing/plaf/basic/DragRecognitionSupport;
public static boolean mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic javax.swing.plaf.basic.DragRecognitionSupport.getDragRecognitionSupport:()Ljavax/swing/plaf/basic/DragRecognitionSupport;
aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.mousePressedImpl:(Ljava/awt/event/MouseEvent;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
me
public static java.awt.event.MouseEvent mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Ljava/awt/event/MouseEvent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic javax.swing.plaf.basic.DragRecognitionSupport.getDragRecognitionSupport:()Ljavax/swing/plaf/basic/DragRecognitionSupport;
aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.mouseReleasedImpl:(Ljava/awt/event/MouseEvent;)Ljava/awt/event/MouseEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
me
public static boolean mouseDragged(java.awt.event.MouseEvent, javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag);
descriptor: (Ljava/awt/event/MouseEvent;Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic javax.swing.plaf.basic.DragRecognitionSupport.getDragRecognitionSupport:()Ljavax/swing/plaf/basic/DragRecognitionSupport;
aload 0
aload 1
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.mouseDraggedImpl:(Ljava/awt/event/MouseEvent;Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 me Ljava/awt/event/MouseEvent;
0 1 1 bd Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;
MethodParameters:
Name Flags
me
bd
private void clearState();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
1: aload 0
aconst_null
putfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
private int mapDragOperationFromModifiers(java.awt.event.MouseEvent, javax.swing.TransferHandler);
descriptor: (Ljava/awt/event/MouseEvent;Ljavax/swing/TransferHandler;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getModifiersEx:()I
3: aload 2
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
invokevirtual javax.swing.TransferHandler.getSourceActions:(Ljavax/swing/JComponent;)I
4: invokestatic sun.awt.dnd.SunDragSourceContextPeer.convertModifiersToDropAction:(II)I
5: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
0 6 1 me Ljava/awt/event/MouseEvent;
0 6 2 th Ljavax/swing/TransferHandler;
MethodParameters:
Name Flags
me
th
private boolean mousePressedImpl(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JComponent
putfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
1: aload 0
aload 1
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
invokevirtual javax.swing.JComponent.getTransferHandler:()Ljavax/swing/TransferHandler;
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.mapDragOperationFromModifiers:(Ljava/awt/event/MouseEvent;Ljavax/swing/TransferHandler;)I
ifeq 5
2: aload 0
invokestatic java.awt.dnd.DragSource.getDragThreshold:()I
putfield javax.swing.plaf.basic.DragRecognitionSupport.motionThreshold:I
3: aload 0
aload 1
putfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.clearState:()V
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
0 7 1 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
me
private java.awt.event.MouseEvent mouseReleasedImpl(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Ljava/awt/event/MouseEvent;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
if_acmpne 5
4: aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
astore 2
5: StackMap locals: java.awt.event.MouseEvent
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.clearState:()V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
0 7 1 me Ljava/awt/event/MouseEvent;
3 7 2 retEvent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
me
private boolean mouseDraggedImpl(java.awt.event.MouseEvent, javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag);
descriptor: (Ljava/awt/event/MouseEvent;Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
if_acmpeq 5
3: aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.clearState:()V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getX:()I
isub
invokestatic java.lang.Math.abs:(I)I
istore 3
start local 3 6: aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getY:()I
isub
invokestatic java.lang.Math.abs:(I)I
istore 4
start local 4 7: iload 3
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.motionThreshold:I
if_icmpgt 8
iload 4
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.motionThreshold:I
if_icmple 15
8: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
invokevirtual javax.swing.JComponent.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 5
start local 5 9: aload 0
aload 1
aload 5
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.mapDragOperationFromModifiers:(Ljava/awt/event/MouseEvent;Ljavax/swing/TransferHandler;)I
istore 6
start local 6 10: iload 6
ifeq 15
11: aload 2
ifnull 13
12: aload 2
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
invokeinterface javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag.dragStarting:(Ljava/awt/event/MouseEvent;)V
13: StackMap locals: javax.swing.TransferHandler int
StackMap stack:
aload 5
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.component:Ljavax/swing/JComponent;
aload 0
getfield javax.swing.plaf.basic.DragRecognitionSupport.dndArmedEvent:Ljava/awt/event/MouseEvent;
iload 6
invokevirtual javax.swing.TransferHandler.exportAsDrag:(Ljavax/swing/JComponent;Ljava/awt/event/InputEvent;I)V
14: aload 0
invokevirtual javax.swing.plaf.basic.DragRecognitionSupport.clearState:()V
end local 6 end local 5 15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/plaf/basic/DragRecognitionSupport;
0 16 1 me Ljava/awt/event/MouseEvent;
0 16 2 bd Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;
6 16 3 dx I
7 16 4 dy I
9 15 5 th Ljavax/swing/TransferHandler;
10 15 6 action I
MethodParameters:
Name Flags
me
bd
}
SourceFile: "DragRecognitionSupport.java"
NestMembers:
javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag
InnerClasses:
public abstract BeforeDrag = javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag of javax.swing.plaf.basic.DragRecognitionSupport