class javax.swing.TransferHandler$DropHandler implements java.awt.dnd.DropTargetListener, java.io.Serializable, java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.TransferHandler$DropHandler
super_class: java.lang.Object
{
private javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
private java.awt.Point lastPosition;
descriptor: Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
private java.awt.Rectangle outer;
descriptor: Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
private java.awt.Rectangle inner;
descriptor: Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
private int hysteresis;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Component component;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object state;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private javax.swing.TransferHandler$TransferSupport support;
descriptor: Ljavax/swing/TransferHandler$TransferSupport;
flags: (0x0002) ACC_PRIVATE
private static final int AUTOSCROLL_INSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
2: aload 0
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
3: aload 0
bipush 10
putfield javax.swing.TransferHandler$DropHandler.hysteresis:I
4: aload 0
5: new javax.swing.TransferHandler$TransferSupport
dup
aconst_null
aconst_null
invokespecial javax.swing.TransferHandler$TransferSupport.<init>:(Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
putfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/TransferHandler$DropHandler;
private void updateAutoscrollRegion(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JComponent.getVisibleRect:()Ljava/awt/Rectangle;
astore 2
start local 2 1: aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Rectangle.setBounds:(IIII)V
2: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 3
start local 3 3: aload 1
instanceof javax.swing.Scrollable
ifeq 9
4: bipush 20
istore 4
start local 4 5: aload 2
getfield java.awt.Rectangle.width:I
iload 4
if_icmplt 7
6: aload 3
aload 3
bipush 10
dup_x1
putfield java.awt.Insets.right:I
putfield java.awt.Insets.left:I
7: StackMap locals: java.awt.Rectangle java.awt.Insets int
StackMap stack:
aload 2
getfield java.awt.Rectangle.height:I
iload 4
if_icmplt 9
8: aload 3
aload 3
bipush 10
dup_x1
putfield java.awt.Insets.bottom:I
putfield java.awt.Insets.top:I
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
aload 2
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Insets.left:I
iadd
10: aload 2
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Insets.top:I
iadd
11: aload 2
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
isub
12: aload 2
getfield java.awt.Rectangle.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
isub
13: invokevirtual java.awt.Rectangle.setBounds:(IIII)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/TransferHandler$DropHandler;
0 15 1 c Ljavax/swing/JComponent;
1 15 2 visible Ljava/awt/Rectangle;
3 15 3 i Ljava/awt/Insets;
5 9 4 minSize I
MethodParameters:
Name Flags
c
private void autoscroll(javax.swing.JComponent, java.awt.Point);
descriptor: (Ljavax/swing/JComponent;Ljava/awt/Point;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.swing.Scrollable
ifeq 20
1: aload 1
checkcast javax.swing.Scrollable
astore 3
start local 3 2: aload 2
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
if_icmpge 7
3: aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
iconst_1
iconst_m1
invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
istore 4
start local 4 4: new java.awt.Rectangle
dup
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iload 4
isub
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iload 4
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 5
start local 5 5: aload 1
aload 5
invokevirtual javax.swing.JComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
end local 5 end local 4 6: goto 11
StackMap locals: javax.swing.Scrollable
StackMap stack:
7: aload 2
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
if_icmple 11
8: aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
iconst_1
iconst_1
invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
istore 4
start local 4 9: new java.awt.Rectangle
dup
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iload 4
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 5
start local 5 10: aload 1
aload 5
invokevirtual javax.swing.JComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 2
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
if_icmpge 16
12: aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
iconst_0
iconst_m1
invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
istore 4
start local 4 13: new java.awt.Rectangle
dup
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
iload 4
isub
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iload 4
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 5
start local 5 14: aload 1
aload 5
invokevirtual javax.swing.JComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
end local 5 end local 4 15: goto 20
StackMap locals:
StackMap stack:
16: aload 2
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
if_icmple 20
17: aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
iconst_0
iconst_1
invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
istore 4
start local 4 18: new java.awt.Rectangle
dup
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iload 4
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 5
start local 5 19: aload 1
aload 5
invokevirtual javax.swing.JComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
end local 5 end local 4 end local 3 20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/TransferHandler$DropHandler;
0 21 1 c Ljavax/swing/JComponent;
0 21 2 pos Ljava/awt/Point;
2 20 3 s Ljavax/swing/Scrollable;
4 6 4 dy I
5 6 5 r Ljava/awt/Rectangle;
9 11 4 dy I
10 11 5 r Ljava/awt/Rectangle;
13 15 4 dx I
14 15 5 r Ljava/awt/Rectangle;
18 20 4 dx I
19 20 5 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
c
pos
private void initPropertiesIfNecessary();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
ifnonnull 17
1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 2: aload 1
ldc "DnD.Autoscroll.interval"
invokevirtual java.awt.Toolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
3: checkcast java.lang.Integer
astore 2
start local 2 4: aload 0
5: new javax.swing.Timer
dup
aload 2
ifnonnull 6
bipush 100
goto 7
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.Toolkit java.lang.Integer
StackMap stack: javax.swing.TransferHandler$DropHandler new 5 new 5
6: aload 2
invokevirtual java.lang.Integer.intValue:()I
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.Toolkit java.lang.Integer
StackMap stack: javax.swing.TransferHandler$DropHandler new 5 new 5 int
7: aload 0
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
8: aload 1
ldc "DnD.Autoscroll.initialDelay"
invokevirtual java.awt.Toolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
9: checkcast java.lang.Integer
astore 2
10: aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
aload 2
ifnonnull 11
bipush 100
goto 12
StackMap locals:
StackMap stack: javax.swing.Timer
11: aload 2
invokevirtual java.lang.Integer.intValue:()I
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.Toolkit java.lang.Integer
StackMap stack: javax.swing.Timer int
12: invokevirtual javax.swing.Timer.setInitialDelay:(I)V
13: aload 1
ldc "DnD.Autoscroll.cursorHysteresis"
invokevirtual java.awt.Toolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
14: checkcast java.lang.Integer
astore 2
15: aload 2
ifnull 17
16: aload 0
aload 2
invokevirtual java.lang.Integer.intValue:()I
putfield javax.swing.TransferHandler$DropHandler.hysteresis:I
end local 2 end local 1 17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/TransferHandler$DropHandler;
2 17 1 t Ljava/awt/Toolkit;
4 17 2 prop Ljava/lang/Integer;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.JComponent
invokevirtual javax.swing.TransferHandler$DropHandler.updateAutoscrollRegion:(Ljavax/swing/JComponent;)V
1: aload 0
getfield javax.swing.TransferHandler$DropHandler.outer:Ljava/awt/Rectangle;
aload 0
getfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.inner:Ljava/awt/Rectangle;
aload 0
getfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifne 3
2: aload 0
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.JComponent
aload 0
getfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
invokevirtual javax.swing.TransferHandler$DropHandler.autoscroll:(Ljavax/swing/JComponent;Ljava/awt/Point;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/TransferHandler$DropHandler;
0 4 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e
private void setComponentDropLocation(javax.swing.TransferHandler$TransferSupport, boolean);
descriptor: (Ljavax/swing/TransferHandler$TransferSupport;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
goto 3
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.TransferHandler$TransferSupport.getDropLocation:()Ljavax/swing/TransferHandler$DropLocation;
3: StackMap locals:
StackMap stack: javax.swing.TransferHandler$DropLocation
astore 3
start local 3 4: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
ldc "javax.swing.text.JTextComponent"
invokestatic sun.awt.SunToolkit.isInstanceOf:(Ljava/lang/Object;Ljava/lang/String;)Z
ifeq 9
5: aload 0
invokestatic sun.swing.SwingAccessor.getJTextComponentAccessor:()Lsun/swing/SwingAccessor$JTextComponentAccessor;
6: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.text.JTextComponent
aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
iload 2
invokeinterface sun.swing.SwingAccessor$JTextComponentAccessor.setDropLocation:(Ljavax/swing/text/JTextComponent;Ljavax/swing/TransferHandler$DropLocation;Ljava/lang/Object;Z)Ljava/lang/Object;
7: putfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
8: goto 11
StackMap locals: javax.swing.TransferHandler$DropLocation
StackMap stack:
9: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
instanceof javax.swing.JComponent
ifeq 11
10: aload 0
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.JComponent
aload 3
aload 0
getfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
iload 2
invokevirtual javax.swing.JComponent.setDropLocation:(Ljavax/swing/TransferHandler$DropLocation;Ljava/lang/Object;Z)Ljava/lang/Object;
putfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/TransferHandler$DropHandler;
0 12 1 support Ljavax/swing/TransferHandler$TransferSupport;
0 12 2 forDrop Z
4 12 3 dropLocation Ljavax/swing/TransferHandler$DropLocation;
MethodParameters:
Name Flags
support
forDrop
private void handleDrag(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.TransferHandler$HasGetTransferHandler
invokeinterface javax.swing.TransferHandler$HasGetTransferHandler.getTransferHandler:()Ljavax/swing/TransferHandler;
1: astore 2
start local 2 2: aload 2
ifnonnull 6
3: aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.rejectDrag:()V
4: aload 0
aconst_null
iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.setComponentDropLocation:(Ljavax/swing/TransferHandler$TransferSupport;Z)V
5: return
6: StackMap locals: javax.swing.TransferHandler
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
aload 1
invokevirtual javax.swing.TransferHandler$TransferSupport.setDNDVariables:(Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
7: aload 2
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
invokevirtual javax.swing.TransferHandler.canImport:(Ljavax/swing/TransferHandler$TransferSupport;)Z
istore 3
start local 3 8: iload 3
ifeq 11
9: aload 1
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
invokevirtual javax.swing.TransferHandler$TransferSupport.getDropAction:()I
invokevirtual java.awt.dnd.DropTargetDragEvent.acceptDrag:(I)V
10: goto 12
11: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.rejectDrag:()V
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
getfield javax.swing.TransferHandler$TransferSupport.showDropLocationIsSet:Z
ifeq 14
13: aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
getfield javax.swing.TransferHandler$TransferSupport.showDropLocation:Z
goto 15
14: StackMap locals:
StackMap stack:
iload 3
15: StackMap locals:
StackMap stack: int
istore 4
start local 4 16: aload 0
iload 4
ifeq 17
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
goto 18
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.dnd.DropTargetDragEvent javax.swing.TransferHandler int int
StackMap stack: javax.swing.TransferHandler$DropHandler
17: aconst_null
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.dnd.DropTargetDragEvent javax.swing.TransferHandler int int
StackMap stack: javax.swing.TransferHandler$DropHandler javax.swing.TransferHandler$TransferSupport
18: iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.setComponentDropLocation:(Ljavax/swing/TransferHandler$TransferSupport;Z)V
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/TransferHandler$DropHandler;
0 20 1 e Ljava/awt/dnd/DropTargetDragEvent;
2 20 2 importer Ljavax/swing/TransferHandler;
8 20 3 canImport Z
16 20 4 showLocation Z
MethodParameters:
Name Flags
e
public void dragEnter(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
putfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
1: aload 0
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.getDropTargetContext:()Ljava/awt/dnd/DropTargetContext;
invokevirtual java.awt.dnd.DropTargetContext.getComponent:()Ljava/awt/Component;
putfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
2: aload 0
aload 1
invokevirtual javax.swing.TransferHandler$DropHandler.handleDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
3: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
instanceof javax.swing.JComponent
ifeq 7
4: aload 0
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.getLocation:()Ljava/awt/Point;
putfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
5: aload 0
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.JComponent
invokevirtual javax.swing.TransferHandler$DropHandler.updateAutoscrollRegion:(Ljavax/swing/JComponent;)V
6: aload 0
invokevirtual javax.swing.TransferHandler$DropHandler.initPropertiesIfNecessary:()V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/TransferHandler$DropHandler;
0 8 1 e Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
e
public void dragOver(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.TransferHandler$DropHandler.handleDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
1: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
instanceof javax.swing.JComponent
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DropTargetDragEvent.getLocation:()Ljava/awt/Point;
astore 2
start local 2 4: aload 2
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
getfield java.awt.Point.x:I
isub
invokestatic java.lang.Math.abs:(I)I
aload 0
getfield javax.swing.TransferHandler$DropHandler.hysteresis:I
if_icmpgt 6
5: aload 2
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
invokestatic java.lang.Math.abs:(I)I
aload 0
getfield javax.swing.TransferHandler$DropHandler.hysteresis:I
if_icmple 8
6: StackMap locals: java.awt.Point
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifeq 9
aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifne 9
aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
9: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/TransferHandler$DropHandler;
0 11 1 e Ljava/awt/dnd/DropTargetDragEvent;
4 11 2 p Ljava/awt/Point;
MethodParameters:
Name Flags
e
public void dragExit(java.awt.dnd.DropTargetEvent);
descriptor: (Ljava/awt/dnd/DropTargetEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.cleanup:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/TransferHandler$DropHandler;
0 2 1 e Ljava/awt/dnd/DropTargetEvent;
MethodParameters:
Name Flags
e
public void drop(java.awt.dnd.DropTargetDropEvent);
descriptor: (Ljava/awt/dnd/DropTargetDropEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.TransferHandler$HasGetTransferHandler
invokeinterface javax.swing.TransferHandler$HasGetTransferHandler.getTransferHandler:()Ljavax/swing/TransferHandler;
1: astore 2
start local 2 2: aload 2
ifnonnull 6
3: aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.rejectDrop:()V
4: aload 0
iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.cleanup:(Z)V
5: return
6: StackMap locals: javax.swing.TransferHandler
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
aload 1
invokevirtual javax.swing.TransferHandler$TransferSupport.setDNDVariables:(Ljava/awt/Component;Ljava/awt/dnd/DropTargetEvent;)V
7: aload 2
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
invokevirtual javax.swing.TransferHandler.canImport:(Ljavax/swing/TransferHandler$TransferSupport;)Z
istore 3
start local 3 8: iload 3
ifeq 24
9: aload 1
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
invokevirtual javax.swing.TransferHandler$TransferSupport.getDropAction:()I
invokevirtual java.awt.dnd.DropTargetDropEvent.acceptDrop:(I)V
10: aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
getfield javax.swing.TransferHandler$TransferSupport.showDropLocationIsSet:Z
ifeq 12
11: aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
getfield javax.swing.TransferHandler$TransferSupport.showDropLocation:Z
goto 13
12: StackMap locals: int
StackMap stack:
iload 3
13: StackMap locals:
StackMap stack: int
istore 4
start local 4 14: aload 0
iload 4
ifeq 15
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
goto 16
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.dnd.DropTargetDropEvent javax.swing.TransferHandler int int
StackMap stack: javax.swing.TransferHandler$DropHandler
15: aconst_null
StackMap locals: javax.swing.TransferHandler$DropHandler java.awt.dnd.DropTargetDropEvent javax.swing.TransferHandler int int
StackMap stack: javax.swing.TransferHandler$DropHandler javax.swing.TransferHandler$TransferSupport
16: iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.setComponentDropLocation:(Ljavax/swing/TransferHandler$TransferSupport;Z)V
17: aload 2
aload 0
getfield javax.swing.TransferHandler$DropHandler.support:Ljavax/swing/TransferHandler$TransferSupport;
invokevirtual javax.swing.TransferHandler.importData:(Ljavax/swing/TransferHandler$TransferSupport;)Z
istore 5
start local 5 18: goto 21
end local 5 StackMap locals:
StackMap stack: java.lang.RuntimeException
19: pop
20: iconst_0
istore 5
start local 5 21: StackMap locals: int
StackMap stack:
aload 1
iload 5
invokevirtual java.awt.dnd.DropTargetDropEvent.dropComplete:(Z)V
22: aload 0
iload 5
invokevirtual javax.swing.TransferHandler$DropHandler.cleanup:(Z)V
end local 5 end local 4 23: goto 26
24: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.dnd.DropTargetDropEvent.rejectDrop:()V
25: aload 0
iconst_0
invokevirtual javax.swing.TransferHandler$DropHandler.cleanup:(Z)V
26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/TransferHandler$DropHandler;
0 27 1 e Ljava/awt/dnd/DropTargetDropEvent;
2 27 2 importer Ljavax/swing/TransferHandler;
8 27 3 canImport Z
14 23 4 showLocation Z
18 19 5 success Z
21 23 5 success Z
Exception table:
from to target type
17 18 19 Class java.lang.RuntimeException
MethodParameters:
Name Flags
e
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent);
descriptor: (Ljava/awt/dnd/DropTargetDragEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.TransferHandler$DropHandler.handleDrag:(Ljava/awt/dnd/DropTargetDragEvent;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/TransferHandler$DropHandler;
0 4 1 e Ljava/awt/dnd/DropTargetDragEvent;
MethodParameters:
Name Flags
e
private void cleanup(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
iload 1
invokevirtual javax.swing.TransferHandler$DropHandler.setComponentDropLocation:(Ljavax/swing/TransferHandler$TransferSupport;Z)V
1: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
instanceof javax.swing.JComponent
ifeq 3
2: aload 0
getfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
checkcast javax.swing.JComponent
invokevirtual javax.swing.JComponent.dndDone:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
ifnull 5
4: aload 0
getfield javax.swing.TransferHandler$DropHandler.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.TransferHandler$DropHandler.state:Ljava/lang/Object;
6: aload 0
aconst_null
putfield javax.swing.TransferHandler$DropHandler.component:Ljava/awt/Component;
7: aload 0
aconst_null
putfield javax.swing.TransferHandler$DropHandler.lastPosition:Ljava/awt/Point;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/TransferHandler$DropHandler;
0 9 1 forDrop Z
MethodParameters:
Name Flags
forDrop
}
SourceFile: "TransferHandler.java"
NestHost: javax.swing.TransferHandler
InnerClasses:
private DropHandler = javax.swing.TransferHandler$DropHandler of javax.swing.TransferHandler
public DropLocation = javax.swing.TransferHandler$DropLocation of javax.swing.TransferHandler
abstract HasGetTransferHandler = javax.swing.TransferHandler$HasGetTransferHandler of javax.swing.TransferHandler
public final TransferSupport = javax.swing.TransferHandler$TransferSupport of javax.swing.TransferHandler
public abstract JTextComponentAccessor = sun.swing.SwingAccessor$JTextComponentAccessor of sun.swing.SwingAccessor